(.js)
laraImport("lara.units.TimeUnit");
(.lara)
import lara.units.TimeUnit;
new TimeUnit(timeModifier)
day()
hour()
micro()
milli()
minute()
nano()
Factory methods to create TimeUnits.
second()
convert(value, unit)
Override that adds support to time-specific units (days, hours, minutes). Discards parameter 'unitHasBaseName'.