Skip navigation links
A C D E F G H I M N O R S T V W X 

A

AbstractClock - Class in net.time4j.clock
Abstract base clock implementation which allows local views within any timezone.
AbstractClock() - Constructor for class net.time4j.clock.AbstractClock
 
AdjustableClock - Class in net.time4j.clock
Allows miscellaneous adjustments to any clock.

C

canonical() - Method in enum net.time4j.tz.other.MilitaryZone
Yields a canonical form of this timezone identifier, for example "MILITARY~UTC+01:00".
compareTo(WindowsZone) - Method in class net.time4j.tz.other.WindowsZone
The natural order is based on the lexicographical order of the underlying names of windows zones.
connect() - Method in class net.time4j.clock.NetTimeConnector
Queries a time server for the current time.
convert(double) - Static method in class net.time4j.clock.SntpMessage
Converts given NTP-timestamp to a microsecond value relative to the UNIX- epoch.
currentTime() - Method in class net.time4j.clock.AdjustableClock
 
currentTime() - Method in class net.time4j.clock.FixedClock
 
currentTime() - Method in class net.time4j.clock.NetTimeConnector
Yields the current time after a connection has been established at least once.
currentTimeInMicros() - Method in class net.time4j.clock.SntpConnector
Returns the current time in microseconds since the Unix epoch [1970-01-01T00:00:00,000000Z].
currentTimeInMillis() - Method in class net.time4j.clock.SntpConnector
Returns the current time in milliseconds since the Unix epoch [1970-01-01T00:00:00,000Z].

D

DaytimeClock - Class in net.time4j.clock
Represents a connection to a DAYTIME-server following the old norm RFC 867.
DaytimeClock(String, ChronoParser<Moment>) - Constructor for class net.time4j.clock.DaytimeClock
Creates a new instance which uses the given time server on the port 13.
DEFAULT_CONNECTION_TIMEOUT - Static variable in interface net.time4j.clock.NetTimeConfiguration
Default timeout is 60 seconds.

E

equals(Object) - Method in class net.time4j.clock.AdjustableClock
 
equals(Object) - Method in class net.time4j.clock.FixedClock
 
equals(Object) - Method in class net.time4j.tz.other.WindowsZone
 

F

FixedClock - Class in net.time4j.clock
Represents a fixed clock which always display the same current time.

G

