Skip navigation links
A B C D E F G H I J K L M N O P Q R S T U V W Y Z 

A

abs() - Method in class net.time4j.Duration
Gets the absolute always non-negative copy of this duration.
abs() - Method in class net.time4j.engine.CalendarDays
Yields the absolute value of the represented calendar days.
AbstractDuration<U extends ChronoUnit> - Class in net.time4j.engine
Defines a timespan using the default algorithm of Time4J.
AbstractDuration() - Constructor for class net.time4j.engine.AbstractDuration
 
AbstractMetric<U extends ChronoUnit,P extends AbstractDuration<U>> - Class in net.time4j.engine
Represents a metric suitable for the default algorithm of Time4J.
accept(Class<?>) - Method in interface net.time4j.engine.ChronoExtension
Will be called by a java.util.ServiceLoader in order to determine if the given chronological type should register this extension or not.
accept(ChronoDisplay) - Method in class net.time4j.format.RawValues
Consumes given chronological raw values.
addTo(T) - Method in class net.time4j.engine.AbstractDuration
Adds this duration to given time point using the default algorithm.
addTo(T) - Method in interface net.time4j.engine.TimeSpan
Adds this time span to given time point.
addTo(T, long) - Method in interface net.time4j.engine.UnitRule
Adds given amount to a time point in the context of an associated time unit.
AdjustableElement<V,T> - Interface in net.time4j
Extends a chronological element by some standard ways of manipulation.
AM_PM_OF_DAY - Static variable in class net.time4j.PlainTime
Element with the half day section relative to noon (ante meridiem or post meridiem).
and(OverlapResolver) - Method in enum net.time4j.tz.GapResolver
Yields a transition strategy as combination of given overlap resolver and this instance.
and(GapResolver) - Method in enum net.time4j.tz.OverlapResolver
Yields a transition strategy as combination of given gap resolver and this instance.
appendElement(ChronoElement<V>, ElementRule<T, V>) - Method in class net.time4j.engine.CalendarFamily.Builder
 
appendElement(ChronoElement<V>, ElementRule<T, V>) - Method in class net.time4j.engine.Chronology.Builder
Registers a new element together with its associated element rule.
appendElement(ChronoElement<V>, ElementRule<T, V>) - Method in class net.time4j.engine.TimeAxis.Builder
 
appendElement(ChronoElement<V>, ElementRule<T, V>, U) - Method in class net.time4j.engine.TimeAxis.Builder
Registers a new element with associated rule and a base unit.
appendExtension(ChronoExtension) - Method in class net.time4j.engine.CalendarFamily.Builder
 
appendExtension(ChronoExtension) - Method in class net.time4j.engine.Chronology.Builder
Registers a state extension which can create models with their own state separated from standard time value context.
appendExtension(ChronoExtension) - Method in class net.time4j.engine.TimeAxis.Builder
 
appendUnit(U, UnitRule<T>, double) - Method in class net.time4j.engine.TimeAxis.Builder
Registers a non-convertible time unit with an associated unit rule.
appendUnit(U, UnitRule<T>, double, Set<? extends U>) - Method in class net.time4j.engine.TimeAxis.Builder
Registers a new time unit with an associated unit rule.
apply(T) - Method in interface net.time4j.engine.ChronoFunction
Reads and evaluates given time value context to a specific result of type R.
apply(T) - Method in interface net.time4j.engine.ChronoOperator
Adjusts given entity and yields a changed copy of argument.
apply(T) - Method in class net.time4j.engine.StdOperator
 
approximateHours(int) - Static method in class net.time4j.Duration
Yields an approximate normalizer in steps of hours which finally uses years, months, days and rounded hours.
approximateMinutes(int) - Static method in class net.time4j.Duration
Yields an approximate normalizer in steps of minutes which finally uses years, months, days, hours and rounded minutes.
approximateSeconds(int) - Static method in class net.time4j.Duration
Yields an approximate normalizer in steps of seconds which finally uses years, months, days, hours, minutes and rounded seconds.
at(ZonalOffset) - Method in class net.time4j.ElementOperator
Creates an operator which can adjust a Moment at the given timezone offset.
at(PlainTime) - Method in class net.time4j.PlainDate
Creates a new local timestamp with this date and given wall time.
at(ZonalOffset) - Method in class net.time4j.PlainTimestamp
Combines this local timestamp with the given timezone offset to a global UTC-moment.
at(ZonalOffset) - Method in interface net.time4j.ZonalElement
Creates a function which can query a Moment at the given timezone offset.
atCeiling() - Method in interface net.time4j.AdjustableElement
Rounds up an entity by setting all child elements to maximum.
atCeiling(ChronoElement<?>) - Static method in class net.time4j.engine.StdOperator
Yields an operator which rounds any entity up so that the child elements will be set to the maximum.
atEndOfMonth() - Method in enum net.time4j.CalendarUnit
Defines a variation of this unit which always sets the resulting date in additions and subtractions to the end of month even if there is no day overflow.
atEndOfQuarterYear(Quarter) - Static method in enum net.time4j.Month
Gets the last month of given quarter of year.
atFloor() - Method in interface net.time4j.AdjustableElement
Rounds down an entity by setting all child elements to minimum.
atFloor(ChronoElement<?>) - Static method in class net.time4j.engine.StdOperator
Yields an operator which rounds any entity down so that the child elements will be set to the minimum.
atLongitude(BigDecimal) - Static method in class net.time4j.tz.ZonalOffset
Creates a new shift based on a geographical longitude.
atLongitude(OffsetSign, int, int, int) - Static method in class net.time4j.tz.ZonalOffset
Creates a new shift based on a geographical longitude.
atStartOfDay() - Method in class net.time4j.PlainDate
Creates a new local timestamp with this date at midnight at the begin of associated day.
atStartOfDay(TZID) - Method in class net.time4j.PlainDate
Creates a new local timestamp with this date at earliest valid time at the begin of associated day in given timezone.
atStartOfDay(String) - Method in class net.time4j.PlainDate
Creates a new local timestamp with this date at earliest valid time at the begin of associated day in given timezone.
atStartOfQuarterYear(Quarter) - Static method in enum net.time4j.Month
Gets the first month of given quarter of year.
atTime(int, int) - Method in class net.time4j.PlainDate
Is equivalent to at(PlainTime.of(hour, minute)).
atTime(int, int, int) - Method in class net.time4j.PlainDate
Is equivalent to at(PlainTime.of(hour, minute, second)).
AttributeKey<A> - Interface in net.time4j.engine
Defines a key for a format attribute as type-safe accessor.
AttributeQuery - Interface in net.time4j.engine
Type-safe query for format attributes which control the formatting process.
Attributes - Class in net.time4j.format
A collection of format attributes for controlling the formatting and parsing.
Attributes.Builder - Class in net.time4j.format
Builds a collection of format attributes.
atUTC() - Method in class net.time4j.ElementOperator
Equivalent to at(ZonalOffset.UTC).
atUTC() - Method in class net.time4j.PlainTimestamp
Combines this local timestamp with the timezone offset UTC+00:00 to a global UTC-moment.
atUTC() - Method in interface net.time4j.ZonalElement
Equivalent to at(ZonalOffset.UTC).
axis() - Static method in class net.time4j.Moment
Provides a static access to the associated time axis respective chronology which contains the chronological rules.
axis() - Static method in class net.time4j.PlainDate
Provides a static access to the associated chronology on base of epoch days which contains the chronological rules.
axis() - Static method in class net.time4j.PlainTime
Provides a static access to the associated time axis respective chronology which contains the chronological rules.
axis() - Static method in class net.time4j.PlainTimestamp
Provides a static access to the associated time axis respective chronology which contains the chronological rules.

B

BasicElement<V extends Comparable<V>> - Class in net.time4j.engine
Abstract base implementation of a chronological element which has a name and can also define an (unregistered) element rule.
BasicUnit - Class in net.time4j.engine
Abstract time unit class which can define its own rule.
between(T, T) - Method in enum net.time4j.CalendarUnit
Calculates the temporal distance between given calendar dates in this calendar unit.
between(T, T) - Method in enum net.time4j.ClockUnit
Calculates the temporal distance between given wall times in this unit.
between(T, T) - Method in class net.time4j.engine.AbstractMetric
 
between(CalendarVariant<?>, CalendarVariant<?>) - Static method in class net.time4j.engine.CalendarDays
Calculates the delta of calendar days between given calendar variants.
between(Calendrical<?, ?>, Calendrical<?, ?>) - Static method in class net.time4j.engine.CalendarDays
Calculates the delta of calendar days between given calendrical time points.
between(T, T) - Method in interface net.time4j.engine.TimeMetric
Computes the temporal distance between two time points.
between(T, T) - Method in interface net.time4j.engine.UnitRule
Queries how many units are between given time points.
between(Moment, Moment) - Method in enum net.time4j.SI
Calculates the time distance between given time points in SI-units.
boundedWeekOfMonth() - Method in class net.time4j.Weekmodel
Defines an element for the week of month with a localized week number, constrained to the current calendar month.
boundedWeekOfYear() - Method in class net.time4j.Weekmodel
Defines an element for the week of year with a localized week number, constrained to the current calendar year.
build() - Method in class net.time4j.Duration.Builder
Creates a new duration conforming to ISO-8601.
build() - Method in class net.time4j.engine.CalendarFamily.Builder
Creates and registers a calendar family.
build() - Method in class net.time4j.engine.Chronology.Builder
Finishes the build of a new chronology.
build() - Method in class net.time4j.engine.TimeAxis.Builder
Creates and registers a time axis.
build() - Method in class net.time4j.format.Attributes.Builder
Creates a new unmodifiable collection of format attributes.
Builder() - Constructor for class net.time4j.format.Attributes.Builder
Default constructor.
Builder(Chronology<?>) - Constructor for class net.time4j.format.Attributes.Builder
Constructor for determining the calendar type.

C

CALENDAR_TYPE - Static variable in class net.time4j.format.Attributes
Attribute for the calendar type.
CALENDAR_VARIANT - Static variable in class net.time4j.format.Attributes
Defines an attribute key which can be used in queries for the calendar variant.
CalendarDateElement - Interface in net.time4j
Represents the calendar date.
CalendarDays - Class in net.time4j.engine
Represents a count of calendar days.
CalendarEra - Interface in net.time4j.engine
Represents an era in a calendar system.
CalendarFamily<T extends CalendarVariant<T>> - Class in net.time4j.engine
Represents a set of various calendar systems as members of a family.
CalendarFamily.Builder<T extends CalendarVariant<T>> - Class in net.time4j.engine
Creates a builder for a new calendar family and will only be used during loading a class of a calendar variant in a static initializer.
CalendarSystem<D> - Interface in net.time4j.engine
Represents a calendar system which can map a calendar date to a day number corresponding to the count of days elapsed since UTC epoch [1972-01-01].
CalendarText - Class in net.time4j.format
Source for localized calendrical informations on enum basis like month or weekday names.
CalendarType - Annotation Type in net.time4j.format
This Annotation can be used to mark all types of ChronoEntity which need formatted representations and access to text resources dependent on a calendar system.
CalendarUnit - Enum in net.time4j
Represents the most common time units related to a standard ISO-8601-calendar.
CalendarVariant<D extends CalendarVariant<D>> - Class in net.time4j.engine
Represents an immutable calendar variant.
CalendarVariant() - Constructor for class net.time4j.engine.CalendarVariant
 
Calendrical<U,D extends Calendrical<U,D>> - Class in net.time4j.engine
Abstract base class of all plain calendar date types which are convertible via their day epoch numbers.
Calendrical() - Constructor for class net.time4j.engine.Calendrical
 
canonical() - Method in interface net.time4j.tz.TZID
Represents the full canonical name of a timezone (for example "Europe/Paris" or "UTC+01:00").
canonical() - Method in class net.time4j.tz.ZonalOffset
Returns a long canonical representation of this shift.
checkDate(int, int, int) - Static method in class net.time4j.base.GregorianMath
Checks the range limits of date values according to the rules of gregorian calendar.
ChronoCondition<T> - Interface in net.time4j.engine
Represents a temporal condition.
ChronoDisplay - Interface in net.time4j.engine
Represents a view on a set of chronological elements associated with their temporal values.
ChronoElement<V> - Interface in net.time4j.engine
Represents a chronological element which refers to a partial value of the whole temporal value and mainly serves for formatting purposes (as a carrier of a chronological information).
ChronoEntity<T extends ChronoEntity<T>> - Class in net.time4j.engine
Represents a temporal object which associates partial temporal values with chronological elements and also allows some manipulations of these element values.
ChronoEntity() - Constructor for class net.time4j.engine.ChronoEntity
 
ChronoException - Exception in net.time4j.engine
Indicates a chronological error situation.
ChronoException(String) - Constructor for exception net.time4j.engine.ChronoException
Creates a new instanceo of ChronoException with given error message.
ChronoException(String, Exception) - Constructor for exception net.time4j.engine.ChronoException
Creates a new instanceo of ChronoException with given error message and the cause.
ChronoExtension - Interface in net.time4j.engine
Defines a configuration-dependent extension of the chronological elements of a Chronology.
ChronoFunction<T,R> - Interface in net.time4j.engine
Represents any temporal query using the strategy pattern approach.
Chronology<T extends ChronoEntity<T>> - Class in net.time4j.engine
Represents a system of chronological elements which form any kind of temporal value.
Chronology.Builder<T extends ChronoEntity<T>> - Class in net.time4j.engine
Builder for creating a new chronology without any time axis.
ChronoMerger<T> - Interface in net.time4j.engine
Merges any set of chronological informations to a new chronological entity.
ChronoOperator<T> - Interface in net.time4j.engine
Applies a functional calculation on chronological entities and yields the result as changed copy.
ChronoPattern<P extends ChronoPattern<P>> - Interface in net.time4j.format
Allows a flexible interpretation of symbols in format patterns.
ChronoUnit - Interface in net.time4j.engine
External time units which are not registered on any chronology (time axis) can implement this interface in order to support standard calculations in time spans and symbol formatting.
clearCache() - Static method in class net.time4j.format.CalendarText
Clears the internal cache.
CLOCK - Static variable in class net.time4j.TemporalType
Bridge between the JSR-310-class java.time.Clock and the class net.time4j.base.TimeSource.
CLOCK_HOUR_OF_AMPM - Static variable in class net.time4j.PlainTime
Element with the hour of half day in the value range 1-12 (dial on an analogue watch).
CLOCK_HOUR_OF_DAY - Static variable in class net.time4j.PlainTime
Element with the hour in the value range 1-24 (analogue display).
ClockUnit - Enum in net.time4j
Represents the most common time units on an ISO-8601-conforming analogue clock counting the scale ticks.
comparator(T) - Static method in class net.time4j.Duration
Creates a Comparator which compares durations based on their lengths.
compare(U, U) - Method in class net.time4j.engine.AbstractMetric
Compares time units by their length in descending order.
compare(ChronoDisplay, ChronoDisplay) - Method in class net.time4j.engine.BasicElement
Compares the values of this element based on their natural order.
compare(ChronoDisplay, ChronoDisplay) - Method in interface net.time4j.engine.ChronoElement
Applies an element-orientated sorting of any chronological entities.
compare(ChronoDisplay, ChronoDisplay) - Method in enum net.time4j.engine.EpochDays
 
compare(U, U) - Method in class net.time4j.engine.TimeAxis
Compares time units by ascending precision (that is descending length).
compare(ChronoDisplay, ChronoDisplay) - Method in enum net.time4j.engine.ValidationElement
 
compare(LeapSecondEvent, LeapSecondEvent) - Method in class net.time4j.scale.LeapSeconds
Compares two leap second events by their date in ascending order.
compareTo(CalendarDays) - Method in class net.time4j.engine.CalendarDays
 
compareTo(D) - Method in class net.time4j.engine.CalendarVariant
Compares two calendar variants preferably by their temporal positions on the common date axis and then by their variant names.
compareTo(D) - Method in class net.time4j.engine.Calendrical
Defines a total respective natural order.
compareTo(T) - Method in class net.time4j.engine.TimePoint
Compares two time points preferably by their temporal positions on the common time axis.
compareTo(Moment) - Method in class net.time4j.Moment
 
compareTo(PlainTime) - Method in class net.time4j.PlainTime
Defines a natural order which is solely based on the timeline order.
compareTo(PlainTimestamp) - Method in class net.time4j.PlainTimestamp
Defines the temporal order of date and time as natural order.
compareTo(ZonalOffset) - Method in class net.time4j.tz.ZonalOffset
Compares the whole state with sign, hours, minutes, seconds and fractional seconds in ascending order.
compareTo(ZonalTransition) - Method in class net.time4j.tz.ZonalTransition
Compares preferrably the timeline order based on the global timestamps of transitions, otherwise the total shift and finally the DST-shift.
COMPONENT - Static variable in class net.time4j.PlainDate
Element with the calendar date in the value range [-999999999-01-01] until [+999999999-12-31].
COMPONENT - Static variable in class net.time4j.PlainTime
Element with the wall time in the value range [T00:00:00,000000000] until [T24:00:00,000000000] (inclusive in the context of PlainTime else exclusive).
compose(Duration<CalendarUnit>, Duration<ClockUnit>) - Static method in class net.time4j.Duration
Creates a composition of a calendar period and a clock period.
contains(IsoUnit) - Method in class net.time4j.Duration
Queries if this duration contains given time unit.
contains(U) - Method in class net.time4j.engine.AbstractDuration
 
