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
Creates a new DateTime out of a PlainDateTime. It assumes that the PlainDateTime is relative
to UTC.
Equations
Instances For
Creates a new DateTime from a PlainDateTime, assuming that the PlainDateTime
is relative to the given TimeZone.
Equations
Instances For
Add Hour.Offset to a DateTime.
Equations
Instances For
Subtract Hour.Offset from a DateTime.
Equations
Instances For
Add Minute.Offset to a DateTime.
Equations
Instances For
Subtract Minute.Offset from a DateTime.
Equations
Instances For
Add Second.Offset to a DateTime.
Equations
Instances For
Subtract Second.Offset from a DateTime.
Equations
Instances For
Add Millisecond.Offset to a DateTime.
Equations
Instances For
Subtract Millisecond.Offset from a DateTime.
Equations
Instances For
Add Nanosecond.Offset to a DateTime.
Equations
Instances For
Subtract Nanosecond.Offset from a DateTime.
Equations
Instances For
Add Week.Offset to a DateTime.
Equations
Instances For
Subtracts Week.Offset to a DateTime.
Equations
Instances For
Add Month.Offset to a DateTime, it clips the day to the last valid day of that month.
Equations
Instances For
Subtracts Month.Offset from a DateTime, it clips the day to the last valid day of that month.
Equations
Instances For
Add Month.Offset from a DateTime, this function rolls over any excess days into the following
month.
Equations
Instances For
Subtract Month.Offset from a DateTime, this function rolls over any excess days into the following
month.
Equations
Instances For
Add Year.Offset to a DateTime, this function rolls over any excess days into the following
month.
Equations
Instances For
Add Year.Offset to a DateTime, it clips the day to the last valid day of that month.
Equations
Instances For
Subtract Year.Offset from a DateTime, this function rolls over any excess days into the following
month.
Equations
Instances For
Subtract Year.Offset from to a DateTime, it clips the day to the last valid day of that month.
Equations
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.
Equations
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.
Equations
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.
Equations
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.
Equations
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.
Equations
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.
Equations
Instances For
Creates a new DateTime tz by adjusting the hour component.
Equations
Instances For
Creates a new DateTime tz by adjusting the minute component.
Equations
Instances For
Creates a new DateTime tz by adjusting the second component.
Equations
Instances For
Creates a new DateTime tz by adjusting the nano component.
Equations
Instances For
Creates a new DateTime tz by adjusting the millisecond component.
Equations
Instances For
Converts a Timestamp to a PlainDateTime
Equations
Instances For
Gets the Weekday of a DateTime.
Equations
Instances For
Determines the ordinal day of the year for the given DateTime.
Equations
Instances For
Returns the unaligned week of the month for a DateTime (day divided by 7, plus 1).
Equations
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.
Equations
Instances For
Converts a DateTime to the number of days since the UNIX epoch.