Skip to content

Commit

Permalink
Make getSunHorizonCoordinatesFrom function public (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
seldon1000 authored Mar 7, 2023
1 parent e0906e7 commit 147e290
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file not shown.
2 changes: 1 addition & 1 deletion Sources/SunKit/Sun.swift
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ public class Sun {

}

private func getSunHorizonCoordinatesFrom(date: Date) -> HorizonCoordinates {
public func getSunHorizonCoordinatesFrom(date: Date) -> HorizonCoordinates {
//Step1:
//Convert LCT to UT, GST, and LST times and adjust the date if needed
let utDate = lCT2UT(date, timeZoneInSeconds: self.timeZoneInSeconds)
Expand Down

0 comments on commit 147e290

Please sign in to comment.