contains(AttributeKey<?>) - Method in interface net.time4j.engine.AttributeQuery
Queries if a format attribute exists for given key.
contains(ChronoElement<?>) - Method in interface net.time4j.engine.ChronoDisplay
Queries if the value for given chronological element can be accessed via get(element).
contains(ChronoElement<?>) - Method in class net.time4j.engine.ChronoEntity
 
contains(U) - Method in interface net.time4j.engine.TimeSpan
Queries if given time unit is part of this time span.
contains(AttributeKey<?>) - Method in class net.time4j.format.Attributes
 
contains(ChronoElement<?>) - Method in class net.time4j.ZonalDateTime
 
convert(long, ClockUnit) - Method in enum net.time4j.ClockUnit
Converts the given duration to a temporal amount measured in this unit.
convert(TimeSpan<? extends ClockUnit>) - Method in enum net.time4j.ClockUnit
Converts the given duration to an amount in this unit and performs any necessary truncation if needed.
create(Class<T>, String, P, Locale) - Method in interface net.time4j.format.FormatEngine
Creates a new temporal format object applicable on given chronological type.
createFrom(TimeSource<?>, AttributeQuery) - Method in class net.time4j.engine.Chronology
 
createFrom(TemporalAccessor, AttributeQuery) - Method in class net.time4j.engine.Chronology
 
createFrom(ChronoEntity<?>, AttributeQuery, boolean) - Method in class net.time4j.engine.Chronology
 
createFrom(TimeSource<?>, AttributeQuery) - Method in interface net.time4j.engine.ChronoMerger
Creates a new entity which reflects current time.
createFrom(ChronoEntity<?>, AttributeQuery, boolean) - Method in interface net.time4j.engine.ChronoMerger
Creates a new entity of type T based on given chronological data.
createFrom(TemporalAccessor, AttributeQuery) - Method in interface net.time4j.engine.ChronoMerger
Creates a new entity of type T based on given chronological data.
createRFC1123() - Method in interface net.time4j.format.FormatEngine
Creates a specialized formatter for RFC-1123.
currentMoment() - Static method in class net.time4j.SystemClock
Equivalent to SystemClock.INSTANCE.currentTime().
currentTime() - Method in interface net.time4j.base.TimeSource
Yields the current time.
currentTime() - Method in class net.time4j.SystemClock
 
currentTimeInMicros() - Method in class net.time4j.SystemClock
Yields the current time in microseconds elapsed since [1970-01-01T00:00:00,000000Z].
currentTimeInMillis() - Method in class net.time4j.SystemClock
Yields the current time in milliseconds elapsed since [1970-01-01T00:00:00,000Z].

D

DAY_OF_MONTH - Static variable in class net.time4j.PlainDate
Element with the day of month in the value range 1-28/29/30/31.
DAY_OF_QUARTER - Static variable in class net.time4j.PlainDate
Element with the day within a quarter of year in the value range 1-90/91/92.
DAY_OF_WEEK - Static variable in class net.time4j.PlainDate
Element with the day of week in the value range MONDAY-SUNDAY.
DAY_OF_YEAR - Static variable in class net.time4j.PlainDate
Element with the day of year in the value range 1-365/366).
DayCycles - Class in net.time4j
Represents the rolling result of a plain time if a possible day overflow is to be taken into account.
days(int) - Method in class net.time4j.Duration.Builder
Adds a day item.
DECIMAL_HOUR - Static variable in class net.time4j.PlainTime
Decimal hour in the value range 0.0 inclusive until 24.0 exclusive (inclusive in PlainTime).
DECIMAL_MINUTE - Static variable in class net.time4j.PlainTime
Decimal minute in the value range 0.0 inclusive until 60.0 exclusive.
DECIMAL_SECOND - Static variable in class net.time4j.PlainTime
Decimal second in the value range 0.0 inclusive until 60.0 exclusive.
DECIMAL_SEPARATOR - Static variable in class net.time4j.format.Attributes
Determines the unicode char for the decimal separator.
decremented() - Method in interface net.time4j.AdjustableElement
Adjusts any local entity such that this element gets the previous value.
decremented(ChronoElement<?>) - Static method in class net.time4j.engine.StdOperator
Yields a new operator which can set any entity such that its actual element value gets the decremented value.
DEFAULT - Static variable in interface net.time4j.format.NumberSymbolProvider
Default provider which delegates to standard JVM resources.
DEFAULT_CONFLICT_STRATEGY - Static variable in class net.time4j.tz.Timezone
This standard strategy which is also used by the JDK-class java.util.GregorianCalendar subtracts the next defined offset from any local timestamp in order to calculate the global time while pushing forward an invalid local time.
DIGITAL_HOUR_OF_AMPM - Static variable in class net.time4j.PlainTime
Element with the digital hour of half day in the value range 0-11.
DIGITAL_HOUR_OF_DAY - Static variable in class net.time4j.PlainTime
Element with the digital hour in the value range 0-23.
DisplayMode - Enum in net.time4j.format
Defines how many details will be displayed in chronological texts.
dump(Appendable) - Method in class net.time4j.tz.Timezone
Creates a dump of this timezone and writes it to the given buffer.
dump(Appendable) - Method in interface net.time4j.tz.TransitionHistory
Creates a dump of this history and writes it to the given buffer.
Duration<U extends IsoUnit> - Class in net.time4j
ISO-8601-compatible duration between two time points.
Duration.Builder - Class in net.time4j
Builder class for constructing a duration conforming to ISO-8601 which consists of years, months, days and any wall time units.
Duration.Formatter<U extends IsoUnit> - Class in net.time4j
Non-localized and user-defined format for durations based on a pattern containing some standard symbols and literals.

E

element() - Method in class net.time4j.engine.TimeAxis
Yields this time axis as chronological self-referencing element.
ElementOperator<T> - Class in net.time4j
Defines any manipulation of date or wall time objects following the strategy design pattern.
ElementRule<T,V> - Interface in net.time4j.engine
Represents the rule of a chronological element how to calculate or to manipulate its context-dependent temporal value.
empty() - Static method in class net.time4j.format.Attributes
Represents an empty collection of format attributes.
enhance(long) - Method in class net.time4j.scale.LeapSeconds
Enhances an UNIX-timestamp with leap seconds and converts it to an UTC-timestamp.
EpochDays - Enum in net.time4j.engine
Defines elements based on different epoch-related day numbers.
equals(Object) - Method in class net.time4j.Duration
Based on all stored duration items and the sign.
equals(Object) - Method in class net.time4j.engine.BasicElement
Based on equality of element names AND element classes.
equals(Object) - Method in class net.time4j.engine.CalendarDays
 
equals(Object) - Method in class net.time4j.engine.CalendarVariant
Compares the whole state of this instance with given object.
equals(Object) - Method in class net.time4j.engine.Calendrical
Based on the epoch day number and the calendar system.
equals(Object) - Method in class net.time4j.engine.TimePoint
Compares the whole state of this instance with given object.
equals(Object) - Method in class net.time4j.engine.TimeSpan.Item
 
equals(Object) - Method in class net.time4j.format.Attributes
Compares all internal format attributes.
equals(Object) - Method in class net.time4j.Moment
 
equals(Object) - Method in class net.time4j.PlainTime
Compares the full state, that is hour, minute, second and nanosecond of this instance and given argument.
equals(Object) - Method in class net.time4j.PlainTimestamp
 
equals(Object) - Method in class net.time4j.tz.ZonalOffset
Compares the whole state.
equals(Object) - Method in class net.time4j.tz.ZonalTransition
Based on the whole state with global POSIX-timestamp and all internal shifts.
equals(Object) - Method in class net.time4j.Weekmodel
Compares on the base of internal week rules.
equals(Object) - Method in class net.time4j.ZonalDateTime
 
eras(String, Locale, TextWidth) - Method in interface net.time4j.format.TextProvider
EVENING - Static variable in class net.time4j.engine.StartOfDay
Start of calendar day at 18:00 on previous day.
EXTERNAL_RESOURCE_LOADER - Static variable in class net.time4j.base.ResourceLoader
Name der system property, über die eine externe Instanz verwendet wird.
ExtZoneProvider - Interface in net.time4j.tz
Deprecated.
Use the super interface ZoneProvider instead.

F

FINAL_UTC_LEAPSECONDS - Static variable in class net.time4j.scale.LeapSeconds
System property "net.time4j.scale.leapseconds.final" which determines that leap seconds can be loaded only one time at system start.
firstDayOfNextMonth() - Method in interface net.time4j.CalendarDateElement
Adjusts a calendar date to the first day of next month.
firstDayOfNextQuarter() - Method in interface net.time4j.CalendarDateElement
Adjusts a calendar date to the first day of next quarter year.
firstDayOfNextYear() - Method in interface net.time4j.CalendarDateElement
Adjusts a calendar date to the first day of next year.
floorDivide(int, int) - Static method in class net.time4j.base.MathUtils
Returns the largest lower limit of quotient.
floorDivide(long, int) - Static method in class net.time4j.base.MathUtils
floorModulo(int, int) - Static method in class net.time4j.base.MathUtils
Calculates the remainder based on MathUtils.floorDivide(int, int).
floorModulo(long, int) - Static method in class net.time4j.base.MathUtils
format(Duration<?>) - Method in class net.time4j.Duration.Formatter
Creates a textual output of given duration.
format(TemporalAmount) - Method in class net.time4j.Duration.Formatter
Creates a textual output of given temporal amount.
format(T) - Method in interface net.time4j.format.TemporalFormatter
Prints given chronological entity as formatted text.
FormatEngine<P extends ChronoPattern<P>> - Interface in net.time4j.format
This SPI-interface allows the creation of temporal formats via a builder-approach.
FormattableElement - Annotation Type in net.time4j.engine
This Annotation can be used to document all chronological elements which allow formatted representations.
formatter(String) - Static method in class net.time4j.Duration
formatter(Class<U>, String) - Static method in class net.time4j.Duration
formatter(String, P, Locale, TZID) - Static method in class net.time4j.Moment
Creates a new formatter which uses the given pattern and locale for formatting and parsing moments in given timezone.
formatter(DisplayMode, Locale, TZID) - Static method in class net.time4j.Moment
Creates a new formatter which uses the given display mode and locale for formatting and parsing moments in given timezone.
formatter(String, P, Locale) - Static method in class net.time4j.PlainDate
Creates a new formatter which uses the given pattern and locale for formatting and parsing plain dates.
formatter(DisplayMode, Locale) - Static method in class net.time4j.PlainDate
Creates a new formatter which uses the given display mode and locale for formatting and parsing plain dates.
formatter(String, P, Locale) - Static method in class net.time4j.PlainTime
Creates a new formatter which uses the given pattern and locale for formatting and parsing plain times.
formatter(DisplayMode, Locale) - Static method in class net.time4j.PlainTime
Creates a new formatter which uses the given display mode and locale for formatting and parsing plain times.
formatter(String, P, Locale) - Static method in class net.time4j.PlainTimestamp
Creates a new formatter which uses the given pattern and locale for formatting and parsing plain timestamps.
formatterRFC1123() - Static method in class net.time4j.Moment
Defines the RFC-1123-format which is for example used in mail headers.
formatToBuffer(T, Appendable) - Method in interface net.time4j.format.TemporalFormatter
Prints given chronological entity as formatted text and writes it to given buffer.
FRACTION - Static variable in class net.time4j.Moment
Represents the nano-fraction of current second.
from(TemporalAmount) - Static method in class net.time4j.Duration
Tries to convert given temporal amount to a duration.
from(Duration) - Static method in class net.time4j.Duration
Short cut for TemporalType.THREETEN_DURATION.translate(threetenDuration).
from(Period) - Static method in class net.time4j.Duration
Short cut for TemporalType.THREETEN_PERIOD.translate(threetenPeriod).
from(UnixTime) - Static method in class net.time4j.Moment
Common conversion method.
from(Instant) - Static method in class net.time4j.Moment
Short cut for TemporalType.INSTANT.translate(instant).
from(GregorianDate) - Static method in class net.time4j.PlainDate
Common conversion method for proleptic gregorian dates.
from(LocalDate) - Static method in class net.time4j.PlainDate
Short cut for TemporalType.LOCAL_DATE.translate(date).
from(WallTime) - Static method in class net.time4j.PlainTime
Common conversion method.
from(LocalTime) - Static method in class net.time4j.PlainTime
Short cut for TemporalType.LOCAL_TIME.translate(time).
from(LocalDateTime) - Static method in class net.time4j.PlainTimestamp
Short cut for TemporalType.LOCAL_DATE_TIME.translate(ldt).
from(T) - Method in class net.time4j.TemporalType
Converts the Time4J-type to an external type.
from(ZonedDateTime) - Static method in class net.time4j.ZonalDateTime
Short cut for TemporalType.ZONED_DATE_TIME.translate(zdt).

G

GapResolver - Enum in net.time4j.tz
Represents the component of a transition strategy how to handle gaps on the local timeline.
get(AttributeKey<A>) - Method in interface net.time4j.engine.AttributeQuery
Yields a format attribute for given key.
get(AttributeKey<A>, A) - Method in interface net.time4j.engine.AttributeQuery
Yields a format attribute for given key.
get(ChronoElement<V>) - Method in interface net.time4j.engine.ChronoDisplay
Returns the partial value associated with given chronological element.
get(ChronoElement<V>) - Method in class net.time4j.engine.ChronoEntity
 
get(ChronoFunction<? super T, R>) - Method in class net.time4j.engine.ChronoEntity
Lets given query evaluate this entity.
get(TemporalField) - Method in interface net.time4j.engine.ThreetenAdapter
 
get(AttributeKey<A>) - Method in class net.time4j.format.Attributes
 
get(AttributeKey<A>, A) - Method in class net.time4j.format.Attributes
 
get() - Method in class net.time4j.format.RawValues
Yields the chronological raw values.
get(ChronoElement<V>) - Method in class net.time4j.ZonalDateTime
 
getAbsoluteHours() - Method in class net.time4j.tz.ZonalOffset
Returns the hour part of this shift as absolute amount.
getAbsoluteMinutes() - Method in class net.time4j.tz.ZonalOffset
Returns the minute part of this shift as absolute amount.
getAbsoluteSeconds() - Method in class net.time4j.tz.ZonalOffset
Returns the second part of this shift as absolute amount.
getAliases() - Method in interface net.time4j.tz.ZoneProvider
Gets an alias table whose keys represent alternative identifiers mapped to other aliases or finally canonical timezone IDs..
getAmount() - Method in class net.time4j.engine.CalendarDays
Yields the calendar days as primitive.
getAmount() - Method in class net.time4j.engine.TimeSpan.Item
Yields the non-negative amount.
getAttributes() - Method in interface net.time4j.format.TemporalFormatter
Determines all global format attributes if available.
getAvailableIDs() - Static method in class net.time4j.tz.Timezone
Gets all available timezone IDs.
getAvailableIDs(String) - Static method in class net.time4j.tz.Timezone
Gets all available timezone IDs for given ZoneProvider.
getAvailableIDs() - Method in interface net.time4j.tz.ZoneProvider
Gets all available and supported timezone identifiers.
getAvailableLocales() - Method in interface net.time4j.format.NumberSymbolProvider
Yields the supported languages.
getAvailableLocales() - Method in interface net.time4j.format.TextProvider
Yields the supported languages.
getBaseUnit(ChronoElement<?>) - Method in class net.time4j.engine.TimeAxis
Returns the base unit of given element if available.
getCalendarDate() - Method in class net.time4j.PlainTimestamp
Provides the calendar date part.
getCalendarSystem() - Method in class net.time4j.engine.CalendarFamily
 
getCalendarSystem(String) - Method in class net.time4j.engine.CalendarFamily
 
getCalendarSystem() - Method in class net.time4j.engine.Chronology
Returns the associated calendar system if available.
getCalendarSystem(String) - Method in class net.time4j.engine.Chronology
Returns the calendar system for given calendar variant if available.
getCalendarSystem() - Method in class net.time4j.engine.TimeAxis
 
