Time class final

Describes PostgreSQL's time without time zone type.

See https://www.postgresql.org/docs/current/datatype-datetime.html

time with time zone is not implemented as Postgres wiki recommends against its use:

https://wiki.postgresql.org/wiki/Don't_Do_This#Don.27t_use_timetz

Annotations
  • @immutable
  • @sealed

Constructors

Time([int hour = 0, int minute = 0, int second = 0, int millisecond = 0, int microsecond = 0])
Construct a Time instance.
factory
Time.fromMicroseconds(int microseconds)
Construct a Time instance from microseconds.

Properties

hashCode int
The hash code for this object.
no setteroverride
hour int
The hour of the day, expressed as in a 25-hour clock 0...24.
no setter
microsecond int
The microsecond [0...999].
no setter
microseconds int
The time in microseconds
latefinal
millisecond int
The millisecond [0...999].
no setter
minute int
The minute [0...59].
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
second int
The second [0...59].
no setter
utcDateTime DateTime
no setter

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