TimeConstants class
Useful constants, mostly along the lines of 'number of milliseconds in an hour'. Useful constants, mostly along the lines of 'number of milliseconds in an hour'.
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
- julianEpoch → Instant
-
The instant at the Julian epoch of noon (UTC) January 1st 4713 BCE in the proleptic
Julian calendar, or November 24th 4714 BCE in the proleptic Gregorian calendar.
final
- nanosecondsPerMillisecondBigInt → BigInt
-
final
- unixEpoch → Instant
-
The instant at the Unix epoch of midnight 1st January 1970 UTC.
final
Constants
- daysPerWeek → const int
- hoursPerDay → const int
- hoursPerWeek → const int
- microsecondsPerDay → const int
- microsecondsPerHour → const int
- microsecondsPerMillisecond → const int
- microsecondsPerMinute → const int
- microsecondsPerSecond → const int
- microsecondsPerWeek → const int
- millisecondsPerDay → const int
- millisecondsPerHour → const int
- millisecondsPerMinute → const int
- millisecondsPerSecond → const int
- millisecondsPerWeek → const int
- minutesPerDay → const int
- minutesPerHour → const int
- minutesPerWeek → const int
- nanosecondsPerDay → const int
- nanosecondsPerHour → const int
- nanosecondsPerMicrosecond → const int
- nanosecondsPerMillisecond → const int
- nanosecondsPerMinute → const int
- nanosecondsPerSecond → const int
- nanosecondsPerWeek → const int
- secondsPerDay → const int
- secondsPerHour → const int
- secondsPerMinute → const int
- secondsPerWeek → const int