onekiloparsec / SwiftAA

The most comprehensive collection of accurate astronomical algorithms in (C++, Objective-C and) Swift.
http://www.onekiloparsec.dev/
MIT License
172 stars 31 forks source link

Update localmidnight #55

Closed andris-zalitis closed 7 years ago

andris-zalitis commented 7 years ago

Close #54

Also introduces localMidnight(timeZone:) which will be necessary for correct calculation of sunrise/sunset/moonrise/moonset for non-GMT timezones.

codecov[bot] commented 7 years ago

Codecov Report

Merging #55 into master will decrease coverage by -0.01%. The diff coverage is 100%.

@@            Coverage Diff             @@
##           master      #55      +/-   ##
==========================================
- Coverage   32.43%   32.43%   -0.01%     
==========================================
  Files         226      226              
  Lines       12779    12783       +4     
==========================================
+ Hits         4145     4146       +1     
- Misses       8634     8637       +3
Impacted Files Coverage Δ
SwiftAA/JulianDay.swift 65.06% <100%> (+1.76%) :white_check_mark:
SwiftAA/NumericType.swift 73.33% <0%> (-4%) :x:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update f31dcff...e638bd6. Read the comment docs.