@@ -58,8 +58,8 @@ public class Sun {
5858
5959 ///Date at which there is the Nautical Dusk
6060 public private( set) var nauticalDusk : Date = Date ( )
61- ///Date at which there is the Nautical Down
62- public private( set) var nauticalDown : Date = Date ( )
61+ ///Date at which there is the Nautical Dawn
62+ public private( set) var nauticalDawn : Date = Date ( )
6363
6464 ///Date at which there is the Astronomical Dusk
6565 public private( set) var astronomicalDusk : Date = Date ( )
@@ -324,7 +324,7 @@ public class Sun {
324324 print ( " Civil dusk -> \( dateFormatter. string ( from: civilDusk) ) " )
325325 print ( " Civil Dawn -> \( dateFormatter. string ( from: civilDawn) ) " )
326326 print ( " Nautical Dusk -> \( dateFormatter. string ( from: nauticalDusk) ) " )
327- print ( " Nautical Down -> \( dateFormatter. string ( from: nauticalDown ) ) " )
327+ print ( " Nautical Dawn -> \( dateFormatter. string ( from: nauticalDawn ) ) " )
328328 print ( " Astronomical Dusk -> \( dateFormatter. string ( from: astronomicalDusk) ) " )
329329 print ( " Astronomical Dawn -> \( dateFormatter. string ( from: astronomicalDawn) ) " )
330330 print ( " Morning Blue Hour Start -> \( dateFormatter. string ( from: morningBlueHourStart) ) " )
@@ -442,7 +442,7 @@ public class Sun {
442442 self . civilDusk = getCivilDusk ( ) ?? Date ( )
443443 self . civilDawn = getCivilDawn ( ) ?? Date ( )
444444 self . nauticalDusk = getNauticalDusk ( ) ?? Date ( )
445- self . nauticalDown = getNauticalDown ( ) ?? Date ( )
445+ self . nauticalDawn = getNauticalDawn ( ) ?? Date ( )
446446 self . astronomicalDusk = getAstronomicalDusk ( ) ?? Date ( )
447447 self . astronomicalDawn = getAstronomicalDawn ( ) ?? Date ( )
448448 self . morningGoldenHourStart = getMorningGoldenHourStart ( ) ?? Date ( )
@@ -721,12 +721,12 @@ public class Sun {
721721 }
722722
723723 /// Nautical Dusk is when the Sun reaches -12 degrees of elevation.
724- /// - Returns: Nautical Down
725- private func getNauticalDown ( ) -> Date ? {
726- guard let nauticalDown = getDateFrom ( sunEvent: . nautical, morning: false ) else {
724+ /// - Returns: Nautical Dawn
725+ private func getNauticalDawn ( ) -> Date ? {
726+ guard let nauticalDawn = getDateFrom ( sunEvent: . nautical, morning: false ) else {
727727 return nil
728728 }
729- return nauticalDown
729+ return nauticalDawn
730730 }
731731
732732 /// Astronomical Dusk is when the Sun reaches -18 degrees of elevation.
0 commit comments