SunKit is a Swift library which uses math and trigonometry to compute several information about the Sun.
Sun is now a struct: users can no longer use Sun as a reference type. However, immutability is not enforced and functions like setDate and setLocation are now defined as mutating.
Sun initializer now accepts a Date parameter (defaults to Date()).
Sun now conforms to Identifiable, Equatable, Hashable, and Sendable protocols.
Utilities such as Angle, DMS, EclipticCoordinates, EquatorialCoordinates, HMS, and HorizonCoordinates now conform to Equatable, Hashable, Sendable, and Codable protocols.
If sunrise or morning twilight events: blue hour start/end, astronomical start/end, nautical start/end are below 1 AM, they will take back to 00:00 because irrelevant.
Minor changes to isNight variable. isAlwaysLight is now isAlwaysDay.
Fixed typos
Removed 'useSameTimeZone' dependency.