GlobalPositioningSystemDate Structure |
Namespace: AGI.Foundation.Time
The GlobalPositioningSystemDate type exposes the following members.
Name | Description | |
---|---|---|
GlobalPositioningSystemDate(DateTime) |
Initializes a new instance from a DateTime.
| |
GlobalPositioningSystemDate(GregorianDate) |
Initializes a new instance from a GregorianDate.
| |
GlobalPositioningSystemDate(JulianDate) |
Initializes a new instance from a JulianDate.
| |
GlobalPositioningSystemDate(Int32, Double) |
Initializes a new instance from a week number and a number of seconds into the week.
| |
GlobalPositioningSystemDate(Int32, DayOfWeek, Double) |
Initializes a new instance from a week number, a day of the week, and a number of seconds into the day.
| |
GlobalPositioningSystemDate(Int32, Int32, Int32, Int32, Int32) |
Initializes a new instance from the time parameters found in a
PerformanceAssessmentRecord.
|
Name | Description | |
---|---|---|
DayOfWeek |
Gets the day of the week.
| |
KPoints |
Gets the K-Points (15-minute segments) since the most recent GPS epoch.
| |
RolloverCount |
Gets the number of times that the GPS week counter has rolled over since
JulianDateOfEpoch.
| |
RolloverDate |
Gets the most recent rollover of the GPS week counter. The week number returned by
WeekSinceRollover is relative to this date.
| |
SecondsOfDay |
Gets the elapsed whole and fractional seconds since the start of the day.
| |
SecondsOfWeek |
Gets the elapsed whole and fractional seconds since the start of the week.
| |
TotalDays |
Gets the total number of whole and fractional days that have elapsed since
JulianDateOfEpoch.
| |
TotalDaysSinceRollover |
Gets the total number of whole and fractional days that have elapsed since
RolloverDate.
| |
Week |
Gets the week number, which is the number of weeks since January 6, 1980.
| |
WeekSinceRollover |
Gets the week number since the most recent GPS week rollover. In the GPS system,
the week is represented as a 10 bit number so it can only be a value from 0 to 1023 before
rolling over back to 0.
| |
ZCounts |
Gets the Z-Counts (1.5 second segments) since the most recent GPS Epoch.
|
Name | Description | |
---|---|---|
Add |
Adds a Duration to this date, producing a new date.
| |
AddDays |
Adds the specified number of days to this date and returns the new date.
| |
AddSeconds |
Adds the specified number of seconds to this date and returns the new date.
| |
CompareTo(GlobalPositioningSystemDate) |
Compares this instance with another instance of the same type.
| |
CompareTo(Object) |
Compares this instance with another instance of the same type.
| |
Equals(GlobalPositioningSystemDate) |
Indicates whether another instance of this type is exactly equal to this instance.
| |
Equals(Object) |
Indicates whether another object is exactly equal to this instance.
(Overrides ValueTypeEquals(Object).) | |
EqualsEpsilon |
Returns true if this date is within epsilon seconds of the
specified date. That is, in order for the dates to be considered equal (and for
this function to return true), the absolute value of the difference between them, in
seconds, must be less than or equal to epsilon.
| |
GetHashCode |
Returns a hash code for this instance, which is suitable for use in hashing algorithms and data structures like a hash table.
(Overrides ValueTypeGetHashCode.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MinutesDifference |
Computes the number of minutes that have elapsed from this date to the
other date.
| |
SecondsDifference |
Computes the number of seconds that have elapsed from this date to the
other date.
| |
Subtract(Duration) |
Subtracts a Duration from this date, producing a new date.
| |
Subtract(GlobalPositioningSystemDate) |
Subtracts another date from this date.
| |
ToDateTime |
Converts this GPS Time to a .NET standard DateTime with a default time standard of Global Positioning System Time.
| |
ToJulianDate |
Returns a JulianDate that is equivalent to this instance.
| |
ToString |
Returns the value of this GPS Time in RolloverCount:WeekSinceRollover:SecondsOfWeek, where
RolloverCount is the number of times that the GPS week counter has rolled over since
JulianDateOfEpoch.
(Overrides ValueTypeToString.) |
Name | Description | |
---|---|---|
Addition |
Adds a Duration to a GlobalPositioningSystemDate, producing a new date.
| |
Equality |
Returns if the two instances are exactly equal.
| |
GreaterThan |
Returns true if left occurs after right.
| |
GreaterThanOrEqual |
Returns true if left occurs after or at the same time as right.
| |
Inequality |
Returns if the two instances are not exactly equal.
| |
LessThan |
Returns true if left occurs before right.
| |
LessThanOrEqual |
Returns true if left occurs before or at the same time as right.
| |
Subtraction(GlobalPositioningSystemDate, Duration) |
Subtracts a Duration from a date, yielding a new GlobalPositioningSystemDate.
| |
Subtraction(GlobalPositioningSystemDate, GlobalPositioningSystemDate) |
Subtracts a date from another date, yielding a Duration.
|
Name | Description | |
---|---|---|
JulianDateOfEpoch |
The GPS epoch of 6 January 1980 00:00:00 UTC expressed as a JulianDate in the GlobalPositioningSystemTime.
| |
WeekWrapValue |
The number of weeks after which the week count wraps around to zero.
|