getCategory(long) - Method in class net.time4j.format.PluralRules
Determines the plural category for given number of units.
getChildAtCeiling(T) - Method in interface net.time4j.engine.ElementRule
Yields the child element whose value is to be set to the maximum value.
getChildAtFloor(T) - Method in interface net.time4j.engine.ElementRule
Yields the child element whose value is to be set to the minimum value.
getChronoType() - Method in class net.time4j.engine.Chronology
Returns the chronological type.
getConflictTransition(GregorianDate, WallTime) - Method in interface net.time4j.tz.TransitionHistory
Returns the conflict transition where given local timestamp falls either in a gap or in an overlap on the local timeline.
getControl() - Method in interface net.time4j.format.TextProvider
Returns a suitable object for controlling access to resources.
getCount() - Method in class net.time4j.scale.LeapSeconds
Yields the count of all registered leap seconds.
getDate() - Method in interface net.time4j.scale.LeapSecondEvent
Returns the date of leapsecond introduction.
getDateOfEvent(int, int, int) - Method in interface net.time4j.scale.LeapSecondProvider
Creates the date of a leap second event.
getDateOfExpiration() - Method in interface net.time4j.scale.LeapSecondProvider
Determines the expiration date of underlying data.
getDateOfExpiration() - Method in class net.time4j.scale.LeapSeconds
Determines the expiration date of underlying data.
getDaylightSavingOffset(UnixTime) - Method in class net.time4j.tz.Timezone
Calculates the dst-offset for given global timestamp.
getDaylightSavingOffset() - Method in class net.time4j.tz.ZonalTransition
Returns the DST-shift (daylight savings) after this transition that is the shift induced by change to summer time.
getDayOfMonth() - Method in interface net.time4j.base.GregorianDate
Yields the day of month.
getDayOfMonth() - Method in class net.time4j.PlainDate
 
getDayOfMonth() - Method in class net.time4j.PlainTimestamp
 
getDayOfWeek(int, int, int) - Static method in class net.time4j.base.GregorianMath
Returns the day of week for given gregorian date.
getDayOverflow() - Method in class net.time4j.DayCycles
Gets the day overflow after rolling a plain time.
getDayPattern(Locale, TextWidth, PluralCategory) - Method in interface net.time4j.format.UnitPatternProvider
Yields the localized unit pattern with unit name and a placeholder "{0}" for the count of days.
getDayPattern(Locale, boolean, PluralCategory) - Method in interface net.time4j.format.UnitPatternProvider
Yields the localized unit pattern with unit name and a placeholder "{0}" for the count of days in the past or future.
getDecimalSeparator(Locale) - Method in interface net.time4j.format.NumberSymbolProvider
Returns the localized decimal separator.
getDefaultMaximum() - Method in interface net.time4j.engine.ChronoElement
Returns the default maximum of this element which is not dependent on the chronological context.
getDefaultMaximum() - Method in enum net.time4j.engine.EpochDays
 
getDefaultMaximum() - Method in enum net.time4j.engine.ValidationElement
 
getDefaultMinimum() - Method in interface net.time4j.engine.ChronoElement
Returns the default minimum of this element which is not dependent on the chronological context.
getDefaultMinimum() - Method in enum net.time4j.engine.EpochDays
 
getDefaultMinimum() - Method in enum net.time4j.engine.ValidationElement
 
getDefaultPatternType() - Method in interface net.time4j.format.FormatEngine
Yields the default pattern type.
getDeviation(Calendrical<?, ?>, TZID) - Method in class net.time4j.engine.StartOfDay
Yields the start of given calendar day relative to midnight in seconds.
getDisplayName(Locale) - Method in enum net.time4j.Meridiem
Gets a descriptive text in given language.
getDisplayName(Locale) - Method in enum net.time4j.Month
Equivalent to the expression getDisplayName(locale, TextWidth.WIDE, OutputContext.FORMAT).
getDisplayName(Locale, TextWidth, OutputContext) - Method in enum net.time4j.Month
Gets the description text dependent on the locale and style parameters.
getDisplayName(Locale) - Method in enum net.time4j.Quarter
Equivalent to the expression getDisplayName(locale, TextWidth.WIDE, OutputContext.FORMAT).
getDisplayName(Locale, TextWidth, OutputContext) - Method in enum net.time4j.Quarter
Gets the description text dependent on the locale and style parameters.
getDisplayName(NameStyle, Locale) - Method in class net.time4j.tz.Timezone
Returns the name of this timezone suitable for presentation to users in given style and locale.
getDisplayName(String, NameStyle, Locale) - Method in interface net.time4j.tz.ZoneProvider
Returns the name of this timezone suitable for presentation to users in given style and locale.
getDisplayName(Locale) - Method in enum net.time4j.Weekday
Equivalent to the expression getDisplayName(locale, TextWidth.WIDE, OutputContext.FORMAT).
getDisplayName(Locale, TextWidth, OutputContext) - Method in enum net.time4j.Weekday
Gets the description text dependent on the locale and style parameters.
getElapsedTime(TimeScale) - Method in class net.time4j.Moment
 
getElapsedTime(TimeScale) - Method in interface net.time4j.scale.UniversalTime
Represents this timestamp as elpased seconds on given time scale.
getElapsedTime(TimeScale) - Method in class net.time4j.ZonalDateTime
 
getElements(Locale, AttributeQuery) - Method in interface net.time4j.engine.ChronoExtension
Returns the element set for given configuration.
getEndOfWeekend(Locale) - Method in interface net.time4j.format.WeekdataProvider
Defines the last day of weekend.
getEndOfWeekend() - Method in class net.time4j.Weekmodel
Defines the last day of weekend.
getEras() - Method in interface net.time4j.engine.CalendarSystem
Yields an enumeration of valid eras in ascending order.
getEras(TextWidth) - Method in class net.time4j.format.CalendarText
Yields an Accessor for all era names.
getExtensions() - Method in class net.time4j.engine.Chronology
Returns all registered chronological extensions.
getFallback() - Method in interface net.time4j.tz.ZoneProvider
Determines if in case of a failed search another ZoneProvider should be called as alternative with possibly different rules.
getFirstDayOfWeek(Locale) - Method in interface net.time4j.format.WeekdataProvider
Defines the first day of a calendar week.
getFirstDayOfWeek() - Method in class net.time4j.Weekmodel
Defines the first day of the calendar week in this model.
getFirstWorkday() - Method in class net.time4j.Weekmodel
Gets the first working day as first day after end of weekend.
getFormatEngine() - Method in interface net.time4j.format.ChronoPattern
Yields the format engine this pattern is designed for.
getFormatEngine() - Method in enum net.time4j.Platform
 
getFractionalAmount() - Method in class net.time4j.tz.ZonalOffset
Returns the fractional second part of this shift in nanoseconds.
getGMTPrefix(Locale) - Static method in class net.time4j.format.CalendarText
Yields the localized GMT-prefix which is used in the localized GMT format of CLDR.
getHistory() - Method in class net.time4j.tz.Timezone
Gets the underlying offset transitions and rules if available.
getHour() - Method in interface net.time4j.base.WallTime
Yields the hour of day.
getHour() - Method in class net.time4j.PlainTime
 
getHour() - Method in class net.time4j.PlainTimestamp
 
getHourPattern(Locale, TextWidth, PluralCategory) - Method in interface net.time4j.format.UnitPatternProvider
Yields the localized unit pattern with unit name and a placeholder "{0}" for the count of hours.
getHourPattern(Locale, boolean, PluralCategory) - Method in interface net.time4j.format.UnitPatternProvider
Yields the localized unit pattern with unit name and a placeholder "{0}" for the count of hours in the past or future.
getID() - Method in class net.time4j.tz.Timezone
Gets the associated timezone identifier.
getInitialOffset() - Method in interface net.time4j.tz.TransitionHistory
Return the initial offset no matter if there are any transitions defined or not.
getInstance() - Static method in class net.time4j.base.ResourceLoader
Applications should never use the constructor but this static method to achieve a general instance.
getInstance(Chronology<?>, Locale) - Static method in class net.time4j.format.CalendarText
Returns an instance of CalendarText for given chronology and language.
getInstance(String, Locale) - Static method in class net.time4j.format.CalendarText
Returns an instance of CalendarText for given calendar type and language.
getInstance() - Static method in class net.time4j.scale.LeapSeconds
Returns the singleton instance.
getIntegralAmount() - Method in class net.time4j.tz.ZonalOffset
Total shift in integer seconds without fractional part.
getLeapMonths(TextWidth, OutputContext) - Method in class net.time4j.format.CalendarText
Yields an Accessor for all months if a leap month is relevant.
getLeapSecondTable() - Method in interface net.time4j.scale.LeapSecondProvider
Yields all UTC-leapseconds with date and sign.
getLength() - Method in interface net.time4j.engine.ChronoUnit
Defines the typical length of this time unit in seconds without taking into account anomalies like timezone effects or leap seconds.
getLength(U) - Method in class net.time4j.engine.TimeAxis
Returns the length of given time unit in seconds as it is usual or estimated on this time axis.
getLength(int) - Method in enum net.time4j.Month
Calculates the maximum length of this month in days dependent on given year (taking into account leap years).
getLength() - Method in enum net.time4j.SI
 
getLengthOfMonth(int, int) - Static method in class net.time4j.base.GregorianMath
Determines the maximum length of month in days dependent on given year (leap years!)
getListPattern(Locale, TextWidth, int) - Method in interface net.time4j.format.UnitPatternProvider
Constructs a localized list pattern suitable for the use in MessageFormat.format(String, Object[]).
getLocale() - Method in class net.time4j.PrettyTime
Gets the language of this instance.
getLocation() - Method in interface net.time4j.tz.ZoneProvider
Describes the location or source of the repository.
getLong(TemporalField) - Method in interface net.time4j.engine.ThreetenAdapter
 
getMaximum(ChronoElement<V>) - Method in interface net.time4j.engine.ChronoDisplay
Yields the maximum value of given chronological element in the current context of this object.
getMaximum(ChronoElement<V>) - Method in class net.time4j.engine.ChronoEntity
 
getMaximum(T) - Method in interface net.time4j.engine.ElementRule
Yields the maximum value suitable for given chronological context.
getMaximum() - Method in class net.time4j.engine.TimeAxis
Yields the maximum of this time axis.
getMaximum(ChronoElement<V>) - Method in class net.time4j.ZonalDateTime
 
getMaximumSinceUTC() - Method in interface net.time4j.engine.CalendarSystem
Gets the maximum day number as count of days since the introduction of UTC [1972-01-01].
getMeridiems(TextWidth) - Method in class net.time4j.format.CalendarText
Yields an Accessor for all am/pm-names.
getMicroPattern(Locale, TextWidth, PluralCategory) - Method in interface net.time4j.format.UnitPatternProvider
Yields the localized unit pattern with unit name and a placeholder "{0}" for the count of microseconds.
getMilliPattern(Locale, TextWidth, PluralCategory) - Method in interface net.time4j.format.UnitPatternProvider
Yields the localized unit pattern with unit name and a placeholder "{0}" for the count of milliseconds.
getMinimalDaysInFirstWeek(Locale) - Method in interface net.time4j.format.WeekdataProvider
Defines the minimum count of days which the first calendar week of the year or month must contain.
getMinimalDaysInFirstWeek() - Method in class net.time4j.Weekmodel
Defines the minimum count of days the first calendar week of year (or month) must contain.
getMinimum(ChronoElement<V>) - Method in interface net.time4j.engine.ChronoDisplay
Yields the minimum value of given chronological element in the current context of this object.
getMinimum(ChronoElement<V>) - Method in class net.time4j.engine.ChronoEntity
 
getMinimum(T) - Method in interface net.time4j.engine.ElementRule
Yields the minimum value suitable for given chronological context.
getMinimum() - Method in class net.time4j.engine.TimeAxis
Yields the minimum of this time axis.
getMinimum(ChronoElement<V>) - Method in class net.time4j.ZonalDateTime
 
getMinimumSinceUTC() - Method in interface net.time4j.engine.CalendarSystem
Gets the minimum day number as count of days since the introduction of UTC [1972-01-01].
getMinusSign(Locale) - Method in interface net.time4j.format.NumberSymbolProvider
Returns the localized minus sign.
getMinute() - Method in interface net.time4j.base.WallTime
Liefert die Minute (der aktuellen Stunde).
getMinute() - Method in class net.time4j.PlainTime
 
getMinute() - Method in class net.time4j.PlainTimestamp
 
getMinutePattern(Locale, TextWidth, PluralCategory) - Method in interface net.time4j.format.UnitPatternProvider
Yields the localized unit pattern with unit name and a placeholder "{0}" for the count of minutes.
getMinutePattern(Locale, boolean, PluralCategory) - Method in interface net.time4j.format.UnitPatternProvider
Yields the localized unit pattern with unit name and a placeholder "{0}" for the count of minutes in the past or future.
getMonth() - Method in interface net.time4j.base.GregorianDate
Yields the gregorian month as integer.
getMonth() - Method in class net.time4j.PlainDate
 
getMonth() - Method in class net.time4j.PlainTimestamp
 
getMonthPattern(Locale, TextWidth, PluralCategory) - Method in interface net.time4j.format.UnitPatternProvider
Yields the localized unit pattern with unit name and a placeholder "{0}" for the count of months.
getMonthPattern(Locale, boolean, PluralCategory) - Method in interface net.time4j.format.UnitPatternProvider
Yields the localized unit pattern with unit name and a placeholder "{0}" for the count of months in the past or future.
getName() - Method in interface net.time4j.tz.ZoneProvider
Gets the name of the underlying repository.
getNanoPattern(Locale, TextWidth, PluralCategory) - Method in interface net.time4j.format.UnitPatternProvider
Yields the localized unit pattern with unit name and a placeholder "{0}" for the count of nanoseconds.
getNanos() - Method in interface net.time4j.scale.TickProvider
Generates a count of nanoseconds.
getNanosecond() - Method in interface net.time4j.base.UnixTime
Yields the nanosecond fraction of current second.
getNanosecond() - Method in interface net.time4j.base.WallTime
Yields the nanosecond.
getNanosecond() - Method in class net.time4j.Moment
 
getNanosecond(TimeScale) - Method in class net.time4j.Moment
 
getNanosecond() - Method in class net.time4j.PlainTime
 
getNanosecond() - Method in class net.time4j.PlainTimestamp
 
getNanosecond(TimeScale) - Method in interface net.time4j.scale.UniversalTime
Represents the nanosecond part on the given time scale.
getNanosecond(TimeScale) - Method in class net.time4j.ZonalDateTime
 
getNanosecond() - Method in class net.time4j.ZonalDateTime
 
getNextEvent(long) - Method in class net.time4j.scale.LeapSeconds
Yields the next leap second event after given UTC time point.
getNextTransition(UnixTime) - Method in interface net.time4j.tz.TransitionHistory
Queries the next transition after given global timestamp.
getNowWord(Locale) - Method in interface net.time4j.format.UnitPatternProvider
Yields the localized word for the current time (now).
getNumberType() - Method in class net.time4j.format.PluralRules
Yields the number type these rules are referring to.
getOffset(UnixTime) - Method in class net.time4j.tz.Timezone
Calculates the total offset for given global timestamp.
getOffset(GregorianDate, WallTime) - Method in class net.time4j.tz.Timezone
Calculates the offset for given local timestamp.
getOffset(GregorianDate, WallTime, Timezone) - Method in interface net.time4j.tz.TransitionStrategy
Calculates a suitable offset for given local timestamp.
getOffset() - Method in class net.time4j.ZonalDateTime
Yields the timezone offset.
getPartialAmount(IsoUnit) - Method in class net.time4j.Duration
Gets the partial amount associated with given time unit.
getPartialAmount(U) - Method in class net.time4j.engine.AbstractDuration
 
getPartialAmount(U) - Method in interface net.time4j.engine.TimeSpan
Yields the partial amount associated with given time unit.
getPattern() - Method in class net.time4j.Duration.Formatter
Yields the underlying format pattern.
getPlatform() - Method in interface net.time4j.scale.TickProvider
Determines the name of the platform where this implementation should be used.
getPosixTime() - Method in interface net.time4j.base.UnixTime
Counts the seconds elapsed since UNIX epoch [1970-01-01T00:00:00Z] in UTC timezone.
getPosixTime() - Method in class net.time4j.Moment
 
getPosixTime() - Method in class net.time4j.tz.ZonalTransition
Returns the global timestamp of this transition from one shift to another as POSIX-timestamp.
getPosixTime() - Method in class net.time4j.ZonalDateTime
 
getPreferredIDs(Locale, boolean, String) - Static method in class net.time4j.tz.Timezone
Gets a provider-specific Set of preferred timezone IDs for given ISO-3166-country code.
getPreferredIDs(Locale, boolean) - Method in interface net.time4j.tz.ZoneProvider
Gets a Set of preferred timezone IDs for given ISO-3166-country code.
getPreviousOffset() - Method in class net.time4j.tz.ZonalTransition
Returns the total shift before this transition.
getProviderInfo() - Static method in class net.time4j.tz.Timezone
Describes all registered ZoneProvider-instances with name and optionally location and version.
getQuarterOfYear() - Method in enum net.time4j.Month
Calculates the corresponding quarter of year.
getQuarters(TextWidth, OutputContext) - Method in class net.time4j.format.CalendarText
Yields an Accessor for all quarter years.
getReferenceClock() - Method in class net.time4j.PrettyTime
Yields the reference clock for formatting of relative times.
getRegisteredElements() - Method in class net.time4j.engine.Chronology
Returns all registered chronological elements.
getRegisteredProviders() - Static method in class net.time4j.tz.Timezone
Yields the names of all registered ZoneProvider-instances.
getRegisteredUnits() - Method in class net.time4j.engine.TimeAxis
Returns all registered time units.
getSecond() - Method in interface net.time4j.base.WallTime
Yields the second of minute.
getSecond() - Method in class net.time4j.PlainTime
 
