Represents a specific point in time associated with a TimeZone.
- timestamp : Timestamp
Timestamprepresents the exact moment in time. It's a UTC relatedTimestamp. - date : Thunk PlainDateTime
Instances For
Converts a DateTime to the number of days since the UNIX epoch.
Instances For
Creates a new DateTime out of a PlainDateTime. It assumes that the PlainDateTime is relative
to UTC.
Instances For
Creates a new DateTime from a PlainDateTime, assuming that the PlainDateTime
is relative to the given TimeZone.
Instances For
Add Hour.Offset to a DateTime.
Instances For
Subtract Hour.Offset from a DateTime.
Instances For
Add Minute.Offset to a DateTime.
Instances For
Subtract Minute.Offset from a DateTime.
Instances For
Add Second.Offset to a DateTime.
Instances For
Subtract Second.Offset from a DateTime.
Instances For
Add Millisecond.Offset to a DateTime.
Instances For
Subtract Millisecond.Offset from a DateTime.
Instances For
Add Nanosecond.Offset to a DateTime.
Instances For
Subtract Nanosecond.Offset from a DateTime.
Instances For
Add Week.Offset to a DateTime.
Instances For
Subtracts Week.Offset to a DateTime.
Instances For
Add Month.Offset to a DateTime, it clips the day to the last valid day of that month.
Instances For
Subtracts Month.Offset from a DateTime, it clips the day to the last valid day of that month.
Instances For
Add Month.Offset from a DateTime, this function rolls over any excess days into the following
month.
Instances For
Subtract Month.Offset from a DateTime, this function rolls over any excess days into the following
month.
Instances For
Add Year.Offset to a DateTime, this function rolls over any excess days into the following
month.
Instances For
Add Year.Offset to a DateTime, it clips the day to the last valid day of that month.
Instances For
Subtract Year.Offset from a DateTime, this function rolls over any excess days into the following
month.
Instances For
Subtract Year.Offset from to a DateTime, it clips the day to the last valid day of that month.
Instances For
Creates a new DateTime tz by adjusting the day of the month to the given days value, with any
out-of-range days clipped to the nearest valid date.
Instances For
Creates a new DateTime tz by adjusting the day of the month to the given days value, with any
out-of-range days rolled over to the next month or year as needed.
Instances For
Creates a new DateTime tz by adjusting the month to the given month value.
The day remains unchanged, and any invalid days for the new month will be handled according to the clip behavior.
Instances For
Creates a new DateTime tz by adjusting the month to the given month value.
The day is rolled over to the next valid month if necessary.
Instances For
Creates a new DateTime tz by adjusting the year to the given year value. The month and day remain unchanged,
and any invalid days for the new year will be handled according to the clip behavior.
Instances For
Creates a new DateTime tz by adjusting the year to the given year value. The month and day are rolled
over to the next valid month and day if necessary.
Instances For
Creates a new DateTime tz by adjusting the hour component.
Instances For
Creates a new DateTime tz by adjusting the minute component.
Instances For
Creates a new DateTime tz by adjusting the second component.
Instances For
Creates a new DateTime tz by adjusting the nano component.
Instances For
Creates a new DateTime tz by adjusting the millisecond component.
Instances For
Converts a Timestamp to a PlainDateTime
Instances For
Gets the Weekday of a DateTime.
Instances For
Determines the ordinal day of the year for the given DateTime.
Instances For
Returns the unaligned week of the month for a DateTime (day divided by 7, plus 1).
Instances For
Determines the week of the month for the given DateTime. The week of the month is calculated based
on the day of the month and the weekday. Each week starts on Monday because the entire library is
based on the Gregorian Calendar.
Instances For
Converts a DateTime to the number of days since the UNIX epoch.