Date |
public static class DateTimeOffsetExtensions
The DateTimeOffsetExtensions type exposes the following members.
Name | Description | |
---|---|---|
EpochDayZero | Gets the Inner Drive epochal day 0, which is 2001-01-01T00:00:00+0000. |
Name | Description | |
---|---|---|
DayOfEpoch | Returns the Inner Drive epochal day, which is the whole day number counting from 2001-01-01T00:00:00+0000 = 0. | |
FromJulianDay | Returns a DateTimeOffset given a particular Julian day number. | |
MonthOfEpoch | Returns the Inner Drive epochal month, which is the whole month number counting from January 2001 = 0. | |
MonthsBetween | Returns the total number of months between two DateTimeOffset values. | |
ParseTime | Parses textual time input into a DateTime. | |
QuarterOfYear | Determines which calendar quarter this DateTimeOffset is in. | |
ToJulianDay | Returns the Julian day number for a given DateTimeOffset. | |
WeekOfEpoch | Returns the Inner Drive epochal week, which is the whole week number counting from 2001-01-01T00:00:00+0000 = 0. | |
WeekOfYear | Returns the week number of this DateTimeOffset. | |
YearsBetween | Returns the total number of years between this DateTimeOffset and another DateTimeOffset. |
Name | Description | |
---|---|---|
MillenniumOffset | Gets the Julian day number of 2001-01-01T12:00:00. Used in ToJulianDay(DateTimeOffset). |