time library
/// Date-time types and utilities to manipulate date-times.
Classes
- Date
- An immutable date without a timezone.
- Day
- Constants that represent a day in other time units.
- Hour
- Constants that represent an hour in other time units.
- LocalDateTime
- An immutable date-time without a timezone.
- Microsecond
- Constants that represent a microsecond in other time units.
- Millisecond
- Constants that represent a millisecond in other time units.
- Minute
- Constants that represent a minute in other time units.
-
Period<
T extends Comparable< T> > - Represents a length between two points in time.
- Second
- Constants that represent a second in other time units.
- Time
- An immutable time without a timezone.
- UtcDateTime
- An immutable date-time in the UTC±00:00 timezone.
- Weekdays
- Utilities to encode and decode the days in a week into an 8-bit bitfield. A bitfield represents one week with each bit representing a day. It is big-endian with the first bit in the bitfield always being unused.
Enums
- TimeUnit
- A temporal unit.
Mixins
- MultiPart
- Represents a DateTime which date and time can be individually extracted.
-
RoundableDateTime<
T extends RoundableDateTime< T> > - A DateTime that can be rounded.
-
Temporal<
T extends Temporal< T> > - An immutable temporal.
Extensions
- Chronological on DateTime
- Provides operations to allow DateTimes to be chronologically compared using the comparison operators.
-
DateTimePeriod
on Period<
DateTime> - Utilities for calculating the length of a period of DateTime.
- DefaultRoundableDate on DateTime
- The default implementation for RoundableDateTime.
- DefaultTemporal on DateTime
- The default implementation for Temporal.
-
NumericalPeriod
on Period<
num> - Utilities for calculating the length of the period of numbers.
-
TimePeriod
on Period<
Time> - Utilities for calculating the length of a period of time.