getSecond() - Method in class net.time4j.PlainTimestamp
 
getSecondPattern(Locale, TextWidth, PluralCategory) - Method in interface net.time4j.format.UnitPatternProvider
Yields the localized unit pattern with unit name and a placeholder "{0}" for the count of seconds.
getSecondPattern(Locale, boolean, PluralCategory) - Method in interface net.time4j.format.UnitPatternProvider
Yields the localized unit pattern with unit name and a placeholder "{0}" for the count of seconds in the past or future.
getShift() - Method in interface net.time4j.scale.LeapSecondEvent
Returns the leapsecond shift of this event only.
getShift(GregorianDate) - Method in class net.time4j.scale.LeapSeconds
Yields the shift in seconds suitable for the last minute of given calendar date.
getShift(long) - Method in class net.time4j.scale.LeapSeconds
Yields the shift in seconds dependent on if given UTC time point represents a leap second or not.
getShortDayPattern(Locale, boolean, PluralCategory) - Method in interface net.time4j.format.RelativeTimeProvider
Yields the localized unit pattern with short unit name and a placeholder "{0}" for the count of days in the past or future.
getShortHourPattern(Locale, boolean, PluralCategory) - Method in interface net.time4j.format.RelativeTimeProvider
Yields the localized unit pattern with short unit name and a placeholder "{0}" for the count of hours in the past or future.
getShortMinutePattern(Locale, boolean, PluralCategory) - Method in interface net.time4j.format.RelativeTimeProvider
Yields the localized unit pattern with short unit name and a placeholder "{0}" for the count of minutes in the past or future.
getShortMonthPattern(Locale, boolean, PluralCategory) - Method in interface net.time4j.format.RelativeTimeProvider
Yields the localized unit pattern with short unit name and a placeholder "{0}" for the count of months in the past or future.
getShortSecondPattern(Locale, boolean, PluralCategory) - Method in interface net.time4j.format.RelativeTimeProvider
Yields the localized unit pattern with short unit name and a placeholder "{0}" for the count of seconds in the past or future.
getShortWeekPattern(Locale, boolean, PluralCategory) - Method in interface net.time4j.format.RelativeTimeProvider
Yields the localized unit pattern with short unit name and a placeholder "{0}" for the count of weeks in the past or future.
getShortYearPattern(Locale, boolean, PluralCategory) - Method in interface net.time4j.format.RelativeTimeProvider
Yields the localized unit pattern with short unit name and a placeholder "{0}" for the count of years in the past or future.
getSign() - Method in class net.time4j.tz.ZonalOffset
Return the sign of this zonal shift.
getSize() - Method in class net.time4j.tz.ZonalTransition
Gets the difference between new and old total shift as measure for the size of this transition.
getSource() - Method in class net.time4j.ZonalClock
Gets the associated clock.
getStandardOffset(UnixTime) - Method in class net.time4j.tz.Timezone
Calculates the standard offset for given global timestamp.
getStandardOffset() - Method in class net.time4j.tz.ZonalTransition
Returns the standard shift after this transition as difference between total shift and DST-shift (daylight savings).
getStartOfWeekend(Locale) - Method in interface net.time4j.format.WeekdataProvider
Defines the first day of weekend.
getStartOfWeekend() - Method in class net.time4j.Weekmodel
Defines the first day of the weekend.
getStartTransition(UnixTime) - Method in interface net.time4j.tz.TransitionHistory
Queries the last transition which defines the offset for given global timestamp.
getStdMonths(TextWidth, OutputContext) - Method in class net.time4j.format.CalendarText
Yields an Accessor for all standard months.
getStdTransitions() - Method in interface net.time4j.tz.TransitionHistory
Return the offset transitions from UNIX epoch [1970-01-01T00:00Z] until about one year after the current timestamp.
getStrategy() - Method in class net.time4j.tz.Timezone
Gets the strategy for resolving local timestamps.
getSupportedCalendarTypes() - Method in interface net.time4j.format.TextProvider
Defines the supported calendar types.
getSymbol() - Method in class net.time4j.engine.BasicElement
There is no format symbol by default.
getSymbol() - Method in interface net.time4j.engine.ChronoElement
Defines the default format symbol which is used in format patterns to refer to this element.
getSymbol() - Method in enum net.time4j.engine.EpochDays
Defines the format symbol.
getSymbol() - Method in enum net.time4j.engine.ValidationElement
 
getSymbol() - Method in interface net.time4j.IsoUnit
Gets the format symbol which is used to display this time unit in canonical representations of timespans.
getTextForms(ChronoElement<V>, String...) - Method in class net.time4j.format.CalendarText
Yields an Accessor for all text forms of given chronological element.
getTimezone() - Method in interface net.time4j.engine.ChronoDisplay
Returns the associated timezone ID for display purposes if available.
getTimezone() - Method in class net.time4j.engine.ChronoEntity
Returns the associated timezone ID for display purposes if available.
getTimezone() - Method in class net.time4j.ZonalClock
Gets the associated timezone.
getTimezone() - Method in class net.time4j.ZonalDateTime
 
getTodayWord(Locale) - Method in interface net.time4j.format.RelativeTimeProvider
Yields the localized word for "today".
getTomorrowWord(Locale) - Method in interface net.time4j.format.RelativeTimeProvider
Yields the localized word for "tomorrow".
getTotalLength() - Method in class net.time4j.Duration
 
getTotalLength() - Method in interface net.time4j.engine.TimeSpan
Yields all containted time span items with amount and unit in the order from largest to smallest time units.
getTotalOffset() - Method in class net.time4j.tz.ZonalTransition
Returns the total shift after this transition.
getTransitions(UnixTime, UnixTime) - Method in interface net.time4j.tz.TransitionHistory
Returns the defined transitions in given POSIX-interval.
getType() - Method in class net.time4j.Duration.Formatter
Yields the associated reified unit type.
getType() - Method in interface net.time4j.engine.ChronoElement
Yields the reified value type.
getType() - Method in enum net.time4j.engine.EpochDays
 
getType() - Method in enum net.time4j.engine.ValidationElement
 
getUnit() - Method in class net.time4j.engine.TimeSpan.Item
Yields the time unit.
getUnitType() - Method in class net.time4j.engine.TimeAxis
Returns the type of supported time units.
getValidOffsets(GregorianDate, WallTime) - Method in interface net.time4j.tz.TransitionHistory
Determines the suitable offsets at given local timestamp..
getValue() - Method in interface net.time4j.engine.CalendarEra
Yields an ordinal number which is scaled such that every era which contains the ISO-date of UTC-epoch [1972-01-01] will have the associated value 1.
getValue(T) - Method in interface net.time4j.engine.ElementRule
Yields the current value of associated element in given chronological context.
getValue() - Method in enum net.time4j.Month
Liefert den korrespondierenden kalendarischen Integer-Wert.
getValue() - Method in enum net.time4j.Quarter
Gets the corresponding numerical value.
getValue() - Method in enum net.time4j.Weekday
Gets the corresponding numerical ISO-value.
getValue(Weekmodel) - Method in enum net.time4j.Weekday
Gets the numerical value corresponding to the rule of given week model on which day a week starts.
getVariant() - Method in class net.time4j.engine.CalendarVariant
Returns the name of the associated variant of underlying calendar system.
getVariant() - Method in interface net.time4j.engine.VariantSource
Yields the variant name.
getVersion(String) - Static method in class net.time4j.tz.Timezone
Tries to get the version of given registered zone provider.
getVersion() - Method in interface net.time4j.tz.ZoneProvider
Queries the version of the underlying repository.
getWallTime() - Method in class net.time4j.DayCycles
Gets the rolled wall time.
getWallTime() - Method in class net.time4j.PlainTimestamp
Provides the wall time part.
getWeekdays(TextWidth, OutputContext) - Method in class net.time4j.format.CalendarText
Yields an Accessor for all weekday names.
getWeekPattern(Locale, TextWidth, PluralCategory) - Method in interface net.time4j.format.UnitPatternProvider
Yields the localized unit pattern with unit name and a placeholder "{0}" for the count of weeks.
getWeekPattern(Locale, boolean, PluralCategory) - Method in interface net.time4j.format.UnitPatternProvider
Yields the localized unit pattern with unit name and a placeholder "{0}" for the count of weeks in the past or future.
getYear() - Method in interface net.time4j.base.GregorianDate
Yields the proleptic year according to ISO-8601.
getYear() - Method in class net.time4j.PlainDate
 
getYear() - Method in class net.time4j.PlainTimestamp
 
getYearPattern(Locale, TextWidth, PluralCategory) - Method in interface net.time4j.format.UnitPatternProvider
Yields the localized unit pattern with unit name and a placeholder "{0}" for the count of years.
getYearPattern(Locale, boolean, PluralCategory) - Method in interface net.time4j.format.UnitPatternProvider
Yields the localized unit pattern with unit name and a placeholder "{0}" for the count of years in the past or future.
getYesterdayWord(Locale) - Method in interface net.time4j.format.RelativeTimeProvider
Yields the localized word for "yesterday".
getZeroDigit(Locale) - Method in interface net.time4j.format.NumberSymbolProvider
Returns the localized zero digit.
GregorianDate - Interface in net.time4j.base
Defines a common calendar date which is based on gregorian calendar rules.
GregorianMath - Class in net.time4j.base
Contains some calendrical tools for the rules of gregorian calendar.

H

hasBaseUnit(ChronoElement<?>) - Method in class net.time4j.engine.TimeAxis
Queries if given element has a base unit.
hasCalendarSystem() - Method in class net.time4j.engine.CalendarFamily
 
hasCalendarSystem() - Method in class net.time4j.engine.Chronology
Queries if this chronology has a calendar system.
hasCalendarSystem() - Method in class net.time4j.engine.TimeAxis
 
hashCode() - Method in class net.time4j.Duration
Computes the hash code.
hashCode() - Method in class net.time4j.engine.BasicElement
Based on the element name.
hashCode() - Method in class net.time4j.engine.CalendarDays
 
hashCode() - Method in class net.time4j.engine.CalendarVariant
Subclasses must redefine this method corresponding to the behaviour of equals().
hashCode() - Method in class net.time4j.engine.Calendrical
Based on the epoch day number.
hashCode() - Method in class net.time4j.engine.TimePoint
Subclasses must redefine this method corresponding to the behaviour of equals().
hashCode() - Method in class net.time4j.engine.TimeSpan.Item
 
hashCode() - Method in class net.time4j.format.Attributes
 
hashCode() - Method in class net.time4j.Moment
 
hashCode() - Method in class net.time4j.PlainTime
 
hashCode() - Method in class net.time4j.PlainTimestamp
 
hashCode() - Method in class net.time4j.tz.ZonalOffset
Calculates the hash value.
hashCode() - Method in class net.time4j.tz.ZonalTransition
Based on the POSIX-timestamp of the transition.
hashCode() - Method in class net.time4j.Weekmodel
Defines the hash value.
hashCode() - Method in class net.time4j.ZonalDateTime
 
hasTimezone() - Method in interface net.time4j.engine.ChronoDisplay
Queries if this object contains a timezone for display purposes.
hasTimezone() - Method in class net.time4j.engine.ChronoEntity
Queries if this entity contains a timezone for display purposes.
hasTimezone() - Method in class net.time4j.ZonalDateTime
This object always has a timezone.
hours(int) - Method in class net.time4j.Duration.Builder
Adds a hour item.

I

in(U...) - Static method in class net.time4j.Duration
Constructs a metric for any kind of standard units in normalized form.
in(Timezone, IsoUnit...) - Static method in class net.time4j.Duration
Helps to evaluate the zonal duration between two timestamps and applies an offset correction if necessary.
in(Timezone) - Method in class net.time4j.ElementOperator
Creates an operator which can adjust a Moment in the given timezone.
in(Timezone) - Method in class net.time4j.PlainTimestamp
Combines this local timestamp with given timezone to a global UTC-moment.
in(Timezone) - Method in interface net.time4j.ZonalElement
Creates a function which can query a Moment in the given timezone.
inClockUnits() - Static method in class net.time4j.Duration
Constructs a metric in hours, minutes, seconds and nanoseconds.
incremented() - Method in interface net.time4j.AdjustableElement
Adjusts any local entity such that this element gets the next value.
incremented(ChronoElement<?>) - Static method in class net.time4j.engine.StdOperator
Yields a new operator which can set any entity such that its actual element value gets the incremented value.
inLocalView() - Method in class net.time4j.Moment
Creates a combination of this moment and system timezone.
inLocalView() - Static method in class net.time4j.SystemClock
Creates a local clock in system timezone.
inPlatformView() - Static method in class net.time4j.SystemClock
Creates a local clock in platform timezone.
INSTANCE - Static variable in class net.time4j.SystemClock
Standard implementation.
INSTANT - Static variable in class net.time4j.TemporalType
Bridge between the JSR-310-class java.time.Instant and the class Moment.
inStdTimezone() - Method in class net.time4j.ElementOperator
Creates an operator which can adjust a Moment in the system timezone.
inStdTimezone() - Method in class net.time4j.PlainTimestamp
Combines this local timestamp with the system timezone to a global UTC-moment.
inStdTimezone() - Method in interface net.time4j.ZonalElement
Creates a function which can query a Moment in the system timezone.
inTimezone(TZID) - Method in class net.time4j.ElementOperator
Creates an operator which can adjust a Moment in the given timezone.
inTimezone(TZID) - Method in class net.time4j.PlainTimestamp
Combines this local timestamp with given timezone to a global UTC-moment.
inTimezone(TZID) - Method in interface net.time4j.ZonalElement
Creates a function which can query a Moment in the given timezone.
inverse() - Method in class net.time4j.Duration
Gets a copy of this duration with reversed sign.
inverse() - Method in class net.time4j.engine.AbstractDuration
Creates a copy of this duration with the same amounts and units but the inversed sign.
inYearsMonthsDays() - Static method in class net.time4j.Duration
Constructs a metric in years, months and days.
inZonalView(TZID) - Method in class net.time4j.Moment
Creates a combination of this moment and given timezone.
inZonalView(String) - Method in class net.time4j.Moment
Creates a combination of this moment and given timezone.
inZonalView(TZID) - Static method in class net.time4j.SystemClock
Creates a local clock in given timezone.
inZonalView(String) - Static method in class net.time4j.SystemClock
Creates a local clock in given timezone.
isAbbreviation() - Method in enum net.time4j.tz.NameStyle
Does this style denote an abbreviation?
isAfter(CalendarVariant<?>) - Method in class net.time4j.engine.CalendarVariant
 
isAfter(Calendrical<?, ?>) - Method in class net.time4j.engine.Calendrical
 
isAfter(C) - Method in interface net.time4j.engine.Temporal
Queries if this object is after given object on a timeline.
isAfter(UniversalTime) - Method in class net.time4j.Moment
 
isAfter(PlainTime) - Method in class net.time4j.PlainTime
 
isAfter(PlainTimestamp) - Method in class net.time4j.PlainTimestamp
 
isBefore(CalendarVariant<?>) - Method in class net.time4j.engine.CalendarVariant
 
isBefore(Calendrical<?, ?>) - Method in class net.time4j.engine.Calendrical
 
isBefore(C) - Method in interface net.time4j.engine.Temporal
Queries if this object is before given object on a timeline.
isBefore(UniversalTime) - Method in class net.time4j.Moment
 
isBefore(PlainTime) - Method in class net.time4j.PlainTime
 
isBefore(PlainTimestamp) - Method in class net.time4j.PlainTimestamp
 
isCalendrical() - Method in enum net.time4j.CalendarUnit
A calendar unit is always calendrical.
isCalendrical() - Method in enum net.time4j.ClockUnit
A wall time unit is never calendrical.
isCalendrical() - Method in interface net.time4j.engine.ChronoUnit
Queries if this time unit is calendrical respective is at least as long as a calendar day.
isCalendrical() - Method in enum net.time4j.SI
 
isConvertible(U, U) - Method in class net.time4j.engine.TimeAxis
Queries if given time units are convertible.
isDateElement() - Method in interface net.time4j.engine.ChronoElement
Queries if this element represents a calendar date element.
isDateElement() - Method in enum net.time4j.engine.EpochDays
This element is a date element.
isDateElement() - Method in enum net.time4j.engine.ValidationElement
 
isDaylightSaving() - Method in enum net.time4j.tz.NameStyle
Does this style denote a daylight saving time?
isDaylightSaving(UnixTime) - Method in class net.time4j.tz.Timezone
Queries if given global timestamp matches daylight saving time in this timezone?
isDaylightSaving() - Method in class net.time4j.tz.ZonalTransition
Queries if there is any daylight savings after this transition.
isEmpty() - Method in class net.time4j.engine.AbstractDuration
 
