Date part of x
Date part of x
Returns number of full days between two datetime values.
Returns number of full days between two datetime values. Result can be negative if until
< x
Returns number of full hours between two datetime values.
Returns number of full hours between two datetime values. Result can be negative if until
< x
Returns number of milliseconds between two datetime values.
Returns number of milliseconds between two datetime values. Result can be negative if until
< x
Subtract a (possibly negative) duration from this datetime
Subtract a (possibly negative) duration from this datetime
Returns number of full minutes between two datetime values.
Returns number of full minutes between two datetime values. Result can be negative if until
< x
Returns number of full months between two datetime values.
Returns number of full months between two datetime values. Result can be negative if until
< x
Plain constructor for values of type A
Plain constructor for values of type A
year value
month, 1-12
day, must be a valid day for supplied month and year
hour, 0-23
minute, 0-60
second, 0-60
millisecond, 0-999
Java time based constructor for values of type A
Java time based constructor for values of type A
date part of A
time part of A
Add a (possibly negative) duration to this datetime
Add a (possibly negative) duration to this datetime
Add a (possibly negative) number of months to this datetime.
Add a (possibly negative) number of months to this datetime.
Add a (possibly negative) number of months to this datetime.
Add a (possibly negative) number of months to this datetime.
Add a (possibly negative) number of years to this datetime.
Add a (possibly negative) number of years to this datetime.
Returns number of full seconds between two datetime values.
Returns number of full seconds between two datetime values. Result can be negative if until
< x
Time part of x
Time part of x
Create a copy of x
with day of month altered.
Create a copy of x
with day of month altered.
Create a copy of x
with hour of day altered.
Create a copy of x
with hour of day altered.
Create a copy of x
with millisecond of second altered.
Create a copy of x
with millisecond of second altered.
Create a copy of x
with minute if hour altered.
Create a copy of x
with minute if hour altered.
Create a copy of x
with month altered.
Create a copy of x
with month altered. Month value has to be in [1,12] range
Create a copy of x
with second of minute altered.
Create a copy of x
with second of minute altered.
Create a copy of x
with year altered.
Create a copy of x
with year altered.
Returns number of full years between two datetime values.
Returns number of full years between two datetime values. Result can be negative if until
< x
A typeclass for local datetime values, that are unaware of DST and offsets.
Semantics are similar to
java.time.LocalDateTime