DateTimeExtensions Class
Extends the
DateTime class to provide support for
related operations.
Namespace: InnerDrive.CoreAssembly: InnerDrive.Core (in InnerDrive.Core.dll) Version: 5.2.9017.0
public static class DateTimeExtensions
- Inheritance
- Object DateTimeExtensions
DayOfEpoch |
Returns the Inner Drive epochal day, which is
the whole day number counting from 2001-01-01T00:00:00+0000 = 0.
|
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 DateTime values.
|
OrdinalDate(OrdinalWeekday, DayOfWeek, Int32, Int32) |
Returns the date of the nth occurrence of a particular
weekday in a given month.
|
OrdinalDate(OrdinalWeekday, DayOfWeek, Int32, Int32, Int32) |
Returns the date of the nth occurrence of a particular
weekday in a given month.
|
ParseTime |
Parses textual time input into a DateTime.
|
QuarterOfYear |
Determines which calendar quarter this DateTime is in.
|
ToDateTimeOffset |
Gets the DateTimeOffset equivalent of this DateTime
object.
|
ToJulianDay |
Returns the Julian day number for a given DateTime.
|
ToUnspecifiedKind |
Returns a DateTime as Unspecified
regardless of the Kind value of the structure.
|
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 DateTime.
|
YearsBetween |
Returns the total number of years between this DateTime and
another DateTime.
|