This interface is used internally in order to map the time unit database using its properties.
Determines whether this time unit is an approximation.
Defines a custom pluralized name for the time unit; it can be a string — used whenever the quantity of time is greater than one — or a function, able to retrieve different words according to a given quantity.
By default, words are pluralized by adding an "s" to the end of their readable name.
Multiplicative factor (coefficient) of this time unit in relation to a nanosecond.
This name is parsed from the name of the property that contains the time unit object.
If set to false, this will prevent the time unit from ever being pluralized (unless this configuration is overwritten).
Name of the time unit presented in a human readable format.
For timecount's default language — English (US) — this is parsed from the name of the property that contains the
time unit, taking advantage of its medial capitals to separate
compound names (
galacticYear parses as "galactic year").
In some cases, however, a custom readable name is required even in English (US) (
planckTime, for example, would
not be correctly capitalized as "Planck time").
If you wish to help timecount with a translation, plese consult Contributing: Translating.
A symbol representing the time unit (e.g. "s" for seconds).
Generated using TypeDoc