Name | Description | |
---|---|---|
Returns a new DateTime that adds the value of the specified Duration to the value of this instance. |
||
Overloaded. Returns a new DateTime that adds the specified number of days to this instance. |
||
Overloaded. Returns a new DateTime that adds the specified number of hours to this instance. |
||
Overloaded. Returns a new DateTime that adds the specified number of milliseconds to this instance. |
||
Overloaded. Returns a new DateTime that adds the specified number of minutes to this instance. |
||
Overloaded. Returns a new DateTime that adds the specified number of months to this instance. |
||
Overloaded. Returns a new DateTime that adds the specified number of seconds to this instance. |
||
Returns a new DateTime that adds the specified number of ticks to this instance. |
||
Returns a new DateTime that adds the specified number of years to this instance. |
||
Cloneable.clone implementation. |
||
Comparable.compareTo implementation. |
||
Returns the number of days in the specified month and year. |
||
Object.equals override. |
||
Gets the date component of this instance. |
||
Gets the day of month component of the date (1-31). |
||
Gets the day of the week represented by this instance. |
||
Gets the day of the year represented by this instance. |
||
Gets the hour component of the date (0-23). |
||
Gets the millisecond component of the date (0-999). |
||
Gets the minute component of the date (0-59). |
||
Gets the month component of the date (1-12). |
||
Gets the second component of the date (0-59). |
||
Gets the total number of ticks in this instance. |
||
Gets the time of the day of this instance. |
||
Gets the week of the year for the current date. |
||
Gets the year component of the date. |
||
Object.hashCode override. |
||
Returns a value indicating whether the specified year is a leap year. |
||
Determines whether the current DateTime is less than the specified DateTime. |
||
Determines whether the current DateTime is less than or equal to the specified DateTime. |
||
Gets a value indicating whether the time represented by this instance is a local time. |
||
Gets a value indicating whether the time represented by this instance is a UTC time. |
||
|
||
Gets a DateTime object that is set to the current date and time in the default time zone and locale. |
||
Adds a specified time interval to a specified date and time, yielding a new date and time. |
||
Determines whether two specified instances of DateTime are equal. |
||
Determines whether one specified DateTime is greater than another specified DateTime. |
||
Determines whether one specified DateTime is greater than or equal to another specified DateTime. |
||
Determines whether two specified instances of DateTime are not equal. |
||
Determines whether one specified DateTime is less than another specified DateTime. |
||
Determines whether one specified DateTime is less than or equal to another specified DateTime. |
||
Overloaded. |
||
Overloaded. |
||
Gets a DateTime object that represents the current date in the default time one and locale. |
||
Converts the stored date and time to a Calendar object. |
||
Returns the stored LocalDateTime value. |
||
Converts the value of the current DateTime object to local time. |
||
Overloaded. |
||
Overloaded. |
||
Overloaded. |
||
Overloaded. |
||
Overloaded. Converts the value of the current DateTime object to its equivalent string representation. |
||
Converts the value of the current DateTime object to Coordinated Universal Time (UTC). |
||
Gets a DateTime object that is set to the current date and time on this computer, expressed as the Coordinated Universal Time (UTC). |