Uses of Enum Class
net.time4j.SI
Packages that use SI
Package
Description
The main package contains four basic types of ISO-8601, namely
PlainDate, PlainTime, PlainTimestamp
and Moment.Interval support.
-
Uses of SI in net.time4j
Fields in net.time4j with type parameters of type SIModifier and TypeFieldDescriptionstatic TimeMetric<TimeUnit,MachineTime<SI>>MachineTime.ON_UTC_SCALEReversible metric on the UTC scale (inclusive leap seconds).Methods in net.time4j that return SIModifier and TypeMethodDescriptionstatic SIReturns the enum constant of this class with the specified name.static SI[]SI.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in net.time4j that return types with arguments of type SIModifier and TypeMethodDescriptionstatic MachineTime<SI>Creates a machine time duration on the UTC scale.static MachineTime<SI>MachineTime.ofSISeconds(double seconds)Creates a machine time duration on the UTC scale.static MachineTime<SI>MachineTime.ofSISeconds(BigDecimal seconds)Creates a machine time duration on the UTC scale.static MachineTime<SI>MachineTime.ofSIUnits(long seconds, int fraction)Creates a machine time duration on the UTC scale.static Collector<MachineTime<SI>,?,MachineTime<SI>>MachineTime.summingUpReal()Helps to sum up durations of a stream.static Collector<MachineTime<SI>,?,MachineTime<SI>>MachineTime.summingUpReal()Helps to sum up durations of a stream.Methods in net.time4j with parameters of type SIModifier and TypeMethodDescriptionSubtracts an amount of given SI-unit from this timestamp on the UTC time scale.static MachineTime<SI>Creates a machine time duration on the UTC scale.Adds an amount of given SI-unit to this timestamp on the UTC time scale.longCalculates the time distance between this timestamp and given end timestamp in given SI-unit on the UTC time scale.Method parameters in net.time4j with type arguments of type SIModifier and TypeMethodDescriptionMoment.minus(MachineTime<SI> realTime)Subtracts given real time from this timestamp on the UTC time scale.Moment.plus(MachineTime<SI> realTime)Adds given real time to this timestamp on the UTC time scale. -
Uses of SI in net.time4j.range
Methods in net.time4j.range that return types with arguments of type SIModifier and TypeMethodDescriptionMomentInterval.getRealDuration()Yields the length of this interval on the UTC-scale.Methods in net.time4j.range with parameters of type SIModifier and TypeMethodDescriptionMoves this interval along the UTC-axis by given SI-units.