Package net.time4j


package net.time4j

The main package contains four basic types of ISO-8601, namely PlainDate, PlainTime, PlainTimestamp and Moment.

Time4J also uses some system properties for the purpose of internal start configuration:

  • net.time4j.format.iso.decimal.dot => controls formatting of decimal separator in ISO-8601-output (default is the comma)
  • net.time4j.sql.utc.conversion => SQL-Konversion in JDBCAdapter
  • net.time4j.systemclock.nanoTime => controls precision of SystemClock
  • net.time4j.allow.system.tz.override => controls permit for overriding standard timezone
  • net.time4j.scale.leapseconds.suppressed => see LeapSeconds.SUPPRESS_UTC_LEAPSECONDS
  • net.time4j.scale.leapseconds.final => see LeapSeconds.FINAL_UTC_LEAPSECONDS
  • net.time4j.scale.leapseconds.path => see LeapSeconds.PATH_TO_LEAPSECONDS
  • net.time4j.tz.repository.path => determines the path of the directory for the timezone data of Time4J, either absolute or relative to class path (default is the folder "tzrepo" in class path)
  • net.time4j.tz.repository.version => preferred version for the timezone data of Time4J (example: 2015a), if specified then Time4J will look for a file with name "tzdata{version}.repository" in given directory path otherwise the name will not contain the version
  • net.time4j.base.ResourceLoader => class name of external ResourceLoader-implementation
  • Interface Summary
    Interface
    Description
    Extends a chronological element by some standard ways of manipulation.
    Represents the calendar date.
    Represents a calendar unit conforming to ISO-8601.
    Represents a wall time unit conforming to ISO-8601.
    Represents a unit suitable for timestamps which are compositions of date and time (PlainTimestamp).
    NavigableElement<V extends Enum<V>>
    Defines additional enum-based operators for setting new element values taking into account the old element value.
    The element for the ordinal weekday in month.
    ProportionalElement<V extends Number,​T>
    Defines an element which can interprete its value as proportional value.
    Represents the wall time.
    Extends a chronological element by some zonal queries.
  • Class Summary
    Class
    Description
    Represents a combination of month and day-of-month as XML-pendant for xsd:gMonthDay.
    Represents the rolling result of a plain time if a possible day overflow is to be taken into account.
    Represents a period or part of a day usually in minute precision as formattable extension to PlainTime.
    Duration<U extends IsoUnit>
    ISO-8601-compatible duration between two time points.
    Builder class for constructing a duration conforming to ISO-8601 which consists of years, months, days and any wall time units.
    Non-localized and user-defined format for durations based on a pattern containing some standard symbols and literals.
    Defines any manipulation of date or wall time objects following the strategy design pattern.
    Represents a general timestamp consisting of a general date and a 24-hour-clock time.
    Represents a duration for machine times in decimal seconds with nanosecond precision.
    Non-localized and user-defined format for machine-time-durations based on a pattern containing some standard symbols and literals.
    Represents an instant/moment on the universal timeline with reference to the timezone UTC (UTC+00:00 / Greenwich-meridian).
    Represents a plain calendar date in conformance to ISO-8601-standard using the gregorian calendar rules for all times.
    Represents a plain wall time without any timezone or date component as defined in ISO-8601 up to nanosecond precision.
    Represents a plain composition of calendar date and wall time as defined in ISO-8601, but without any timezone.
    Enables formatted output as usually used in social media in different languages.
    Represents a clock which is based on the clock of the underlying operating system.
    TemporalType<S,​T>
    Serves as bridge to temporal types of JDK or other date and time libraries.
    Represents a special unit for week-based years which are described by ISO-8601 and follow the week cycle from Monday to Sunday.
    Defines rules for the localized handling of weekdays and calendar weeks on the base of a seven-day-week.
    Represents a clock which yields the current local time according to a timezone.
    Combination of UTC-moment and timezone.
  • Enum Class Summary
    Enum Class
    Description
    Represents the most common time units related to a standard ISO-8601-calendar.
    Represents the most common time units on an ISO-8601-conforming analogue clock counting the scale ticks.
    Represents the half day relative to noon.
    Enumeration of months in ISO-8601-calendar.
    Represents a quarter (in most cases of a year).
    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.
    Enumeration of weekdays.