isEmpty() - Method in interface net.time4j.engine.TimeSpan
Queries if this time span is empty.
isEmpty() - Method in interface net.time4j.tz.TransitionHistory
Determines if this history does not have any transitions.
isEnabled() - Method in class net.time4j.scale.LeapSeconds
Queries if the leap second support is activated.
isExtensible() - Method in class net.time4j.scale.LeapSeconds
Queries if a lazy registration of leap seconds is possible.
isFixed() - Method in class net.time4j.tz.Timezone
Determines if this timezone has no offset transitions and always uses a fixed offset.
isGap() - Method in class net.time4j.tz.ZonalTransition
Queries if this transition represents a gap on the local timeline where local timestamps are invalid.
isInvalid(GregorianDate, WallTime) - Method in class net.time4j.tz.Timezone
Evaluates if given local timestamp is invalid due to a gap on the local timeline.
isLax() - Method in enum net.time4j.format.Leniency
Is this leniency mode lax?
isLeapSecond() - Method in class net.time4j.Moment
 
isLeapSecond() - Method in interface net.time4j.scale.UniversalTime
Queries if this time point is within a positive leapsecond.
isLeapSecond() - Method in class net.time4j.ZonalDateTime
 
isLeapYear(int) - Static method in class net.time4j.base.GregorianMath
Queries if given year is a gregorian leap year.
isLeapYear() - Method in class net.time4j.PlainDate
Is the year of this date a leap year?
isLenient() - Method in class net.time4j.engine.BasicElement
Chronological elements are strict by default.
isLenient() - Method in interface net.time4j.engine.ChronoElement
Queries if setting of element values is performed in a lenient way.
isLenient() - Method in enum net.time4j.engine.EpochDays
 
isLenient() - Method in enum net.time4j.engine.ValidationElement
 
isLocal() - Method in class net.time4j.engine.BasicElement
Elements are local by default and can therefore not be used in a global context.
isMidnight() - Method in class net.time4j.PlainTime
Is this instance at midnight, either at start or at end of day?
isNegative() - Method in class net.time4j.Duration
 
isNegative() - Method in class net.time4j.engine.CalendarDays
Is the count of calendar days smaller than zero?
isNegative() - Method in interface net.time4j.engine.TimeSpan
Queries if this time span is negative.
ISO - Static variable in class net.time4j.Weekmodel
Standard week rules as defined by ISO-8601.
ISO_CALENDAR_TYPE - Static variable in class net.time4j.format.CalendarText
Default calendar type for all ISO systems.
ISO_HOUR - Static variable in class net.time4j.PlainTime
Element with the ISO-8601-hour of day in the value range 0-24.
IsoDateUnit - Interface in net.time4j
Represents a calendar unit conforming to ISO-8601.
IsoTimeUnit - Interface in net.time4j
Represents a wall time unit conforming to ISO-8601.
IsoUnit - Interface in net.time4j
Represents a unit suitable for timestamps which are compositions of date and time (PlainTimestamp).
isOverlap() - Method in class net.time4j.tz.ZonalTransition
Queries if this transition represents an overlap on the local timeline where local timestamps are ambivalent.
isPositive() - Method in class net.time4j.engine.AbstractDuration
 
isPositive() - Method in interface net.time4j.engine.TimeSpan
Queries if this time span is positive.
isPositiveLS(long) - Method in class net.time4j.scale.LeapSeconds
Queries if given UTC-timestamp represents a registered positive leap second.
isRegistered(ChronoElement<?>) - Method in class net.time4j.engine.Chronology
Queries if given chronological element is registered together with its element rule.
isRegistered(U) - Method in class net.time4j.engine.TimeAxis
Queries if given time unit is registered.
isSimultaneous(CalendarVariant<?>) - Method in class net.time4j.engine.CalendarVariant
 
isSimultaneous(Calendrical<?, ?>) - Method in class net.time4j.engine.Calendrical
 
isSimultaneous(C) - Method in interface net.time4j.engine.Temporal
Queries if this object and given object have the same position on the time axis.
isSimultaneous(UniversalTime) - Method in class net.time4j.Moment
 
isSimultaneous(PlainTime) - Method in class net.time4j.PlainTime
 
isSimultaneous(PlainTimestamp) - Method in class net.time4j.PlainTimestamp
 
isSmart() - Method in enum net.time4j.format.Leniency
Is this leniency mode smart?
isStrict() - Method in enum net.time4j.format.Leniency
Is this leniency mode strict?
isSupported(ChronoElement<?>) - Method in class net.time4j.engine.CalendarFamily
 
isSupported(ChronoElement<?>) - Method in class net.time4j.engine.Chronology
Queries if given chronological element is supported by this chronology.
isSupported(TemporalField) - Method in interface net.time4j.engine.ThreetenAdapter
 
isSupported(U) - Method in class net.time4j.engine.TimeAxis
Queries if given time unit is supported.
isSupported(Class<?>) - Method in interface net.time4j.format.FormatEngine
Helps to find out if given chronological type is supported.
isTimeElement() - Method in interface net.time4j.engine.ChronoElement
Queries if this element represents a wall time element.
isTimeElement() - Method in enum net.time4j.engine.EpochDays
This element is no wall time element.
isTimeElement() - Method in enum net.time4j.engine.ValidationElement
 
isValid(int, int, int) - Static method in class net.time4j.base.GregorianMath
Queries if given values form a well defined gregorian date.
isValid(ChronoElement<V>, V) - Method in class net.time4j.engine.ChronoEntity
Tests if the value for given chronological value is invalid.
isValid(ChronoElement<Integer>, int) - Method in class net.time4j.engine.ChronoEntity
Tests if the value for given chronological value is invalid.
isValid(ChronoElement<Long>, long) - Method in class net.time4j.engine.ChronoEntity
Tests if the value for given chronological value is invalid.
isValid(T, V) - Method in interface net.time4j.engine.ElementRule
Queries if given value is valid for the element associated with this rule in given context.
isValid(TZID) - Method in class net.time4j.PlainTimestamp
Does this local timestamp exist in given timezone?
isWeekend(Locale) - Method in class net.time4j.PlainDate
Does this date fall on a week-end in given country?
isZero() - Method in class net.time4j.engine.CalendarDays
Is the count of calendar days equal to zero?
iterator() - Method in class net.time4j.scale.LeapSeconds
Iterates over all leap second events in descending temporal order.

J

JAVA_UTIL_DATE - Static variable in class net.time4j.TemporalType
Bridge between a traditional Java timestamp of type java.util.Date and the class Moment.

K

keepingEndOfMonth() - Method in enum net.time4j.CalendarUnit
Defines a variation of this unit which always sets the resulting date in additions and subtractions to the end of month if the original date is the last day of month.

L

LANGUAGE - Static variable in class net.time4j.format.Attributes
Attribute controlling the language output and parsing of chronological texts (for example month names).
lastDayOfPreviousMonth() - Method in interface net.time4j.CalendarDateElement
Adjusts a calendar date to the last day of previous month.
lastDayOfPreviousQuarter() - Method in interface net.time4j.CalendarDateElement
Adjusts a calendar date to the last day of previous quarter year.
lastDayOfPreviousYear() - Method in interface net.time4j.CalendarDateElement
Adjusts a calendar date to the last day of previous year.
LeapSecondEvent - Interface in net.time4j.scale
This interface describes that during the last minute of a given calendar day an UTC-leapsecond was either introducted or left out.
LeapSecondProvider - Interface in net.time4j.scale
This SPI-interface describes when UTC-leapseconds were introduced.
LeapSeconds - Class in net.time4j.scale
Holds all leap seconds occurred since the official start of UTC in 1972.
lengthOfMonth() - Method in class net.time4j.PlainDate
Calculates the length of associated month in days.
lengthOfYear() - Method in class net.time4j.PlainDate
Calculates the length of associated year in days.
LENIENCY - Static variable in class net.time4j.format.Attributes
Attribute which controls the leniency in parsing.
Leniency - Enum in net.time4j.format
Defines how lenient parsing of chronological texts should be.
load(URI, boolean) - Method in class net.time4j.base.ResourceLoader
Loads given resource as input stream.
load(Locale, NumberType) - Method in interface net.time4j.format.PluralProvider
Defines the plural rules for given country or language.
load(String) - Method in interface net.time4j.tz.ZoneProvider
Loads an offset transition history for given timezone id.
LOCAL_DATE - Static variable in class net.time4j.TemporalType
Bridge between the JSR-310-class java.time.LocalDate and the class PlainDate.
LOCAL_DATE_TIME - Static variable in class net.time4j.TemporalType
Bridge between the JSR-310-class java.time.LocalDateTime and the class PlainTimestamp.
LOCAL_TIME - Static variable in class net.time4j.TemporalType
Bridge between the JSR-310-class java.time.LocalTime and the class PlainTime.
localDayOfWeek() - Method in class net.time4j.Weekmodel
Defines an element for the weekday with a localized day number in the value range 1-7.
localFormatter(String, P) - Static method in class net.time4j.Moment
Creates a new formatter which uses the given pattern in the default locale for formatting and parsing UTC-timestamps.
localFormatter(DisplayMode) - Static method in class net.time4j.Moment
Creates a new formatter which uses the given display mode in the default locale for formatting and parsing UTC-timestamps.
localFormatter(String, P) - Static method in class net.time4j.PlainDate
Creates a new formatter which uses the given pattern in the default locale for formatting and parsing plain dates.
localFormatter(DisplayMode) - Static method in class net.time4j.PlainDate
Creates a new formatter which uses the given display mode in the default locale for formatting and parsing plain dates.
localFormatter(String, P) - Static method in class net.time4j.PlainTime
Creates a new formatter which uses the given pattern in the default locale for formatting and parsing plain times.
localFormatter(DisplayMode) - Static method in class net.time4j.PlainTime
Creates a new formatter which uses the given display mode in the default locale for formatting and parsing plain times.
localFormatter(String, P) - Static method in class net.time4j.PlainTimestamp
Creates a new formatter which uses the given pattern in the default locale for formatting and parsing plain timestamps.
locate(String, Class<?>, String) - Method in class net.time4j.base.ResourceLoader
Constructs an URI for given module resource.
lookup(Class<T>) - Static method in class net.time4j.engine.Chronology
Returns a typed singleton per ChronoEntity-class.

M

matches(ChronoCondition<? super T>) - Method in class net.time4j.engine.ChronoEntity
Queries if this entity matches given condition.
MathUtils - Class in net.time4j.base
Defines some mathematical routines which are needed in calendrical calculations.
max(T, T) - Static method in class net.time4j.engine.TimePoint
Determines the maximum of both time points.
MAX_YEAR - Static variable in class net.time4j.base.GregorianMath
Maximum of supported year range (999999999).
maximized() - Method in interface net.time4j.AdjustableElement
Sets any local entity to the maximum of this element.
maximized(ChronoElement<?>) - Static method in class net.time4j.engine.StdOperator
Yields a new operator which can set any entity to its maximum element value.
Meridiem - Enum in net.time4j
Represents the half day relative to noon.
meridiems(String, Locale, TextWidth) - Method in interface net.time4j.format.TextProvider
MICRO_OF_DAY - Static variable in class net.time4j.PlainTime
Element with the day time in microseconds in the value range 0-86400000000.
MICRO_OF_SECOND - Static variable in class net.time4j.PlainTime
Element with the microsecond in the value range 0-999999.
micros(int) - Method in class net.time4j.Duration.Builder
Adds a microsecond item.
MIDNIGHT - Static variable in class net.time4j.engine.StartOfDay
Default start of calendar day at midnight.
midnightAtEndOfDay() - Static method in class net.time4j.PlainTime
Yields midnight at the end of the day, that is midnight at the start of the following day.
midnightAtStartOfDay() - Static method in class net.time4j.PlainTime
Yields midnight at the start of the day.
MILLI_OF_DAY - Static variable in class net.time4j.PlainTime
Element with the day time in milliseconds in the value range 0-86400000.
MILLI_OF_SECOND - Static variable in class net.time4j.PlainTime
Element with the millisecond in the value range 0-999.
millis(int) - Method in class net.time4j.Duration.Builder
Adds a millisecond item.
MILLIS_SINCE_UNIX - Static variable in class net.time4j.TemporalType
Bridge between a traditional Java timestamp as count of milliseconds since UNIX-epoch and the class Moment.
min(T, T) - Static method in class net.time4j.engine.TimePoint
Determines the minimum of both time points.
MIN_YEAR - Static variable in class net.time4j.base.GregorianMath
Minimum of supported year range (-999999999).
minimized() - Method in interface net.time4j.AdjustableElement
Sets any local entity to the minimum of this element.
minimized(ChronoElement<?>) - Static method in class net.time4j.engine.StdOperator
Yields a new operator which can set any entity to its minimum element value.
minus(CalendarDays) - Method in class net.time4j.engine.CalendarDays
Yields the delta of the represented calendar days of this instance and given argument.
minus(CalendarDays) - Method in class net.time4j.engine.CalendarVariant
Subtracts given calendar days from this instance.
minus(CalendarDays) - Method in class net.time4j.engine.Calendrical
Subtrahiert die angegebenen Kalendertage von dieser Instanz.
minus(TimeSpan<? extends U>) - Method in class net.time4j.engine.TimePoint
Subtracts given time span from this time point and yields the result of subtraction.
minus(long, U) - Method in class net.time4j.engine.TimePoint
Subtracts given amount in units from this time point and yields the result of subtraction.
minus(long, SI) - Method in class net.time4j.Moment
Subtracts an amount of given SI-unit from this timestamp on the UTC time scale.
MINUTE_OF_DAY - Static variable in class net.time4j.PlainTime
Element with the minute of day in the value range 0-1440.
MINUTE_OF_HOUR - Static variable in class net.time4j.PlainTime
Element with the minute of hour in the value range 0-59.
minutes(int) - Method in class net.time4j.Duration.Builder
Adds a minute item.
Moment - Class in net.time4j
Represents an instant/moment on the universal timeline with reference to the timezone UTC (UTC+00:00 / Greenwich-meridian).
MONOTONIC - Static variable in class net.time4j.SystemClock
Monotonic clock based on the best available clock of the underlying operating system.
Month - Enum in net.time4j
Enumeration of months in ISO-8601-calendar.
MONTH_AS_NUMBER - Static variable in class net.time4j.PlainDate
Element with the calendar month in numerical form and the value range 1-12.
MONTH_OF_YEAR - Static variable in class net.time4j.PlainDate
Element with the calendar month as enum in the value range JANUARY-DECEMBER).
months(int) - Method in class net.time4j.Duration.Builder
Adds a month item.
months(String, Locale, TextWidth, OutputContext, boolean) - Method in interface net.time4j.format.TextProvider
multipliedBy(int) - Method in class net.time4j.Duration
Multiplies all partial amounts of this duration by given factor.

N

name() - Method in interface net.time4j.engine.AttributeKey
Name of associated format attribute.
name() - Method in class net.time4j.engine.BasicElement
 
name() - Method in interface net.time4j.engine.CalendarEra
Yields the canonical non-localized name.
name() - Method in interface net.time4j.engine.ChronoElement
Returns the name which is unique within the context of a given chronology.
NameStyle - Enum in net.time4j.tz
Defines the style of a timezone name.
NANO_OF_DAY - Static variable in class net.time4j.PlainTime
Element with the day time in nanoseconds in the value range 0-86400000000000.
NANO_OF_SECOND - Static variable in class net.time4j.PlainTime
Element with the nanosecond in the value range 0-999999999.
nanos(int) - Method in class net.time4j.Duration.Builder
Adds a nanosecond item.
NavigableElement<V extends Enum<V>> - Interface in net.time4j
Defines additional enum-based operators for setting new element values taking into account the old element value.
net.time4j - package net.time4j
The main package contains four basic types of ISO-8601, namely PlainDate, PlainTime, PlainTimestamp and Moment.
net.time4j.base - package net.time4j.base
Abstract minimum interface of Time4J.
net.time4j.engine - package net.time4j.engine
Defines the common generic schemes and interfaces of chronological systems.
net.time4j.format - package net.time4j.format
Defines common interfaces for any format support of Time4J.
net.time4j.scale - package net.time4j.scale
This package handles the UTC timeline (Corrected Universal Time) and other time scales.
net.time4j.tz - package net.time4j.tz
General timezone-API.
newValue(V) - Method in interface net.time4j.AdjustableElement
Sets any local entity to given new value of this element.
newValue(V, ChronoElement<V>) - Static method in class net.time4j.engine.StdOperator
Yields an operator which sets any entity such that its actual element value will be set in normal mode to given value.
next() - Method in enum net.time4j.Month
Rolls to the next month.
next() - Method in enum net.time4j.Quarter
Rolls to the next quarter.
next() - Method in enum net.time4j.Weekday
Rolls to the next day of week.
nextLeapSecond() - Static method in class net.time4j.Moment
Tries to determine the next coming leap second.
nextValidDate() - Method in enum net.time4j.CalendarUnit
Defines a variation of this unit which resolves invalid intermediate dates in additions and subtractions to the first valid date after (the first day of following month).
normalize(TimeSpan<? extends U>) - Method in interface net.time4j.engine.Normalizer
Normalizes given time span such that the amounts of associated time units are converted in a specific way.
normalize(TimeSpan<? extends CalendarUnit>) - Method in class net.time4j.PlainDate
Normalized given timespan using years, months and days.
normalize(TimeSpan<? extends IsoUnit>) - Method in class net.time4j.PlainTimestamp
Normalized given timespan using years, months, days and all clock units.
Normalizer<U> - Interface in net.time4j.engine
Normalizes a time span.
now() - Method in class net.time4j.ZonalClock
Gets the current timestamp in the associated timezone.
now(Chronology<T>) - Method in class net.time4j.ZonalClock
Gets the current timestamp in the associated timezone and given chronology.
now(CalendarFamily<T>, String, StartOfDay) - Method in class net.time4j.ZonalClock
Gets the current timestamp in the associated timezone and given chronology taking into account given calendar variant and start of day.
now(CalendarFamily<T>, VariantSource, StartOfDay) - Method in class net.time4j.ZonalClock
Equivalent to now(chronology, variantSource.getVariant(), startOfDay).
NumberSymbolProvider - Interface in net.time4j.format
This SPI-interface enables the access to localized number properties like zero digits and is instantiated via a ServiceLoader-mechanism.
NumberType - Enum in net.time4j.format
Defines the number type.
numerical(V) - Method in interface net.time4j.format.NumericalElement
Translates given element value to a numerical integer.
NumericalElement<V> - Interface in net.time4j.format
A chronological element which allows a numerical representation.

