TimeAdjusters class
Factory class for time adjusters: functions from LocalTime to LocalTime, which can be applied to LocalTime, LocalDateTime, and OffsetDateTime.
- Annotations
-
- @immutable
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- truncateToHour ↔ LocalTime Function(LocalTime)
-
Get a time adjuster to truncate the time to the hour, discarding fractional hours.
getter/setter pair
- truncateToMinute ↔ LocalTime Function(LocalTime)
-
Gets a time adjuster to truncate the time to the minute, discarding fractional minutes.
getter/setter pair
- truncateToSecond ↔ LocalTime Function(LocalTime)
-
Gets a time adjuster to truncate the time to the second, discarding fractional seconds.
getter/setter pair