AWFSunMoonPeriod
Objective-C
@interface AWFSunMoonPeriod : AWFGeographicObject
Swift
class AWFSunMoonPeriod : AWFGeographicObject
An AWFSunMoonPeriod
object represents data returned by the sunmoon endpoint
of the Aeris Weather API.
-
GMT date for the day the information is for.
Declaration
Objective-C
@property (nonatomic, strong, nullable) NSDate *timestamp;
Swift
var timestamp: Date? { get set }
-
GMT date for the sunrise.
Declaration
Objective-C
@property (nonatomic, strong, nullable) NSDate *sunrise;
Swift
var sunrise: Date? { get set }
-
GMT date for the sunset.
Declaration
Objective-C
@property (nonatomic, strong, nullable) NSDate *sunset;
Swift
var sunset: Date? { get set }
-
GMT date for the point at which the sun is directly overhead.
Declaration
Objective-C
@property (nonatomic, strong, nullable) NSDate *sunTransit;
Swift
var sunTransit: Date? { get set }
-
GMT date for the first civil twilight.
Declaration
Objective-C
@property (nonatomic, strong, nullable) NSDate *twilightCivilBegin;
Swift
var twilightCivilBegin: Date? { get set }
-
GMT date for the second civil twilight.
Declaration
Objective-C
@property (nonatomic, strong, nullable) NSDate *twilightCivilEnd;
Swift
var twilightCivilEnd: Date? { get set }
-
GMT date for the first nautical twilight.
Declaration
Objective-C
@property (nonatomic, strong, nullable) NSDate *twilightNauticalBegin;
Swift
var twilightNauticalBegin: Date? { get set }
-
GMT date for the second nautical twilight.
Declaration
Objective-C
@property (nonatomic, strong, nullable) NSDate *twilightNauticalEnd;
Swift
var twilightNauticalEnd: Date? { get set }
-
GMT date for the first astronomical twilight.
Declaration
Objective-C
@property (nonatomic, strong, nullable) NSDate *twilightAstronomicalBegin;
Swift
var twilightAstronomicalBegin: Date? { get set }
-
GMT date for the second astronomical twilight.
Declaration
Objective-C
@property (nonatomic, strong, nullable) NSDate *twilightAstronomicalEnd;
Swift
var twilightAstronomicalEnd: Date? { get set }
-
YES
if midnight sun (not setting), otherwiseNO
.Declaration
Objective-C
@property (nonatomic) BOOL midnightSun;
Swift
var midnightSun: Bool { get set }
-
YES
if polar night (not rising), otherwiseNO
.Declaration
Objective-C
@property (nonatomic) BOOL polarNight;
Swift
var polarNight: Bool { get set }
-
GMT date for the moon rise.
Declaration
Objective-C
@property (nonatomic, strong, nullable) NSDate *moonrise;
Swift
var moonrise: Date? { get set }
-
GMT date for the moon set.
Declaration
Objective-C
@property (nonatomic, strong, nullable) NSDate *moonset;
Swift
var moonset: Date? { get set }
-
Date at which point the moon is overhead, or
nil
if not expected.Declaration
Objective-C
@property (nonatomic, strong, nullable) NSDate *moonTransit;
Swift
var moonTransit: Date? { get set }
-
Date at which point the moon is underfoot, or
nil
if not expected.Declaration
Objective-C
@property (nonatomic, strong, nullable) NSDate *moonUnderfoot;
Swift
var moonUnderfoot: Date? { get set }
-
Moon phase as a percentage.
Declaration
Objective-C
@property (nonatomic) CGFloat moonPhasePercentage;
Swift
var moonPhasePercentage: CGFloat { get set }
-
Name of the moon phase.
Declaration
Objective-C
@property (nonatomic, copy, nullable) NSString *moonPhaseName;
Swift
var moonPhaseName: String? { get set }
-
Percentage of the moon that is illuminated.
Declaration
Objective-C
@property (nonatomic) CGFloat moonIllumination;
Swift
var moonIllumination: CGFloat { get set }
-
Age of the moon phase in days.
Declaration
Objective-C
@property (nonatomic) CGFloat moonAge;
Swift
var moonAge: CGFloat { get set }
-
Angle of the moon phase.
Declaration
Objective-C
@property (nonatomic) CGFloat moonAngle;
Swift
var moonAngle: CGFloat { get set }