O

of(long, U) - Static method in class net.time4j.Duration
Creates a new duration which only knows one unit.
of(long) - Static method in class net.time4j.engine.CalendarDays
Wraps given count of calendar days.
of(long, U) - Static method in class net.time4j.engine.TimeSpan.Item
Creates a new time span item.
of(Locale, NumberType) - Static method in class net.time4j.format.PluralRules
Gets the localized plural rules for given language or country.
of(long, TimeScale) - Static method in class net.time4j.Moment
Equivalent to Moment.of(elapsedTime, 0, scale).
of(long, int, TimeScale) - Static method in class net.time4j.Moment
Creates a new UTC-timestamp by given time coordinates on given time scale.
of(int, int, int) - Static method in class net.time4j.PlainDate
Creates a new calendar date conforming to ISO-8601.
of(int, Month, int) - Static method in class net.time4j.PlainDate
Creates a new calendar date conforming to ISO-8601.
of(int, int) - Static method in class net.time4j.PlainDate
Creates a new ordinal date conforming to ISO-8601.
of(int, int, Weekday) - Static method in class net.time4j.PlainDate
Creates a new week-date conforming to ISO-8601.
of(long, EpochDays) - Static method in class net.time4j.PlainDate
Creates a new date based on count of days since given epoch.
of(int) - Static method in class net.time4j.PlainTime
Creates a wall time as full hour.
of(int, int) - Static method in class net.time4j.PlainTime
Creates a wall time with hour and minute.
of(int, int, int) - Static method in class net.time4j.PlainTime
Creates a wall time with hour, minute and second.
of(int, int, int, int) - Static method in class net.time4j.PlainTime
Creates a wall time with hour, minute, second and nanosecond.
of(BigDecimal) - Static method in class net.time4j.PlainTime
Creates a wall time by given decimal hour.
of(PlainDate, PlainTime) - Static method in class net.time4j.PlainTimestamp
Creates a new local timestamp with calendar date and wall time.
of(int, int, int, int, int) - Static method in class net.time4j.PlainTimestamp
Creates a new local timestamp in minute precision.
of(int, int, int, int, int, int) - Static method in class net.time4j.PlainTimestamp
Creates a new local timestamp in second precision.
of(Locale) - Static method in class net.time4j.PrettyTime
Gets an instance of PrettyTime for given language, possibly cached.
of(TZID) - Static method in class net.time4j.tz.Timezone
Gets the timezone for given identifier.
of(String) - Static method in class net.time4j.tz.Timezone
Gets the timezone for given identifier.
of(String, TZID) - Static method in class net.time4j.tz.Timezone
Tries to load the timezone with the first given identifer else with given alternative identifier.
of(String, TransitionHistory) - Static method in class net.time4j.tz.Timezone
Creates a new synthetic timezone based only on given data.
of(Weekday, int) - Static method in class net.time4j.Weekmodel
Creates a new week model with the given rules and the weekend-definition Saturday/Sunday.
of(Weekday, int, Weekday, Weekday) - Static method in class net.time4j.Weekmodel
Creates a new week model with the given rules.
of(Locale) - Static method in class net.time4j.Weekmodel
Gets a suitable weekmodel for the given country.
ofCalendarUnits(int, int, int) - Static method in class net.time4j.Duration
Creates a positive duration in years, months and days.
ofClockUnits(int, int, int) - Static method in class net.time4j.Duration
Creates a positive duratioon in hours, minutes and seconds.
ofFixedDeviation(int) - Static method in class net.time4j.engine.StartOfDay
Liefert the start of given calendar day relative to midnight in fixed seconds.
OffsetSign - Enum in net.time4j.tz
Represents the sign of a zonal shift.
ofHour(int) - Static method in enum net.time4j.Meridiem
Calculates the meridiem value dependent on given hour of day.
ofHours(OffsetSign, int) - Static method in class net.time4j.tz.ZonalOffset
Static factory method for a shift which has the given full hour part.
ofHoursMinutes(OffsetSign, int, int) - Static method in class net.time4j.tz.ZonalOffset
Static factory method for a shift which has given hour and minute parts.
ofJodaStyle() - Static method in class net.time4j.Duration.Formatter
Handles Joda-Time-style-patterns which in general follow XML-schema - with the exception of sign handling.
ofNegative() - Static method in class net.time4j.Duration
Konstructs a new negative duration for combined date- and time items by applying the builder pattern.
ofPattern(String) - Static method in class net.time4j.Duration.Formatter
Equivalent to ofPattern(IsoUnit.class, pattern).
ofPattern(Class<U>, String) - Static method in class net.time4j.Duration.Formatter
Constructs a new instance of duration formatter.
ofPositive() - Static method in class net.time4j.Duration
Konstructs a new positive duration for combined date- and time items by applying the builder pattern.
ofSystem() - Static method in class net.time4j.tz.Timezone
Gets the system timezone.
ofSystem() - Static method in class net.time4j.Weekmodel
Gets a suitable weekmodel for the default locale of system.
ofTotalSeconds(int) - Static method in class net.time4j.tz.ZonalOffset
Creates a shift of the local time relative to UTC timezone in integer seconds.
ofTotalSeconds(int, int) - Static method in class net.time4j.tz.ZonalOffset
Creates a shift of the local time relative to UTC timezone in integer seconds or fractional seconds.
ofZero() - Static method in class net.time4j.Duration
Gets an empty duration without units.
ONE - Static variable in class net.time4j.engine.CalendarDays
Represents exactly one calendar day.
only() - Method in enum net.time4j.ClockUnit
Yields a normalizer which converts a given duration in another duration with only this clock unit.
OrdinalWeekdayElement - Interface in net.time4j
The element for the ordinal weekday in month.
OUTPUT_CONTEXT - Static variable in class net.time4j.format.Attributes
Determines the output context to be used in formatting and parsing.
OutputContext - Enum in net.time4j.format
Determines in which output context the formatting is to be performed.
OverlapResolver - Enum in net.time4j.tz
Represents the component of a transition strategy how to handle overlaps on the local timeline.

P

PAD_CHAR - Static variable in class net.time4j.format.Attributes
Determines the pad char to be used if a formatted representation is shorter than specified.
parse(CharSequence) - Method in class net.time4j.Duration.Formatter
Equivalent to parse(text, 0).
parse(CharSequence, int) - Method in class net.time4j.Duration.Formatter
Analyzes given text according to format pattern and parses the text to a duration.
parse(CharSequence) - Method in interface net.time4j.format.TemporalFormatter
Interpretes given text as chronological entity starting at the begin of text.
parse(CharSequence, ParsePosition) - Method in interface net.time4j.format.TemporalFormatter
Interpretes given text as chronological entity starting at the specified position.
parse(CharSequence, ParsePosition, RawValues) - Method in interface net.time4j.format.TemporalFormatter
Interpretes given text as chronological entity starting at the specified position.
parse(CharSequence, ParsePosition, Class<V>) - Method in class net.time4j.format.TextAccessor
Interpretes given text form as enum-based element value.
parse(CharSequence, ParsePosition, Class<V>, AttributeQuery) - Method in class net.time4j.format.TextAccessor
Interpretes given text form as enum-based element value.
parse(CharSequence, ParsePosition, AttributeQuery) - Method in interface net.time4j.format.TextElement
Interpretes the given text as element value.
parse(String) - Static method in class net.time4j.tz.ZonalOffset
Interpretes a canonical representation as zonal offset.
parse(String, TemporalFormatter<Moment>) - Static method in class net.time4j.ZonalDateTime
Parses given text to a ZonalDateTime.
PARSE_CASE_INSENSITIVE - Static variable in class net.time4j.format.Attributes
This attribute controls if the case of text is irrelevant in parsing or not.
PARSE_PARTIAL_COMPARE - Static variable in class net.time4j.format.Attributes
This attribute controls if the parser will only check the start of a chronological text.
parseCalendarPeriod(String) - Static method in class net.time4j.Duration
Parses a canonical representation with only date units to a calendrical duration.
parseClockPeriod(String) - Static method in class net.time4j.Duration
Parses a canonical representation with only wall time units to a time-only duration.
parsePeriod(String) - Static method in class net.time4j.Duration
Parses a canonical representation to a duration.
PATH_TO_LEAPSECONDS - Static variable in class net.time4j.scale.LeapSeconds
System property "net.time4j.scale.leapseconds.path" which determines the path of the leap second file.
PIVOT_YEAR - Static variable in class net.time4j.format.Attributes
Determines the pivot year for the representation of two-digit-years.
PlainDate - Class in net.time4j
Represents a plain calendar date in conformance to ISO-8601-standard.
PlainTime - Class in net.time4j
Represents a plain wall time without any timezone or date component as defined in ISO-8601 up to nanosecond precision.
PlainTimestamp - Class in net.time4j
Represents a plain composition of calendar date and wall time as defined in ISO-8601, but without any timezone.
Platform - Enum in net.time4j
Defines the default format pattern of the actual platform.
PluralCategory - Enum in net.time4j.format
Enumeration of CLDR plural categories.
PluralProvider - Interface in net.time4j.format
This SPI-interface enables the access to localized plural rules and is instantiated via a ServiceLoader-mechanism.
PluralRules - Class in net.time4j.format
Helps to determine the plural category for a given number of units.
PluralRules() - Constructor for class net.time4j.format.PluralRules
 
plus(long, U) - Method in class net.time4j.Duration
Gets a copy of this duration where given amount will be added to the partial amount of this duration in given unit.
plus(TimeSpan<? extends U>) - Method in class net.time4j.Duration
Creates a duration as union of this instance and given timespan where partial amounts of equal units will be summed up.
plus(CalendarDays) - Method in class net.time4j.engine.CalendarDays
Yields the sum of the represented calendar days of this instance and given argument.
plus(CalendarDays) - Method in class net.time4j.engine.CalendarVariant
Adds given calendar days to this instance.
plus(CalendarDays) - Method in class net.time4j.engine.Calendrical
Adds given calendar days to this instance.
plus(TimeSpan<? extends U>) - Method in class net.time4j.engine.TimePoint
Adds the given time span to this time point and yields the result of the addition.
plus(long, U) - Method in class net.time4j.engine.TimePoint
Adds given amount in units to this time point and yields the result of addition.
plus(long, SI) - Method in class net.time4j.Moment
Adds an amount of given SI-unit to this timestamp on the UTC time scale.
POSIX_TIME - Static variable in class net.time4j.Moment
Represents the POSIX-time in seconds since UNIX-epoch.
PRECISION - Static variable in class net.time4j.PlainTime
Defines the precision as the smallest non-zero time element and truncates time parts of higher precision if necessary.
preformat(T, AttributeQuery) - Method in class net.time4j.engine.Chronology
 
preformat(T, AttributeQuery) - Method in interface net.time4j.engine.ChronoMerger
Transforms the current context/entity into another set of chronological values which finally shall be formatted using given attributes.
preparser() - Method in class net.time4j.engine.Chronology
 
preparser() - Method in interface net.time4j.engine.ChronoMerger
This method defines a child chronology which can preparse a chronological text.
PrettyTime - Class in net.time4j
Enables formatted output as usually used in social media in different languages.
previous() - Method in enum net.time4j.Month
Rolls to the previous month.
previous() - Method in enum net.time4j.Quarter
Rolls to the previous quarter.
previous() - Method in enum net.time4j.Weekday
Rolls to the previous day of week.
print(Duration<?>, Appendable) - Method in class net.time4j.Duration.Formatter
Creates a textual output of given duration and writes to the buffer.
print(TemporalAmount, Appendable) - Method in class net.time4j.Duration.Formatter
Creates a textual output of given temporal amount and writes to the buffer.
print(Enum<?>) - Method in class net.time4j.format.TextAccessor
Prints the given element value as String.
print(ChronoDisplay, Appendable, AttributeQuery) - Method in interface net.time4j.format.TextElement
Converts the element value in given context to a formatted text.
print(long, CalendarUnit, TextWidth) - Method in class net.time4j.PrettyTime
Formats given duration in calendar units.
print(long, ClockUnit, TextWidth) - Method in class net.time4j.PrettyTime
Formats given duration in clock units.
print(Duration<?>) - Method in class net.time4j.PrettyTime
Formats the total given duration.
print(TemporalAmount) - Method in class net.time4j.PrettyTime
Short-cut for print(Duration.from(threeten)).
print(Duration<?>, TextWidth) - Method in class net.time4j.PrettyTime
Formats the total given duration.
print(TemporalAmount, TextWidth) - Method in class net.time4j.PrettyTime
Short-cut for print(Duration.from(threeten), width).
print(Duration<?>, TextWidth, boolean, int) - Method in class net.time4j.PrettyTime
Formats given duration.
print(TemporalAmount, TextWidth, boolean, int) - Method in class net.time4j.PrettyTime
Short-cut for print(Duration.from(threeten), width, printZero, maxLength).
print(TemporalFormatter<Moment>) - Method in class net.time4j.ZonalDateTime
Creates a formatted output of this instance.
printRelative(UnixTime, TZID) - Method in class net.time4j.PrettyTime
Formats given time point relative to the current time of PrettyTime.getReferenceClock() as duration in at most second precision or less.
printRelative(UnixTime, String) - Method in class net.time4j.PrettyTime
Formats given time point relative to the current time of PrettyTime.getReferenceClock() as duration in at most second precision or less.
printRelative(UnixTime, Timezone, TimeUnit) - Method in class net.time4j.PrettyTime
Formats given time point relative to the current time of PrettyTime.getReferenceClock() as duration in given precision or less.
printRelativeInStdTimezone(UnixTime) - Method in class net.time4j.PrettyTime
Formats given time point relative to the current time of PrettyTime.getReferenceClock() as duration in at most second precision or less - using the system timezone.
printRelativeOrDateTime(UnixTime, Timezone, TimeUnit, long, TemporalFormatter<Moment>) - Method in class net.time4j.PrettyTime
Formats given time point relative to the current time of PrettyTime.getReferenceClock() as duration in given precision or as absolute date-time.
printRelativeOrDateTime(UnixTime, Timezone, TimeUnit, CalendarUnit, TemporalFormatter<Moment>) - Method in class net.time4j.PrettyTime
Formats given time point relative to the current time of PrettyTime.getReferenceClock() as duration in given precision or as absolute date-time.
ProportionalElement<V extends Number,T> - Interface in net.time4j
Defines an element which can interprete its value as proportional value.
PROTECTED_CHARACTERS - Static variable in class net.time4j.format.Attributes
Determines how many remaining chars in a given text are reserved and cannot be consumed by the current format step.

Q

Quarter - Enum in net.time4j
Represents a quarter (in most cases of a year).
QUARTER_OF_YEAR - Static variable in class net.time4j.PlainDate
Element with the quarter of year in the value range Q1-Q4.
quarters(String, Locale, TextWidth, OutputContext) - Method in interface net.time4j.format.TextProvider
query(TemporalQuery<R>) - Method in interface net.time4j.engine.ThreetenAdapter
 

R

range(TemporalField) - Method in interface net.time4j.engine.ThreetenAdapter
 
