Uses of Class
org.djunits.quantity.Time.Reference
Packages that use Time.Reference
Package
Description
The quantity package stores information about quantities with their units.
-
Uses of Time.Reference in org.djunits.quantity
Fields in org.djunits.quantity declared as Time.ReferenceModifier and TypeFieldDescriptionstatic final Time.ReferenceTime.Reference.GPSGPS.static final Time.ReferenceTime.Reference.GREGORIANGregorian.static final Time.ReferenceTime.Reference.UNIXUnix.Methods in org.djunits.quantity that return Time.ReferenceModifier and TypeMethodDescriptionstatic Time.ReferenceGet a reference point for the time, based on its id.Methods in org.djunits.quantity with parameters of type Time.ReferenceModifier and TypeMethodDescriptionstatic voidTime.Reference.add(String id, String name, Duration offset, Time.Reference offsetReference) Define a new reference point for the time, with an offset value to another reference.Time.instantiate(Duration duration, Time.Reference reference) static TimeTime.of(double value, String unitString, Time.Reference reference) Returns a Time based on a value and the textual representation of the unit, which can be localized.static TimeTime.ofSi(double si, Time.Reference reference) Return a Time instance based on an SI value and a reference point.static TimeTime.valueOf(String text, Time.Reference reference) Returns a Time representation of a textual representation of a value with a unit.Constructors in org.djunits.quantity with parameters of type Time.ReferenceModifierConstructorDescriptionReference(String id, String name, Duration offset, Time.Reference offsetReference) Define a new reference point for the time, with an offset value to another reference.Time(double value, String abbreviation, Time.Reference reference) Instantiate a Time quantity with a unit, expressed as a String, and a reference point.Time(double value, Duration.Unit unit, Time.Reference reference) Instantiate a Time quantity with a unit and a reference point.Time(Duration duration, Time.Reference reference) Instantiate a Time instance based on an duration and a reference point.