Interval class
In Postgresql interval
values are stored as months, days, and microseconds.
This is done because the number of days in a month varies, and a day can
have 23 or 25 hours if a daylight savings time adjustment is involved.
Value from one field is never automatically translated to value of another field, so <606024 seconds> != <1 days> and so on.
- Annotations
-
- @immutable
Constructors
Properties
- days → int
-
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- microseconds → int
-
final
- months → int
-
final
- 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.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override