ratio() - Method in interface net.time4j.ProportionalElement
Defines a query which interpretes the value of this element as proportional rational number within the range between minimum and maximum.
RawValues - Class in net.time4j.format
Stores any kind of raw values as ChronoDisplay.
RawValues() - Constructor for class net.time4j.format.RawValues
Initially this instance has no defined raw values.
read(ObjectInput) - Static method in class net.time4j.ZonalDateTime
This is the reverse operation of ZonalDateTime.write(ObjectOutput).
readDayOfMonth(long) - Static method in class net.time4j.base.GregorianMath
Returns the day of month from given binary compressed date.
readMonth(long) - Static method in class net.time4j.base.GregorianMath
Returns the month from given binary compressed date.
readYear(long) - Static method in class net.time4j.base.GregorianMath
Returns the year from given binary compressed date.
realTimeInMicros() - Method in class net.time4j.SystemClock
Yields the current time in microseconds elapsed since UTC epoch [1972-01-01T00:00:00,000000Z].
recalibrated() - Method in class net.time4j.SystemClock
Recalibrates this instance and yields a new copy.
refresh() - Static method in class net.time4j.tz.Timezone.Cache
Can refresh the timezone cache in case of a dynamic update of the underlying timezone repository.
register(Locale, PluralRules) - Static method in class net.time4j.format.PluralRules
Registers given plural rules for a language, possibly overriding CLDR-default setting.
registerNegativeLS(int, int, int) - Method in class net.time4j.scale.LeapSeconds
Registers a new negative leap second by defining the switch-over-day.
registerPositiveLS(int, int, int) - Method in class net.time4j.scale.LeapSeconds
Registers a new positive leap second by defining the switch-over-day.
registerProvider(ZoneProvider) - Static method in class net.time4j.tz.Timezone
Registers manually the given zone provider.
RelativeTimeProvider - Interface in net.time4j.format
This SPI-interface enables the access to localized unit patterns and is instantiated via a ServiceLoader-mechanism.
remove(AttributeKey<?>) - Method in class net.time4j.format.Attributes.Builder
Removes the specified attribute.
resolve(T, Locale, AttributeQuery) - Method in interface net.time4j.engine.ChronoExtension
Updates the given value source if necessary in order to resolve the values of extension elements to values of standard elements.
resolve(GregorianDate, WallTime, Timezone) - Method in interface net.time4j.tz.TransitionStrategy
Calculates a suitable global timestamp for given local timestamp.
ResourceLoader - Class in net.time4j.base
Defines a general access point of loading any text resources and services.
roll(int) - Method in enum net.time4j.Month
Rolls this month by given amount of months.
roll(long, ClockUnit) - Method in class net.time4j.PlainTime
Rolls this time by the given duration (as amount and unit) and also counts possible day overflow.
roll(int) - Method in enum net.time4j.Quarter
Rolls by given amount of quarters.
roll(int) - Method in enum net.time4j.Weekday
Rolls this day of week by given amount of days.
rounded() - Method in enum net.time4j.ClockUnit
Yields a normalizer which converts a given duration in another normalized duration with smaller units truncated and this unit rounded.
roundedDown(int) - Method in interface net.time4j.ProportionalElement
Rounds this chronological element down and makes its numerical value an integral multiple of given step width if possible.
roundedHalf(int) - Method in interface net.time4j.ProportionalElement
Rounds this chronological element up or down and makes its numerical value an integral multiple of given step width if possible.
roundedToFullHour() - Method in interface net.time4j.WallTimeElement
Performs rounding to full hour in half rounding mode.
roundedToFullMinute() - Method in interface net.time4j.WallTimeElement
Performs rounding to full minute in half rounding mode.
roundedUp(int) - Method in interface net.time4j.ProportionalElement
Rounds this chronological element up and makes its numerical value an integral multiple of given step width if possible.
RuleNotFoundException - Exception in net.time4j.engine
Indicates that a chronological rule for an element or a time unit is missing.

S

safeAdd(int, int) - Static method in class net.time4j.base.MathUtils
Sums up the numbers with range check.
safeAdd(long, long) - Static method in class net.time4j.base.MathUtils
Sums up the numbers with range check.
safeCast(long) - Static method in class net.time4j.base.MathUtils
Performs a safe type-cast to an int-primitive.
safeMultiply(int, int) - Static method in class net.time4j.base.MathUtils
Multiplies the numbers with range check.
safeMultiply(long, long) - Static method in class net.time4j.base.MathUtils
Multiplies the numbers with range check.
safeNegate(int) - Static method in class net.time4j.base.MathUtils
Inverts the number with range check.
safeNegate(long) - Static method in class net.time4j.base.MathUtils
Inverts the number with range check.
safeSubtract(int, int) - Static method in class net.time4j.base.MathUtils
Subtracts the numbers from each other with range check.
safeSubtract(long, long) - Static method in class net.time4j.base.MathUtils
Subtracts the numbers from each other with range check.
SECOND_OF_DAY - Static variable in class net.time4j.PlainTime
Element with the second of day in the value range 0-86400.
SECOND_OF_MINUTE - Static variable in class net.time4j.PlainTime
Element with the second of minute in the value range 0-59.
seconds(int) - Method in class net.time4j.Duration.Builder
Adds a second item.
services(Class<S>) - Method in class net.time4j.base.ResourceLoader
Finds a collection of service providers available for given service provider interface.
set(AttributeKey<Boolean>, boolean) - Method in class net.time4j.format.Attributes.Builder
Sets an attribute of boolean-type.
set(AttributeKey<Integer>, int) - Method in class net.time4j.format.Attributes.Builder
Sets an attribute of int-type.
set(AttributeKey<Character>, char) - Method in class net.time4j.format.Attributes.Builder
Sets an attribute of char-type.
set(AttributeKey<A>, A) - Method in class net.time4j.format.Attributes.Builder
Sets an attribute of enum-type.
setAll(Attributes) - Method in class net.time4j.format.Attributes.Builder
Accepts all given attributes.
setCacheActive(boolean) - Static method in class net.time4j.tz.Timezone.Cache
Aktivates or deactivates the internal cache.
setCalendarVariant(String) - Method in class net.time4j.format.Attributes.Builder
Sets the calendar variant.
setLanguage(Locale) - Method in class net.time4j.format.Attributes.Builder
Sets the language.
setLenient(V, ChronoElement<V>) - Static method in class net.time4j.engine.StdOperator
Yields an operator which sets any entity such that its actual element value will be set in lenient mode to given value.
setLenient(V) - Method in interface net.time4j.ProportionalElement
Adjusts any kind of entity such that this element will be set to the given value in lenient mode.
setMinimumCacheSize(int) - Static method in class net.time4j.tz.Timezone.Cache
Updates the size of the internal timezone cache.
setStartOfDay(StartOfDay) - Method in class net.time4j.format.Attributes.Builder
Sets the start of calendar day.
setStdTimezone() - Method in class net.time4j.format.Attributes.Builder
Sets the system timezone reference.
setTimezone(TZID) - Method in class net.time4j.format.Attributes.Builder
Sets the timezone reference.
setTimezone(String) - Method in class net.time4j.format.Attributes.Builder
Sets the timezone reference.
setTo(int, Weekday) - Method in interface net.time4j.OrdinalWeekdayElement
Defines an operator which moves a date to the given ordinal weekday in month.
setToFirst(Weekday) - Method in interface net.time4j.OrdinalWeekdayElement
Defines an operator which moves a date to the first given weekday in month.
setToFourth(Weekday) - Method in interface net.time4j.OrdinalWeekdayElement
Defines an operator which moves a date to the fourth given weekday in month.
setToLast(Weekday) - Method in interface net.time4j.OrdinalWeekdayElement
Defines an operator which moves a date to the last given weekday in month.
setToNext(V) - Method in interface net.time4j.NavigableElement
Moves a time point to the first given element value which is after the current element value.
setToNext(PlainTime) - Method in interface net.time4j.WallTimeElement
Moves a timestamp to the next given wall time and change the day if necessary.
setToNextFullHour() - Method in interface net.time4j.WallTimeElement
Adjusts to next full hour.
setToNextFullMinute() - Method in interface net.time4j.WallTimeElement
Adjusts to next full minute.
setToNextOrSame(V) - Method in interface net.time4j.NavigableElement
Moves a time point to the first given element value which is after or equal to the current element value.
setToNextOrSame(PlainTime) - Method in interface net.time4j.WallTimeElement
Moves a timestamp to the next or same given wall time and change the day if necessary.
setToPrevious(V) - Method in interface net.time4j.NavigableElement
Moves a time point to the first given element value which is before the current element value.
setToPrevious(PlainTime) - Method in interface net.time4j.WallTimeElement
Moves a timestamp to the previous given wall time and change the day backwards if necessary.
setToPreviousOrSame(V) - Method in interface net.time4j.NavigableElement
Moves a time point to the first given element value which is before or equal to the current element value.
setToPreviousOrSame(PlainTime) - Method in interface net.time4j.WallTimeElement
Moves a timestamp to the previous or same given wall time and change the day backwards if necessary.
setToSecond(Weekday) - Method in interface net.time4j.OrdinalWeekdayElement
Defines an operator which moves a date to the second given weekday in month.
setToThird(Weekday) - Method in interface net.time4j.OrdinalWeekdayElement
Defines an operator which moves a date to the third given weekday in month.
setUp(Class<T>, ChronoMerger<T>, Map<String, ? extends CalendarSystem<T>>) - Static method in class net.time4j.engine.CalendarFamily.Builder
Creates a builder for building a calendar family.
setUp(Class<T>, ChronoMerger<T>) - Static method in class net.time4j.engine.Chronology.Builder
Creates a builder for building a new chronological system.
setUp(Class<U>, Class<T>, ChronoMerger<T>, T, T) - Static method in class net.time4j.engine.TimeAxis.Builder
Creates a builder for building a chronological but non-calendrical system.
setUp(Class<U>, Class<D>, ChronoMerger<D>, CalendarSystem<D>) - Static method in class net.time4j.engine.TimeAxis.Builder
Creates a builder for building a time axis for plain calendrical objects.
SI - Enum in net.time4j
Defines the SI-second as the duration of 9,192,631,770 periods of the radiation corresponding to the transition between the two hyperfine levels of the ground state of the caesium 133 atom.
START_OF_DAY - Static variable in class net.time4j.format.Attributes
Defines an attribute key which can be used in queries for the start of day during formatting or parsing.
StartOfDay - Class in net.time4j.engine
Defines the start of a given calendar day relative to midnight in seconds.
STD_CALENDAR_PERIOD - Static variable in class net.time4j.Duration
Normalizes the calendrical items of a duration on the base 1 year = 12 months - without converting the days to months.
STD_CLOCK_PERIOD - Static variable in class net.time4j.Duration
Normalizes the wall time items of a duration on the base 1 day = 24 hours und 1 hour = 60 minutes and 1 minute = 60 seconds.
STD_PERIOD - Static variable in class net.time4j.Duration
Normalizes the duration items on the base of 1 year = 12 months and 1 day = 24 hours and 1 hour = 60 minutes and 1 minute = 60 seconds - without converting days to months.
StdOperator<T extends ChronoEntity<T>> - Class in net.time4j.engine
Factory for producing standard chronological operators which are applicable on most chronological entities.
stepBackwards(T) - Method in class net.time4j.engine.TimeAxis
 
stepBackwards(T) - Method in interface net.time4j.engine.TimeLine
Move given point in time backwards by one step.
stepForward(T) - Method in class net.time4j.engine.TimeAxis
 
stepForward(T) - Method in interface net.time4j.engine.TimeLine
Move given point in time forward by one step.
STRICT_MODE - Static variable in class net.time4j.tz.Timezone
In addition to the standard strategy, this strategy ensures the use of valid local timestamps.
strip(long) - Method in class net.time4j.scale.LeapSeconds
Converts given UTC-timestamp to an UNIX-timestamp without leap seconds.
subtractFrom(T) - Method in class net.time4j.engine.AbstractDuration
Subtracts this duration from given time point using the default algorithm.
subtractFrom(T) - Method in interface net.time4j.engine.TimeSpan
Subtracts this time span from given time point.
supportsNegativeLS() - Method in interface net.time4j.scale.LeapSecondProvider
Queries if negative leapseconds are supported.
supportsNegativeLS() - Method in class net.time4j.scale.LeapSeconds
Queries if negative leap seconds are supported.
SUPPRESS_UTC_LEAPSECONDS - Static variable in class net.time4j.scale.LeapSeconds
System property "net.time4j.scale.leapseconds.suppressed" which determines that no leap seconds shall be loaded and used.
synchronizedWith(TimeSource<?>) - Method in class net.time4j.SystemClock
Synchronizes this instance with given time source and yields a new copy.
SystemClock - Class in net.time4j
Represents a clock which is based on the clock of the underlying operating system.

T

Temporal<C> - Interface in net.time4j.engine
Represents an object which can be sorted on a time axis in a temporal-only way.
TemporalFormatter<T> - Interface in net.time4j.format
Generic facade for any temporal/chronological format object which can print temporal objects to text or parse texts to temporal objects.
TemporalType<S,T> - Class in net.time4j
Serves as bridge to temporal types of JDK or other date and time libraries.
test(T) - Method in interface net.time4j.engine.ChronoCondition
Decides if given context matches this condition.
test(WallTime) - Method in enum net.time4j.Meridiem
 
test(GregorianDate) - Method in enum net.time4j.Month
 
test(GregorianDate) - Method in enum net.time4j.Quarter
 
test(GregorianDate) - Method in enum net.time4j.Weekday
 
TEXT_WIDTH - Static variable in class net.time4j.format.Attributes
Determines the text width to be used in formatting and parsing.
TextAccessor - Class in net.time4j.format
Supplies an access to the internal name list of an enum-based element value.
TextElement<V> - Interface in net.time4j.format
A chronological element which can be formatted as text or can be parsed from a text.
TextProvider - Interface in net.time4j.format
This SPI-interface enables the access to calendrical standard text informations and will be instantiated by a ServiceLoader-mechanism.
TextWidth - Enum in net.time4j.format
Defines the width of a formatted output of chronological element values as text.
THREETEN_DURATION - Static variable in class net.time4j.TemporalType
Bridge between the JSR-310-class java.time.Duration and the class net.time4j.Duration.
THREETEN_PERIOD - Static variable in class net.time4j.TemporalType
Bridge between the JSR-310-class java.time.Period and the class net.time4j.Duration.
ThreetenAdapter - Interface in net.time4j.engine
Defines the implementing chronological entity as TemporalAccessor.
TickProvider - Interface in net.time4j.scale
This SPI-interface describes how nanoseconds since an arbitrary start time are generated.
TimeAxis<U,T extends TimePoint<U,T>> - Class in net.time4j.engine
A time axis is a dynamic view on a chronology where a system of registered time units is used to define a time arithmetic for any time points belonging to this time axis respective chronology.
TimeAxis.Builder<U,T extends TimePoint<U,T>> - Class in net.time4j.engine
Creates a builder for a new time axis respective chronology and will only be used during loading a class of type TimePoint (T) in a static initializer.
TimeLine<T> - Interface in net.time4j.engine
Represents a time axis where a point in time can be moved forward or backward.
TimeMetric<U,P> - Interface in net.time4j.engine
Computes temporal distances on a time axis as time spans.
TimePoint<U,T extends TimePoint<U,T>> - Class in net.time4j.engine
Represents an immutable time point along a time axis which is directed into the future.
TimePoint() - Constructor for class net.time4j.engine.TimePoint
 