getAvailableNames() - Static method in class net.time4j.tz.other.WindowsZone
Yields all available names of windows zones.
getClockShiftWindow() - Method in interface net.time4j.clock.NetTimeConfiguration
Determines the time window within which an existing shift between the local clock and the internet clock will be synchronized (after a successful connection) if the local clock is too quick.
getConnectionTimeout() - Method in interface net.time4j.clock.NetTimeConfiguration
Determines the maximum time out when connecting to an internet time server.
getLastConnectionTime() - Method in class net.time4j.clock.NetTimeConnector
Yields the time of last connection.
getLastOffsetInMicros() - Method in class net.time4j.clock.NetTimeConnector
Yields the last offset between net time and local time in microseconds.
getLastReply() - Method in class net.time4j.clock.SntpConnector
Returns the last received message of the NTP-server.
getLeapIndicator() - Method in class net.time4j.clock.SntpMessage
Yields the LI-bits as appointment of a coming leap second.
getMode() - Method in class net.time4j.clock.SntpMessage
Displays the mode.
getNetTimeConfiguration() - Method in class net.time4j.clock.NetTimeConnector
Yields the current configuration parameters.
getOffset() - Method in enum net.time4j.tz.other.MilitaryZone
Yields the associated timezone offset.
getOriginateTimestamp() - Method in class net.time4j.clock.SntpMessage
NTP-timestamp when the client request was sent.
getPollInterval() - Method in class net.time4j.clock.SntpMessage
Yields the maximum interval between two successful server messages in seconds as exponent for base 2.
getPrecision() - Method in class net.time4j.clock.SntpMessage
Yields the precision of the server clock in seconds as exponent for the base 2.
getRawTimestamp() - Method in class net.time4j.clock.DaytimeClock
Tries to get the raw server timestamp as original string.
getReceiveTimestamp() - Method in class net.time4j.clock.SntpMessage
NTP-timestamp when the server received the client request.
getReferenceIdentifier() - Method in class net.time4j.clock.SntpMessage
Identifies a reference source.
getReferenceTimestamp() - Method in class net.time4j.clock.SntpMessage
NTP-timestamp when the time of the server was set or corrected last time.
getRequestCount() - Method in interface net.time4j.clock.SntpConfiguration
Determines how often a SNTP-Client will send queries during a connection for the purpose of the calculation of an arithmetic mean value.
getRequestInterval() - Method in interface net.time4j.clock.SntpConfiguration
Determines the rate by which a SNTP-client sends queries during a connection for the purpose of the calculation of an arithmetic mean value.
getRootDelay() - Method in class net.time4j.clock.SntpMessage
Yields the total delay in seconds relative to the primary source.
getRootDispersion() - Method in class net.time4j.clock.SntpMessage
Yields the maximum error in seconds relative to the primary source.
getStratum() - Method in class net.time4j.clock.SntpMessage
Displays the stratum-value indicating the distance of the original time source.
getSymbol() - Method in enum net.time4j.tz.other.MilitaryZone
Yields the first letter of the full name (for example "A").
getTimeServerAddress() - Method in interface net.time4j.clock.NetTimeConfiguration
Yields the internet address of a time server.
getTimeServerPort() - Method in interface net.time4j.clock.NetTimeConfiguration
Yields the port of a time server.
getTransmitTimestamp() - Method in class net.time4j.clock.SntpMessage
NTP-timestamp when the client or server request was sent.
getVersion() - Method in class net.time4j.clock.SntpMessage
Displays the NTP-version.

H

hashCode() - Method in class net.time4j.clock.AdjustableClock
 
hashCode() - Method in class net.time4j.clock.FixedClock
 
hashCode() - Method in class net.time4j.tz.other.WindowsZone
 
HttpClock - Class in net.time4j.clock
Represents a connection to a web server via the HTTP-protocol in order to evaluate the DATE-header of the HTTP-response.
HttpClock(String) - Constructor for class net.time4j.clock.HttpClock
Creates a new clock which connects to given web server.

I

inLocalView() - Method in class net.time4j.clock.AbstractClock
Creates a local clock in system timezone.
inPlatformView() - Method in class net.time4j.clock.AbstractClock
Creates a local clock in platform timezone.
inZonalView(TZID) - Method in class net.time4j.clock.AbstractClock
Creates a local clock in given timezone.
inZonalView(String) - Method in class net.time4j.clock.AbstractClock
Creates a local clock in given timezone.
isLogEnabled() - Method in class net.time4j.clock.NetTimeConnector
Determines if the internal logging is enabled.
isNTP4() - Method in interface net.time4j.clock.SntpConfiguration
Determines if NTP3 or NTP4 should be used.
isRunning() - Method in class net.time4j.clock.NetTimeConnector
The clock is running as soon as there was established a connection at least once.

M

MilitaryZone - Enum in net.time4j.tz.other
Represents a military timezone (used by US) where the globe is divided into fixed offset zones using the NATO phonetic alphabet.

N

net.time4j.clock - package net.time4j.clock
Contains miscellaneous clock implementations.
net.time4j.tz.other - package net.time4j.tz.other
Covers alternative or specialized timezones.
net.time4j.xml - package net.time4j.xml
Bridge to XML.
NetTimeConfiguration - Interface in net.time4j.clock
Contains the configuration parameters of a connection to an internet time server.
NetTimeConnector<C extends NetTimeConfiguration> - Class in net.time4j.clock
Represents an abstract connection object to an internet time server.
NIST - Static variable in class net.time4j.clock.DaytimeClock
Defines an instance which supports the NIST-servers using the multiple-location-address "time.nist.gov" and a specific format.

O

