Uses of Enum Class
net.time4j.scale.TimeScale
Packages that use TimeScale
Package
Description
The main package contains four basic types of ISO-8601, namely
PlainDate, PlainTime, PlainTimestamp
and Moment.Contains classes related to calendrical astronomy.
Defines common interfaces for any format support of Time4J.
This package handles the UTC timeline (Corrected Universal Time) and
other time scales.
-
Uses of TimeScale in net.time4j
Methods in net.time4j that return TimeScaleMethods in net.time4j with parameters of type TimeScaleModifier and TypeMethodDescriptionlongMoment.getElapsedTime(TimeScale scale)longZonalDateTime.getElapsedTime(TimeScale scale)intMoment.getNanosecond(TimeScale scale)intZonalDateTime.getNanosecond(TimeScale scale)static MomentCreates a new UTC-timestamp by given time coordinates on given time scale.static MomentEquivalent toMoment.of(elapsedTime, 0, scale).Creates a formatted view of this instance taking into account given time scale.Represents this timestamp as decimal value in given time scale. -
Uses of TimeScale in net.time4j.calendar.astro
Methods in net.time4j.calendar.astro that return TimeScale -
Uses of TimeScale in net.time4j.format
Fields in net.time4j.format with type parameters of type TimeScaleModifier and TypeFieldDescriptionstatic AttributeKey<TimeScale>Attributes.TIME_SCALEAttribute for the time scale to be used in parsing or formatting universal timestamps. -
Uses of TimeScale in net.time4j.scale
Methods in net.time4j.scale that return TimeScaleModifier and TypeMethodDescriptionstatic TimeScaleReturns the enum constant of this class with the specified name.static TimeScale[]TimeScale.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in net.time4j.scale with parameters of type TimeScaleModifier and TypeMethodDescriptionlongUniversalTime.getElapsedTime(TimeScale scale)Represents this timestamp as elpased seconds on given time scale.intUniversalTime.getNanosecond(TimeScale scale)Represents the nanosecond part on the given time scale.