TimeScale - Enum in net.time4j.scale
Defines some time scales for usage both in civil life and in science.
TimeSource<T extends UnixTime> - Interface in net.time4j.base
Represents any kind of clock as source of current world time.
TimeSpan<U> - Interface in net.time4j.engine
Represents a common time span with an associated sign and a sequence of time units and related amounts.
TimeSpan.Item<U> - Class in net.time4j.engine
Represents a single item of a time span which is based on only one time unit and has a non-negative amount.
Timezone - Class in net.time4j.tz
Loads and keeps timezone data including the rules.
Timezone.Cache - Class in net.time4j.tz
Offers some static methods for the configuration of the timezone cache.
TIMEZONE_ID - Static variable in class net.time4j.format.Attributes
Attribute denoting the timezone identifier for display purposes.
toCalendarPeriod() - Method in class net.time4j.Duration
Extracts a new duration with all contained calendar units only.
toClockPeriod() - Method in class net.time4j.Duration
Extracts a new duration with all contained clock units only.
toDate() - Method in class net.time4j.PlainTimestamp
Synonym for getCalendarDate().
today() - Method in class net.time4j.ZonalClock
Ermittelt das aktuelle Datum in der assoziierten Zeitzone.
toLocalTimestamp() - Method in class net.time4j.Moment
Converts this instance to a local timestamp in the system timezone.
toMJD(GregorianDate) - Static method in class net.time4j.base.GregorianMath
Calculates the modified julian date.
toMJD(int, int, int) - Static method in class net.time4j.base.GregorianMath
Calculates the modified julian date.
toMoment() - Method in class net.time4j.ZonalDateTime
Converts this object to a global UTC-moment.
toPackedDate(long) - Static method in class net.time4j.base.GregorianMath
Calculates the gregorian Date based on given modified julian date in binary compressed format.
toString() - Method in interface net.time4j.base.GregorianDate
Yields a canonical representation in ISO-format "YYYY-MM-DD".
toString() - Method in interface net.time4j.base.WallTime
Yields a canonical representation in ISO-format "Thh:mm" or "Thh:mm:ss".
toString() - Method in class net.time4j.Duration
Gets a canonical representation which optionally starts with a negative sign then continues with the letter "P", followed by a sequence of alphanumerical chars similar to the definition given in ISO-8601.
toString() - Method in class net.time4j.engine.AbstractDuration
Yields a canonical representation which optionally starts with the sign then continues with the letter "P" followed by a comma-separated sequence of duration items.
toString() - Method in class net.time4j.engine.BasicElement
Serves mainly for debugging support.
toString() - Method in class net.time4j.engine.CalendarDays
Returns an ISO-8601-like duration representation in format "[-]P{n}D".
toString() - Method in class net.time4j.engine.CalendarVariant
Provides a complete textual representation of the state of this calendar variant.
toString() - Method in class net.time4j.engine.TimePoint
Provides a complete textual representation of the state of this time point.
toString() - Method in class net.time4j.engine.TimeSpan.Item
Provides a canonical representation in the format 'P' amount '{' unit '}', for example "P4{YEARS}".
toString() - Method in class net.time4j.format.Attributes
Supports mainly debugging.
toString() - Method in class net.time4j.format.CalendarText
Yields the name of the internal TextProvider.
toString() - Method in class net.time4j.format.TextAccessor
Supports mainly debugging.
toString() - Method in class net.time4j.Moment
Provides a canonical representation in the ISO-format [yyyy-MM-ddTHH:mm:ss,fffffffffZ].
toString(TimeScale) - Method in class net.time4j.Moment
Creates a formatted view of this instance taking in account given time scale.
toString() - Method in class net.time4j.PlainDate
Creates a canonical representation of the form "YYYY-MM-DD" as documented in ISO-8601.
toString() - Method in class net.time4j.PlainTime
Dependent on the precision of this instance, this method yields a canonical representation in one of following formats (CLDR-syntax): 'T'HH 'T'HH:mm 'T'HH:mm:ss 'T'HH:mm:ss,SSS 'T'HH:mm:ss,SSSSSS 'T'HH:mm:ss,SSSSSSSSS The fraction part will be preceded by a comma as recommended by ISO unless the system property "net.time4j.format.iso.decimal.dot" was set to "true".
toString() - Method in class net.time4j.PlainTimestamp
Creates a canonical representation of the form "yyyy-MM-dd'T'HH:mm:ss,fffffffff".
toString() - Method in class net.time4j.scale.LeapSeconds
For debugging purposes.
toString() - Method in class net.time4j.tz.ZonalOffset
Returns a complete short representation of this shift including the sign.
toString() - Method in class net.time4j.tz.ZonalTransition
Supports debugging.
toString() - Method in class net.time4j.Weekmodel
Debugging-support.
toString() - Method in class net.time4j.ZonalDateTime
Yields a canonical representation in ISO-like-style.
toStringISO() - Method in class net.time4j.Duration
Gets a canonical representation which starts with the letter "P", followed by a sequence of alphanumerical chars as defined in ISO-8601.
toStringXML() - Method in class net.time4j.Duration
Gets a canonical representation conforming to XML-schema which optionally starts with a negative sign then continues with the letter "P", followed by a sequence of alphanumerical chars similar to the definition given in ISO-8601.
toTemporalAccessor() - Method in interface net.time4j.engine.ThreetenAdapter
Converts this object to a TemporalAccessor.
toTemporalAccessor() - Method in class net.time4j.Moment
 
toTemporalAccessor() - Method in class net.time4j.PlainDate
 
toTemporalAccessor() - Method in class net.time4j.PlainTime
 
toTemporalAccessor() - Method in class net.time4j.PlainTimestamp
 
toTemporalAccessor() - Method in class net.time4j.ZonalDateTime
 
toTime() - Method in class net.time4j.PlainTimestamp
Synonym for getWallTime().
toTimestamp() - Method in class net.time4j.ZonalDateTime
Converts this object to a zonal timestamp.
toZonalTimestamp(TZID) - Method in class net.time4j.Moment
Converts this instance to a local timestamp in given timezone.
toZonalTimestamp(String) - Method in class net.time4j.Moment
Converts this instance to a local timestamp in given timezone.
TRAILING_CHARACTERS - Static variable in class net.time4j.format.Attributes
Controls if any trailing unparsed characters will be tolerated or not.
transform(long) - Method in interface net.time4j.engine.CalendarSystem
Transforms given day number to a calendar date on the local time line at the reference time of noon.
transform(D) - Method in interface net.time4j.engine.CalendarSystem
Transforms given calendar date to a day number on the local time line at the reference time of noon.
transform(Class<T>) - Method in class net.time4j.engine.CalendarVariant
Converts this calendar date to the given target type based on the count of days relative to UTC epoch [1972-01-01].
transform(Class<T>, String) - Method in class net.time4j.engine.CalendarVariant
Converts this calendar date to the given target type based on the count of days relative to UTC epoch [1972-01-01].
transform(Class<T>, VariantSource) - Method in class net.time4j.engine.CalendarVariant
Converts this calendar date to the given target type based on the count of days relative to UTC epoch [1972-01-01].
transform(Class<T>) - Method in class net.time4j.engine.Calendrical
Converts this calendar date to the given target type based on the count of days relative to UTC epoch [1972-01-01].
transform(Class<T>, String) - Method in class net.time4j.engine.Calendrical
Converts this calendar date to the given target type based on the count of days relative to UTC epoch [1972-01-01].
transform(Class<T>, VariantSource) - Method in class net.time4j.engine.Calendrical
Converts this calendar date to the given target type based on the count of days relative to UTC epoch [1972-01-01].
transform(long, EpochDays) - Method in enum net.time4j.engine.EpochDays
Converts given day number to a day number based on this epoch at reference time of midnight.
transform(TimeScale) - Method in class net.time4j.Moment
Represents this timestamp as decimal value in given time scale.
TRANSITION_STRATEGY - Static variable in class net.time4j.format.Attributes
Attribute for the conflict strategy to be used in resolving ambivalent or invalid local timestamps.
TransitionHistory - Interface in net.time4j.tz
Keeps all offset transitions and rules of a timezone.
TransitionStrategy - Interface in net.time4j.tz
Serves for resolving of local timestamps to a global UNIX timestamp, escpecially if there are conflicts due to gaps or overlaps on the local timeline.
translate(S) - Method in class net.time4j.TemporalType
Converts the external type to a type in Time4J.
truncated() - Method in enum net.time4j.ClockUnit
Yields a normalizer which converts a given duration in another duration with smaller units truncated.
type() - Method in interface net.time4j.engine.AttributeKey
Typ des assoziierten Formatattributs.
TZID - Interface in net.time4j.tz
Identifies a timezone.

U

union(TimeSpan<? extends U>) - Method in class net.time4j.Duration
Creates a duration as union of this instance and given timespan where partial amounts of equal units will be summed up.
UnitPatternProvider - Interface in net.time4j.format
This SPI-interface enables the access to localized unit patterns and is instantiated via a ServiceLoader-mechanism.
UnitRule<T> - Interface in net.time4j.engine
Represents a rule for the addition or subtraction associated with a time unit.
UniversalTime - Interface in net.time4j.scale
Defines a time point respective coordinate on the universal timeline as the count of seconds relative to UTC epoch [1972-01-01T00:00:00Z] in the UTC-timezone (Greenwich meridian) and a nanosecond as part of last second.
UNIX_EPOCH - Static variable in class net.time4j.Moment
Start of UNIX-era = [1970-01-01T00:00:00,000000000Z].
UnixTime - Interface in net.time4j.base
Represents any UNIX timestamp.
unlessInvalid() - Method in enum net.time4j.CalendarUnit
Defines a variation of this unit which handles invalid intermediate dates in additions and subtractions by throwing a ChronoException.
until(T, TimeMetric<? extends U, P>) - Method in class net.time4j.engine.TimePoint
Calculates the (most normalized) time span between this time point and given end time point using the given metric.
until(T, U) - Method in class net.time4j.engine.TimePoint
Calculates the temporal distance between this time point and given end time point in only one time unit.
until(Moment, SI) - Method in class net.time4j.Moment
Calculates the time distance between this timestamp and given end timestamp in given SI-unit on the UTC time scale.
UTC - Static variable in class net.time4j.tz.ZonalOffset
Constant for the UTC timezone representing a shift of 0 seconds with the canonical representation "Z".

V

ValidationElement - Enum in net.time4j.engine
A specialized element for communicating validation failures during parsing.
valueOf(String) - Static method in enum net.time4j.CalendarUnit
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.time4j.ClockUnit
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.time4j.engine.EpochDays
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.time4j.engine.ValidationElement
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.time4j.format.DisplayMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.time4j.format.Leniency
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.time4j.format.NumberType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.time4j.format.OutputContext
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.time4j.format.PluralCategory
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.time4j.format.TextWidth
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.time4j.Meridiem
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.time4j.Month
Returns the enum constant of this type with the specified name.
valueOf(int) - Static method in enum net.time4j.Month
Gets the enum-constant which corresponds to the given numerical value.
valueOf(String) - Static method in enum net.time4j.Platform
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.time4j.Quarter
Returns the enum constant of this type with the specified name.
valueOf(int) - Static method in enum net.time4j.Quarter
Gets the enum-constant which corresponds to the given numerical value.
valueOf(String) - Static method in enum net.time4j.scale.TimeScale
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.time4j.SI
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.time4j.tz.GapResolver
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.time4j.tz.NameStyle
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.time4j.tz.OffsetSign
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.time4j.tz.OverlapResolver
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.time4j.Weekday
Returns the enum constant of this type with the specified name.
valueOf(int) - Static method in enum net.time4j.Weekday
Gets the enum-constant which corresponds to the given numerical value.
valueOf(int, Weekmodel) - Static method in enum net.time4j.Weekday
Gets the enum-constant which corresponds to the given localized numerical value taking into account given week model.
valueOf(int, Month, int) - Static method in enum net.time4j.Weekday
Gets the weekday corresponding to given gregorian date.
values() - Static method in enum net.time4j.CalendarUnit
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.time4j.ClockUnit
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.time4j.engine.EpochDays
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.time4j.engine.ValidationElement
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.time4j.format.DisplayMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.time4j.format.Leniency
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.time4j.format.NumberType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.time4j.format.OutputContext
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.time4j.format.PluralCategory
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.time4j.format.TextWidth
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.time4j.Meridiem
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.time4j.Month
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.time4j.Platform
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.time4j.Quarter
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.time4j.scale.TimeScale
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.time4j.SI
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.time4j.tz.GapResolver
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.time4j.tz.NameStyle
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.time4j.tz.OffsetSign
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.time4j.tz.OverlapResolver
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.time4j.Weekday
Returns an array containing the constants of this enum type, in the order they are declared.
values(Weekmodel) - Static method in enum net.time4j.Weekday
Yields an array which is sorted corresponding to the rule of given week model on which day a week starts.
VariantSource - Interface in net.time4j.engine
Provides the name of any calendar variant.

W

WallTime - Interface in net.time4j.base
Defines a wall time on an analogue clock conforming to ISO-8601 in the range T00:00:00 - T24:00:00.
WallTimeElement - Interface in net.time4j
Represents the wall time.
weekBasedYears() - Static method in enum net.time4j.CalendarUnit
Defines a special calendar unit for week-based years which are not bound to the calendar year but to the week cycle of a year preserving the day of week and (if possible) the week of year.
WeekdataProvider - Interface in net.time4j.format
This SPI-interface enables the access to localized week rules and is instantiated via a ServiceLoader-mechanism.
Weekday - Enum in net.time4j
Enumeration of weekdays.
WEEKDAY_IN_MONTH - Static variable in class net.time4j.PlainDate
Element with the ordinal day-of-week within given calendar month in the value range 1-5.
weekdays(String, Locale, TextWidth, OutputContext) - Method in interface net.time4j.format.TextProvider
weekend() - Method in class net.time4j.Weekmodel
Defines a chronological condition if a date matches a weekend.
Weekmodel - Class in net.time4j
Defines rules for the localized handling of weekdays and calendar weeks on the base of a seven-day-week.
weekOfMonth() - Method in class net.time4j.Weekmodel
Defines an element for the calendar week of month with a localized week number.
weekOfYear() - Method in class net.time4j.Weekmodel
Defines an element for the calendar week of year with a localized week number.
with(long, U) - Method in class net.time4j.Duration
Gets a copy of this duration where the partial amount associated with given time unit is changed.
with(Normalizer<U>) - Method in class net.time4j.Duration
Normalizes this duration by given normalizer.
with(ChronoElement<V>, V) - Method in class net.time4j.engine.ChronoEntity
Creates a copy of this instance with the changed element value.
with(ChronoElement<Integer>, int) - Method in class net.time4j.engine.ChronoEntity
Creates a copy of this instance with the changed element value.
with(ChronoElement<Long>, long) - Method in class net.time4j.engine.ChronoEntity
Creates a copy of this instance with the changed element value.
with(ChronoOperator<T>) - Method in class net.time4j.engine.ChronoEntity
Creates a copy of this instance which is adjusted by given ChronoOperator using a strategy pattern approach.
with(Locale) - Method in interface net.time4j.format.TemporalFormatter
Creates a copy of this formatter with given locale.
with(Leniency) - Method in interface net.time4j.format.TemporalFormatter
Sets the leniency mode.
with(ElementOperator<?>) - Method in class net.time4j.PlainTimestamp
Adjusts this timestamp by given operator.
with(PlainDate) - Method in class net.time4j.PlainTimestamp
Adjusts the calendar part of this timestamp.
with(PlainTime) - Method in class net.time4j.PlainTimestamp
Adjusts the wall time part of this timestamp.
with(TransitionStrategy) - Method in class net.time4j.tz.Timezone
Creates a copy of this timezone which uses given strategy for resolving local timestamps.
withCarryOver() - Method in enum net.time4j.CalendarUnit
Defines a variation of this unit which resolves invalid intermediate dates in additions and subtractions by transferring any day overflow to the following month.
withEmptyUnit(CalendarUnit) - Method in class net.time4j.PrettyTime
Defines the time unit used for formatting an empty duration.
withEmptyUnit(ClockUnit) - Method in class net.time4j.PrettyTime
Defines the time unit used for formatting an empty duration.
withMinusSign(String) - Method in class net.time4j.PrettyTime
Defines the localized minus sign.
withReferenceClock(TimeSource<?>) - Method in class net.time4j.PrettyTime
Yields a changed copy of this instance with given reference clock.
withShortStyle() - Method in class net.time4j.PrettyTime
Mandates the use of abbreviations as default style.
withTimeLine(TimeLine<T>) - Method in class net.time4j.engine.TimeAxis.Builder
Defines the argument as timeline to be used for stepping forward or backwards.
withTimezone(TZID) - Method in interface net.time4j.format.TemporalFormatter
Creates a copy of this formatter with given timezone id which shall be used in formatting or parsing.
withTimezone(String) - Method in interface net.time4j.format.TemporalFormatter
withValue(T, V, boolean) - Method in interface net.time4j.engine.ElementRule
Determines the new value of the associated element in given chronological context and yields the result.
withWeeksToDays() - Method in class net.time4j.PrettyTime
Determines that weeks will always be normalized to days.
withZeroDigit(char) - Method in class net.time4j.PrettyTime
Defines the localized zero digit.
write(ObjectOutput) - Method in class net.time4j.ZonalDateTime
Writes this instance to given output (serialization).

Y

YEAR - Static variable in class net.time4j.PlainDate
Element with the proleptic iso-year without any era reference and the value range -999999999 until 999999999.
YEAR_OF_WEEKDATE - Static variable in class net.time4j.PlainDate
Defines an element for the week-based year in an ISO-8601-weekdate.
years(int) - Method in class net.time4j.Duration.Builder
Adds a year item.

Z

ZERO - Static variable in class net.time4j.engine.CalendarDays
Represents zero calendar days.
ZERO_DIGIT - Static variable in class net.time4j.format.Attributes
Determines the unicode char for the zero digit..
ZonalClock - Class in net.time4j
Represents a clock which yields the current local time according to a timezone.
ZonalClock(TimeSource<?>, TZID) - Constructor for class net.time4j.ZonalClock
Constructs a new clock which can yield the current local time in given timezone.
ZonalClock(TimeSource<?>, String) - Constructor for class net.time4j.ZonalClock
Constructs a new clock which can yield the current local time in given timezone.
ZonalDateTime - Class in net.time4j
Combination of UTC-moment and timezone.
ZonalElement<V> - Interface in net.time4j
Extends a chronological element by some zonal queries.
ZonalOffset - Class in net.time4j.tz
Represents the shift of a local timestamp relative to UTC timezone usually in full seconds.
ZonalTransition - Class in net.time4j.tz
Represents the change of a shift of the local time relative to POSIX-time in any timezone.
ZonalTransition(long, int, int, int) - Constructor for class net.time4j.tz.ZonalTransition
Creates a new transition between two shifts.
ZONED_DATE_TIME - Static variable in class net.time4j.TemporalType
Bridge between the JSR-310-class java.time.ZonedDateTime and the class ZonalDateTime.
ZoneProvider - Interface in net.time4j.tz
SPI interface which encapsulates the timezone repository and provides all necessary data for a given timezone id.
A B C D E F G H I J K L M N O P Q R S T U V W Y Z 
Skip navigation links

Copyright © 2014–2015. All rights reserved.