Optionalkind: DateTimeKindOptionalkind: DateTimeKindOptionalkind: DateTimeKindOptionalkind: DateTimeKindReturns a DateTime object for 00:00 of this date.
Returns the day of the month. An integer between 1 and 31.
Returns the day of the month indexed starting at zero.
Returns the zero indexed day of the week. (Sunday == 0)
Returns the Gregorian Month (zero indexed).
Returns the time of day represented by a ClockTime object.
StaticnowReturns the now local time.
StatictodayThe date component for now.
StatictomorrowMidnight tomorrow.
Receives an TimeQuantity value and adds based on the total milliseconds.
Compares a JS Date with the current instance. Does not evaluate the kind.
Compares another JsDateConvertible object and returns true if they or their value are equal.
The other JsDateConvertible object.
Optionalstrict: booleanWhen strict is true, the 'kind' also must match.
Returns true if the value is the same UTC time.
Receives an TimeQuantity value and subtracts based on the total milliseconds.
Returns a readonly object which contains all the date and time components.
Returns a UTC version of this date if its kind is local.
StaticbetweenStaticdaysReturns the number of days for the specific year and month.
StaticfromStaticfromStaticisCalculates if the given year is a leap year using the formula: ((year % 4 == 0) && (year % 100 != 0)) || (year % 400 == 0)
Returns the month number (1-12).