Uses of Interface
net.time4j.base.TimeSource
Packages that use TimeSource
Package
Description
The main package contains four basic types of ISO-8601, namely
PlainDate, PlainTime, PlainTimestamp
and Moment.Contains miscellaneous clock implementations.
Defines the common generic schemes and interfaces of chronological
systems.
Interval support.
-
Uses of TimeSource in net.time4j
Classes in net.time4j that implement TimeSourceModifier and TypeClassDescriptionclassRepresents a clock which is based on the clock of the underlying operating system.Fields in net.time4j with type parameters of type TimeSourceModifier and TypeFieldDescriptionstatic TemporalType<Clock,TimeSource<?>>TemporalType.CLOCKBridge between the JSR-310-classjava.time.Clockand the interfacenet.time4j.base.TimeSource.Methods in net.time4j that return TimeSourceModifier and TypeMethodDescriptionTimeSource<?>PrettyTime.getReferenceClock()Yields the reference clock for formatting of relative times.TimeSource<?>ZonalClock.getSource()Gets the associated clock.Methods in net.time4j with parameters of type TimeSourceModifier and TypeMethodDescriptionSystemClock.synchronizedWith(TimeSource<?> clock)Synchronizes this instance with given time source and yields a new copy.PrettyTime.withReferenceClock(TimeSource<?> clock)Yields a changed copy of this instance with given reference clock.Constructors in net.time4j with parameters of type TimeSourceModifierConstructorDescriptionZonalClock(TimeSource<?> timeSource, String tzid)Constructs a new clock which can yield the current local time in given timezone.ZonalClock(TimeSource<?> timeSource, Timezone tz)Constructs a new clock which can yield the current local time in given timezone.ZonalClock(TimeSource<?> timeSource, TZID tzid)Constructs a new clock which can yield the current local time in given timezone. -
Uses of TimeSource in net.time4j.clock
Classes in net.time4j.clock that implement TimeSourceModifier and TypeClassDescriptionclassAbstract base clock implementation which allows local views within any timezone.classAllows miscellaneous adjustments to any clock.classRepresents a connection to a DAYTIME-server following the old norm RFC 867.classRepresents a fixed clock which always display the same current time.classRepresents a connection to a web server via the HTTP-protocol in order to evaluate the DATE-header of the HTTP-response.classNetTimeConnector<C extends NetTimeConfiguration>Represents an abstract connection object to an internet time server.classConnects to a modern time server using the NTP-protocol.Methods in net.time4j.clock with parameters of type TimeSourceModifier and TypeMethodDescriptionstatic AdjustableClockAdjustableClock.of(TimeSource<?> source)Creates a new adjustable clock for given time source. -
Uses of TimeSource in net.time4j.engine
Methods in net.time4j.engine with parameters of type TimeSourceModifier and TypeMethodDescriptionBridgeChronology.createFrom(TimeSource<?> clock, AttributeQuery attributes)Chronology.createFrom(TimeSource<?> clock, AttributeQuery attributes)ChronoMerger.createFrom(TimeSource<?> clock, AttributeQuery attributes)Creates a new entity which reflects current time. -
Uses of TimeSource in net.time4j.range
Methods in net.time4j.range with parameters of type TimeSourceModifier and TypeMethodDescriptionstatic DateIntervalDateInterval.ofCurrentWeek(TimeSource clock, TZID tzid, Weekday firstDay)Obtains the current calendar week based on given clock, time zone and first day of week.