of(TimeSource<?>) - Static method in class net.time4j.clock.AdjustableClock
Creates a new adjustable clock for given time source.
of(UnixTime) - Static method in class net.time4j.clock.FixedClock
Creates a new fixed clock.
of(String) - Static method in class net.time4j.tz.other.WindowsZone
Creates a name reference to a windows zone.
ofSystem() - Static method in class net.time4j.clock.AdjustableClock
Yields an adjustable clock around the standard system clock.

R

reconfigure() - Method in class net.time4j.clock.NetTimeConnector
Queries the configuration parameters to be used for the next connection.
resolve(Locale) - Method in class net.time4j.tz.other.WindowsZone
Resolves this name reference to a set of various zone ids for given country.
resolveSmart(Locale) - Method in class net.time4j.tz.other.WindowsZone
Resolves this name reference to at most one zone id for given country.

S

setLogWriter(PrintWriter) - Method in class net.time4j.clock.NetTimeConnector
Installs a logging stream for any messages during connection.
SntpConfiguration - Interface in net.time4j.clock
Represents a configuration for a connection to a NTP-Server.
SntpConnector - Class in net.time4j.clock
Connects to a modern time server using the NTP-protocol.
SntpConnector() - Constructor for class net.time4j.clock.SntpConnector
Creates a new instance which is configured by a ServiceLoader.
SntpConnector(SntpConfiguration) - Constructor for class net.time4j.clock.SntpConnector
Creates a new instance which is configured by given argument.
SntpConnector(String) - Constructor for class net.time4j.clock.SntpConnector
Creates a new instance which uses a default configuration using the specified NTP4-server.
SntpMessage - Class in net.time4j.clock
Message for the SNTP-protocol (RFC 4330).

T

toString() - Method in class net.time4j.clock.AdjustableClock
For debugging purposes.
toString() - Method in class net.time4j.clock.FixedClock
For debugging purposes.
toString() - Method in class net.time4j.clock.SntpMessage
Returns a human-readable form of the internal state.
toString() - Method in enum net.time4j.tz.other.MilitaryZone
Yields the full name (for example "Alpha").
toString() - Method in class net.time4j.tz.other.WindowsZone
Returns the name of this windows zone reference.

V

valueOf(String) - Static method in enum net.time4j.tz.other.MilitaryZone
Returns the enum constant of this type with the specified name.
values() - Static method in enum net.time4j.tz.other.MilitaryZone
Returns an array containing the constants of this enum type, in the order they are declared.

W

WindowsZone - Class in net.time4j.tz.other
Represents a windows timezone name which can be mapped to an IANA/Olson-ID using a territory information.
withOffset(int, TimeUnit) - Method in class net.time4j.clock.AdjustableClock
Creates an adjusted clock which displays the current time with given time shift.
withPulse(TimeUnit) - Method in class net.time4j.clock.AdjustableClock
Creates a pulsed clock which only displays the current time in given pulse unit.

X

XML_DATE - Static variable in class net.time4j.xml.XMLAdapter
Bridge between a XML-date according to xsd:date and the type PlainDate.
XML_DATE_TIME - Static variable in class net.time4j.xml.XMLAdapter
Bridge between a XML-timestamp according to xsd:dateTime (without timezone-offset) and the type PlainTimestamp.
XML_DATE_TIME_OFFSET - Static variable in class net.time4j.xml.XMLAdapter
Bridge between a XML-timestamp according to xsd:dateTime inclusive timezone-offset and the type ZonalDateTime.
XML_DURATION - Static variable in class net.time4j.xml.XMLAdapter
Bridge between a XML-duration according to xsd:duration and the Time4J-type Duration.
XML_TIME - Static variable in class net.time4j.xml.XMLAdapter
Bridge between a XML-time according to xsd:time and the type PlainTime.
XMLAdapter<S,T> - Class in net.time4j.xml
Serves as bridge to temporal types in XML-related Java.
A C D E F G H I M N O R S T V W X 
Skip navigation links

Copyright © 2014–2016. All rights reserved.