Time class

Time physical property.

Configures Internation (SI) systems of units defining their Time Unit instances. All units are accessible by singleton instance method or by symbol. Also provides Quantity constructors for all units.

Inheritance

Constructors

Time()
factory

Properties

baseUnit Unit<Time>
Return the baseUnit of my first SystemOfMeasurement
no setterinherited
centisecond Unit<Time>
latefinal
day Unit<Time>
latefinal
decisecond Unit<Time>
latefinal
dimensionSymbol String
Dimension symbol
finalinherited
hashCode int
The hash code for this object.
no setterinherited
hour Unit<Time>
latefinal
kind String
Texttual name for this PhysicalProperty
finalinherited
microsecond Unit<Time>
latefinal
millisecond Unit<Time>
latefinal
minute Unit<Time>
latefinal
nanosecond Unit<Time>
latefinal
quantitySymbol String
Qunatity symbol
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
second Unit<Time>
latefinal
shouldPreloadAllUnits bool
Methos called by the constructor to allow preloading of all units if desired.
no setterinherited
siUnits ↔ InternationalSystemOfUnits<Time>
latefinal
systemsOfUnits List<SystemOfUnits<Time>>
Collection of SystemOfMeasurement for this PhysicalProperty
finalinherited
unitList List<Unit<Time>>
Return all units in all of my SystemOfMeasurement list
no setterinherited
week Unit<Time>
latefinal
year Unit<Time>
latefinal

Methods

defineSystemsOfUnits() → void
Method called by the constructor to define subclass systems of units along their base units.
override
loadAllUnits() → void
Define (load) all units.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
unitWith({required String symbol}) Unit<Time>?
Finds an unit with a symbol in my SystemOfMeasurement list
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

centiseconds(double amount) Quantity<Time>
days(double amount) Quantity<Time>
deciseconds(double amount) Quantity<Time>
hours(double amount) Quantity<Time>
microseconds(double amount) Quantity<Time>
milliseconds(double amount) Quantity<Time>
minutes(double amount) Quantity<Time>
nanoseconds(double amount) Quantity<Time>
seconds(double amount) Quantity<Time>
weeks(double amount) Quantity<Time>
years(double amount) Quantity<Time>