MoonObservation Class

Calculates moon rises, sets, phases, and other data related to the moon.

Definition

Namespace: InnerDrive.Geography
Assembly: InnerDrive.Geography (in InnerDrive.Geography.dll) Version: 5.2.9017.0
C#
public sealed class MoonObservation : AstronomyObservation
Inheritance
Object    AstronomyObservation    MoonObservation

Constructors

MoonObservation(IGeoLocatable) Creates a new instance of MoonObservation for today at the specified location for sunrise and sunset.
MoonObservation(DateTimeOffset, IGeoLocatable) Creates a new instance of MoonObservation for the date and location specified for sunrise and sunset.
MoonObservation(DateTimeOffset, IGeoLocatable, IdtTimeZone) Creates a new instance of MoonObservation for the date and location specified using the given time zone for sunrise and sunset.

Properties

Altitude Gets the observed altitude of the object above (or below) the horizon on ObservationDate at Meridian.
(Inherited from AstronomyObservation)
Declination Gets the declination of the observed object at the time it crosses the meridian.
(Inherited from AstronomyObservation)
HasRise Gets an indication of whether the observed object rises on the date given in ObservationDate
(Inherited from AstronomyObservation)
HasSet Gets an indication of whether the sun sets on the date given in ObservationDate
(Inherited from AstronomyObservation)
Location Gets the location to which these observations apply.
(Inherited from AstronomyObservation)
Meridian Gets the date and time the observed object crosses (transits) the meridian at the observer's location.
(Inherited from AstronomyObservation)
ObservationDate Gets the date and time used to calculate these observations.
(Inherited from AstronomyObservation)
ObservationDateRaw Gets or sets the ObservationDate value initially provided by the caller.
(Inherited from AstronomyObservation)
PhaseAge Gets the age of the moon phase in days.
PhaseName Gets the name of the moon phase.
RiseAzimuth Gets the Direction (azimuth) of the object at RiseTime.
(Inherited from AstronomyObservation)
RiseTime Gets the date and time that the observed object rises above the horizon.
(Inherited from AstronomyObservation)
SetAzimuth Gets the Direction (azimuth) of the object at SetTime.
(Inherited from AstronomyObservation)
SetTime Gets the date and time that the observed object sets below the horizon.
(Inherited from AstronomyObservation)
TimeZone Gets the time zone to use to report the observations.
(Inherited from AstronomyObservation)

Methods

EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetMoonPhaseName Gets the name of the moon phase corresponding to the age of the phase in the current UI culture.
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToString Creates a String representation of this AstronomyObservation.
(Inherited from AstronomyObservation)
ToString(String, IFormatProvider) Formats the value of the current instance using the specified format.
(Inherited from AstronomyObservation)

See Also