A B C D E F G H I L M N O P S T U V W 

A

add(Duration) - Method in class org.pojava.datetime.DateTime
Add a fixed duration of time
add(long) - Method in class org.pojava.datetime.DateTime
Add a fixed duration in milliseconds.
add(CalendarUnit, int) - Method in class org.pojava.datetime.DateTime
Add +/- a block of time to a date in it's OutputTimeZone.
add(Duration) - Method in class org.pojava.datetime.Duration
Add a duration, producing a new duration.
add(long) - Method in class org.pojava.datetime.Duration
Add fixed number of (+/-) milliseconds to a Duration, producing a new Duration.
add(long, int) - Method in class org.pojava.datetime.Duration
Add seconds and nanoseconds to a Duration, producing a new Duration.
addMonth(String, Integer) - Method in class org.pojava.datetime.MonthMap
Registers a new month abbreviation.
addTimeZone(String, TimeZone) - Method in class org.pojava.datetime.DateTimeConfigBuilder
Add your own uniquely named time zone to the list of interpreted zones.
addTzMap(Map<String, String>) - Method in class org.pojava.datetime.DateTimeConfig
Merge a Map of time zones recognized by DateTime
addTzMap(String, String) - Method in class org.pojava.datetime.DateTimeConfigBuilder
 
assignIntegersToRemainingSlots(IDateTimeConfig, DateTime.HasDatepart, DateTime.DateState) - Static method in class org.pojava.datetime.DateTime
 

B

bcPrefix(String) - Method in class org.pojava.datetime.DateTimeConfigBuilder
Set whether a formatted year should include a minus sign when B.C.

C

calcTime(int, int, int) - Static method in class org.pojava.datetime.Tm
Determine "time" in milliseconds since epoch, UTC, as of the entered local time.
calcTime(int, int, int, int, int, int, int) - Static method in class org.pojava.datetime.Tm
Determine "time" in milliseconds since epoch, UTC, as of the entered local time.
calcTime(int, int, int, int, int, int, int, TimeZone) - Static method in class org.pojava.datetime.Tm
Determine "time" in milliseconds since epoch, UTC, as of the given time zone provided.
calcWeekday(long, TimeZone) - Static method in class org.pojava.datetime.Tm
Return numeric day of week, usually Sun=1, Mon=2, ...
CalendarUnit - Enum in org.pojava.datetime
A CalendarUnit represents a time interval whose duration is allowed to vary in order to adjust to Daylight Saving Time where needed.
compareTo(DateTime) - Method in class org.pojava.datetime.DateTime
Compare two DateTime objects to determine ordering.
compareTo(Duration) - Method in class org.pojava.datetime.Duration
Return relative comparison between two Durations.
config - Variable in class org.pojava.datetime.DateTime
Config contains info specific to zoning and formatting.
config() - Method in class org.pojava.datetime.DateTime
Return the global configuration used by DateTime.

D

DateTime - Class in org.pojava.datetime
DateTime provides an immutable representation of Date and Time to the nearest nanosecond.
DateTime() - Constructor for class org.pojava.datetime.DateTime
Default constructor gives current time to millisecond.
DateTime(IDateTimeConfig) - Constructor for class org.pojava.datetime.DateTime
DateTime with a specified config
DateTime(long) - Constructor for class org.pojava.datetime.DateTime
DateTime constructed from time in milliseconds since epoch.
DateTime(long, IDateTimeConfig) - Constructor for class org.pojava.datetime.DateTime
DateTime constructed from time in milliseconds since epoch.
DateTime(long, TimeZone) - Constructor for class org.pojava.datetime.DateTime
DateTime constructed from time in milliseconds since epoch.
DateTime(long, String) - Constructor for class org.pojava.datetime.DateTime
DateTime constructed from time in milliseconds since epoch.
DateTime(long, int) - Constructor for class org.pojava.datetime.DateTime
Construct a DateTime from seconds and fractional seconds.
DateTime(long, int, TimeZone) - Constructor for class org.pojava.datetime.DateTime
Construct a DateTime from seconds and fractional seconds.
DateTime(long, int, String) - Constructor for class org.pojava.datetime.DateTime
Construct a DateTime from seconds and fractional seconds.
DateTime(long, int, IDateTimeConfig) - Constructor for class org.pojava.datetime.DateTime
Construct a DateTime from seconds and fractional seconds.
DateTime(String) - Constructor for class org.pojava.datetime.DateTime
DateTime constructed from a string using global defaults.
DateTime(String, IDateTimeConfig) - Constructor for class org.pojava.datetime.DateTime
DateTime constructed from a string using specified defaults.
DateTime(String, TimeZone) - Constructor for class org.pojava.datetime.DateTime
DateTime parsed from a string at a specified time zone
DateTime(String, TimeZone, TimeZone) - Constructor for class org.pojava.datetime.DateTime
DateTime parsed from a string at a specified time zone
DateTime(Timestamp) - Constructor for class org.pojava.datetime.DateTime
DateTime constructed from a Timestamp includes nanos.
DateTimeConfig - Class in org.pojava.datetime
Establish global defaults for shaping DateTime behavior.
DateTimeConfig() - Constructor for class org.pojava.datetime.DateTimeConfig
 
DateTimeConfigBuilder - Class in org.pojava.datetime
DateTimeConfig has numerous values, some of which we want to control, sometimes making minor changes.
DateTimeConfigBuilder() - Constructor for class org.pojava.datetime.DateTimeConfigBuilder
 
DateTimeFormat - Class in org.pojava.datetime
DateTimeFormat formats a DateTime object as a String according to a template.
DateTimeFormat(String) - Constructor for class org.pojava.datetime.DateTimeFormat
 
DAY - Static variable in class org.pojava.datetime.Duration
A DAY = 24 hours (for a variable day, see CalendarUnit)
defaultJdbcFormat(String) - Method in class org.pojava.datetime.DateTimeConfigBuilder
 
dmyOrder(boolean) - Method in class org.pojava.datetime.DateTimeConfigBuilder
 
Duration - Class in org.pojava.datetime
Duration is a fixed measurement of time.
Duration() - Constructor for class org.pojava.datetime.Duration
Constructor for a duration of zero.
Duration(String) - Constructor for class org.pojava.datetime.Duration
Constructor parsing from a string.
Duration(long) - Constructor for class org.pojava.datetime.Duration
Duration specified in milliseconds.
Duration(long, int) - Constructor for class org.pojava.datetime.Duration
Seconds + nanos pair will always be adjusted so that nanos is positive.

E

epochDOW(int) - Method in class org.pojava.datetime.DateTimeConfigBuilder
 
equals(Object) - Method in class org.pojava.datetime.DateTime
This compares a DateTime with another DateTime.
equals(Object) - Method in class org.pojava.datetime.Duration
Two durations are equal if internal values are identical.

F

format(String) - Method in class org.pojava.datetime.DateTimeConfigBuilder
 
format(DateTime) - Method in class org.pojava.datetime.DateTimeFormat
 
format(long) - Method in class org.pojava.datetime.DateTimeFormat
 
format(String, long) - Static method in class org.pojava.datetime.DateTimeFormat
 
format(String, DateTime) - Static method in class org.pojava.datetime.DateTimeFormat
 
format(String, DateTime, TimeZone) - Static method in class org.pojava.datetime.DateTimeFormat
 
format(String, DateTime, TimeZone, Locale) - Static method in class org.pojava.datetime.DateTimeFormat
 
fromAllLocales() - Static method in class org.pojava.datetime.MonthMap
 
fromBuilder(DateTimeConfigBuilder) - Static method in class org.pojava.datetime.DateTimeConfig
 

G

getBcPrefix() - Method in class org.pojava.datetime.DateTimeConfig
 
getBcPrefix() - Method in class org.pojava.datetime.DateTimeConfigBuilder
 
getBcPrefix() - Method in interface org.pojava.datetime.IDateTimeConfig
 
getBcPrefix() - Method in class org.pojava.datetime.LocalConfig
 
getDay() - Method in class org.pojava.datetime.Shift
 
getDay() - Method in class org.pojava.datetime.Tm
Returns day of month between 1 and 31.
getDefaultJdbcFormat() - Method in class org.pojava.datetime.DateTimeConfig
Get the default JDBC date format.
getDefaultJdbcFormat() - Method in class org.pojava.datetime.DateTimeConfigBuilder
 
getEpochDOW() - Method in class org.pojava.datetime.DateTimeConfig
Get the day of week offset on the epoch date.
getEpochDOW() - Method in class org.pojava.datetime.DateTimeConfigBuilder
 
getEpochDOW() - Method in interface org.pojava.datetime.IDateTimeConfig
 
getEpochDOW() - Method in class org.pojava.datetime.LocalConfig
 
getFormat() - Method in class org.pojava.datetime.DateTimeConfig
Get the default date format.
getFormat() - Method in class org.pojava.datetime.DateTimeConfigBuilder
 
getFormat() - Method in interface org.pojava.datetime.IDateTimeConfig
 
getFormat() - Method in class org.pojava.datetime.LocalConfig
 
getGlobalDefault() - Static method in class org.pojava.datetime.DateTimeConfig
 
getHour() - Method in class org.pojava.datetime.Shift
 
getHour() - Method in class org.pojava.datetime.Tm
Returns hour of day between 0 and 23.
getInputTimeZone() - Method in class org.pojava.datetime.DateTimeConfig
 
getInputTimeZone() - Method in class org.pojava.datetime.DateTimeConfigBuilder
 
getInputTimeZone() - Method in interface org.pojava.datetime.IDateTimeConfig
 
getInputTimeZone() - Method in class org.pojava.datetime.LocalConfig
 
getLocale() - Method in class org.pojava.datetime.DateTimeConfig
Locale under which toString words are translated
getLocale() - Method in class org.pojava.datetime.DateTimeConfigBuilder
 
getLocale() - Method in interface org.pojava.datetime.IDateTimeConfig
 
getLocale() - Method in class org.pojava.datetime.LocalConfig
 
getMillisecond() - Method in class org.pojava.datetime.Tm
Returns millisecond fraction of second between 0 and 999999.
getMinute() - Method in class org.pojava.datetime.Shift
 
getMinute() - Method in class org.pojava.datetime.Tm
Returns minute of hour between 0 and 59.
getMonth() - Method in class org.pojava.datetime.Shift
 
getMonth() - Method in class org.pojava.datetime.Tm
Returns month between 1 and 12.
getMonthMap() - Method in class org.pojava.datetime.DateTimeConfigBuilder
 
getNanos() - Method in class org.pojava.datetime.DateTime
Positive nanosecond offset from Seconds.
getNanos() - Method in class org.pojava.datetime.Duration
Return fractional seconds in nanoseconds
Sign of value will match whole time value.
getNanosec() - Method in class org.pojava.datetime.Shift
 
getNanosecond() - Method in class org.pojava.datetime.Tm
Returns nanosecond fraction of second between 0 and 999999999.
getOutputTimeZone() - Method in class org.pojava.datetime.DateTimeConfig
 
getOutputTimeZone() - Method in class org.pojava.datetime.DateTimeConfigBuilder
 
getOutputTimeZone() - Method in interface org.pojava.datetime.IDateTimeConfig
 
getOutputTimeZone() - Method in class org.pojava.datetime.LocalConfig
 
getSecond() - Method in class org.pojava.datetime.Shift
 
getSecond() - Method in class org.pojava.datetime.Tm
Returns second of minute between 0 and 59.
getSeconds() - Method in class org.pojava.datetime.DateTime
Whole seconds offset from epoch.
getSeconds() - Method in class org.pojava.datetime.Duration
Return duration truncated seconds.
getTzCache() - Method in class org.pojava.datetime.DateTimeConfigBuilder
 
getTzMap() - Method in class org.pojava.datetime.DateTimeConfig
 
getTzMap() - Method in class org.pojava.datetime.DateTimeConfigBuilder
 
getTzMap() - Method in interface org.pojava.datetime.IDateTimeConfig
Map of timezones and their offsets.
getTzMap() - Method in class org.pojava.datetime.LocalConfig
 
getWeek() - Method in class org.pojava.datetime.Shift
 
getWeekday() - Method in class org.pojava.datetime.Tm
Returns weekday between 1 and 7
getYear() - Method in class org.pojava.datetime.Shift
 
getYear() - Method in class org.pojava.datetime.Tm
 

H

hashCode() - Method in class org.pojava.datetime.DateTime
 
hashCode() - Method in class org.pojava.datetime.Duration
 
HOUR - Static variable in class org.pojava.datetime.Duration
An HOUR = 60 minutes

I

IDateTimeConfig - Interface in org.pojava.datetime
This interface defines methods essential for global configuration of the DateTime object.
inputTimeZone(TimeZone) - Method in class org.pojava.datetime.DateTimeConfigBuilder
 
instanceOverridingOutputTimeZone(IDateTimeConfig, TimeZone) - Static method in class org.pojava.datetime.LocalConfig
 
instanceOverridingTimeZones(IDateTimeConfig, TimeZone, TimeZone) - Static method in class org.pojava.datetime.LocalConfig
 
isDmyOrder() - Method in class org.pojava.datetime.DateTimeConfig
Returns true if 01/02/1970 is interpreted as 1970-02-01, returns false if 01/02/1970 is interpreted as 1970-01-02.
isDmyOrder() - Method in class org.pojava.datetime.DateTimeConfigBuilder
 
isDmyOrder() - Method in interface org.pojava.datetime.IDateTimeConfig
British DD/MM/YYYY vs.
isDmyOrder() - Method in class org.pojava.datetime.LocalConfig
 
isEmpty() - Method in class org.pojava.datetime.MonthMap
 
isUnspecifiedCenturyAlwaysInPast() - Method in class org.pojava.datetime.DateTimeConfig
 
isUnspecifiedCenturyAlwaysInPast() - Method in class org.pojava.datetime.DateTimeConfigBuilder
 
isUnspecifiedCenturyAlwaysInPast() - Method in interface org.pojava.datetime.IDateTimeConfig
 
isUnspecifiedCenturyAlwaysInPast() - Method in class org.pojava.datetime.LocalConfig
 

L

LocalConfig - Class in org.pojava.datetime
LocalConfig is a wrapper class providing a cheap equivalent to the global instance of DateTimeConfig with one or more methods (e.g.
LocalConfig(IDateTimeConfig, TimeZone, TimeZone) - Constructor for class org.pojava.datetime.LocalConfig
 
locale(Locale) - Method in class org.pojava.datetime.DateTimeConfigBuilder
 
lookupMonthIndex(String) - Method in class org.pojava.datetime.DateTimeConfig
 
lookupMonthIndex(String) - Method in interface org.pojava.datetime.IDateTimeConfig
 
lookupMonthIndex(String) - Method in class org.pojava.datetime.LocalConfig
 
lookupTimeZone(String) - Method in class org.pojava.datetime.DateTimeConfig
Lookup the TimeZone, including custom time zones.
lookupTimeZone(String) - Method in interface org.pojava.datetime.IDateTimeConfig
 
lookupTimeZone(String) - Method in class org.pojava.datetime.LocalConfig
 

M

millis - Variable in class org.pojava.datetime.Duration
Non-leap Milliseconds since an epoch
MILLISECOND - Static variable in class org.pojava.datetime.Duration
A MILLISECOND = one thousandth of a second
MINUTE - Static variable in class org.pojava.datetime.Duration
A MINUTE = 60 seconds
monthIndex(String) - Method in class org.pojava.datetime.MonthMap
Returns a multi-language lookup based on the first 3 or 4 characters of a month
monthMap(MonthMap) - Method in class org.pojava.datetime.DateTimeConfigBuilder
 
MonthMap - Class in org.pojava.datetime
This is a language-agnostic mapping of month abbreviations to month numbers
MonthMap() - Constructor for class org.pojava.datetime.MonthMap
 

N

nanos - Variable in class org.pojava.datetime.Duration
Nanoseconds used by high-resolution time stamps
newInstance() - Static method in class org.pojava.datetime.DateTimeConfigBuilder
 

O

org.pojava.datetime - package org.pojava.datetime
Utilities for parsing, representing, calculating, and converting dates and times.
outputTimeZone(TimeZone) - Method in class org.pojava.datetime.DateTimeConfigBuilder
 

P

parse(String) - Static method in class org.pojava.datetime.DateTime
Interpret a DateTime from a String using global defaults.
parse(String, IDateTimeConfig) - Static method in class org.pojava.datetime.DateTime
Interpret a DateTime from a String.
parse(String) - Static method in class org.pojava.datetime.Duration
Return a duration parsed from a string.

S

SECOND - Static variable in class org.pojava.datetime.Duration
A SECOND = One second is the time that elapses during 9,192,631,770 cycles of the radiation produced by the transition between two levels of the cesium 133 atom...
setBcPrefix(String) - Method in class org.pojava.datetime.DateTimeConfigBuilder
 
setDay(int) - Method in class org.pojava.datetime.Shift
 
setDefaultJdbcFormat(String) - Method in class org.pojava.datetime.DateTimeConfigBuilder
 
setDmyOrder(boolean) - Method in class org.pojava.datetime.DateTimeConfigBuilder
 
setEpochDOW(int) - Method in class org.pojava.datetime.DateTimeConfigBuilder
 
setFormat(String) - Method in class org.pojava.datetime.DateTimeConfigBuilder
 
setGlobalDefault(IDateTimeConfig) - Static method in class org.pojava.datetime.DateTimeConfig
Reset the global default to a different DateTimeConfig object.
setGlobalDefaultFromBuilder(DateTimeConfigBuilder) - Static method in class org.pojava.datetime.DateTimeConfig
 
setHour(int) - Method in class org.pojava.datetime.Shift
 
setInputTimeZone(TimeZone) - Method in class org.pojava.datetime.DateTimeConfigBuilder
 
setLocale(Locale) - Method in class org.pojava.datetime.DateTimeConfigBuilder
 
setMinute(int) - Method in class org.pojava.datetime.Shift
 
setMonth(int) - Method in class org.pojava.datetime.Shift
 
setMonthMap(MonthMap) - Method in class org.pojava.datetime.DateTimeConfigBuilder
 
setNanosec(int) - Method in class org.pojava.datetime.Shift
 
setNanosec(long) - Method in class org.pojava.datetime.Shift
 
setOutputTimeZone(TimeZone) - Method in class org.pojava.datetime.DateTimeConfigBuilder
 
setSecond(int) - Method in class org.pojava.datetime.Shift
 
setUnspecifiedCenturyAlwaysInPast(boolean) - Method in class org.pojava.datetime.DateTimeConfigBuilder
 
setWeek(int) - Method in class org.pojava.datetime.Shift
 
setYear(int) - Method in class org.pojava.datetime.Shift
 
shift(CalendarUnit, int) - Method in class org.pojava.datetime.DateTime
Add increments of any calendar time unit from a nanosecond to a century.
shift(Shift) - Method in class org.pojava.datetime.DateTime
Shift this DateTime +/- a Shift offset.
shift(String) - Method in class org.pojava.datetime.DateTime
Shift this DateTime +/- a Shift offset specified as an ISO 8601 string.
Shift - Class in org.pojava.datetime
Shift describes an offset in time in terms of CalendarUnit increments of various proportions.
Shift() - Constructor for class org.pojava.datetime.Shift
 
Shift(String) - Constructor for class org.pojava.datetime.Shift
Constructor parsing from a string.
shiftDays(double) - Method in class org.pojava.datetime.Shift
 
shiftHours(double) - Method in class org.pojava.datetime.Shift
 
shiftMinutes(double) - Method in class org.pojava.datetime.Shift
 
shiftMonths(double) - Method in class org.pojava.datetime.Shift
Shift by whole number of months
shiftSeconds(double) - Method in class org.pojava.datetime.Shift
 
shiftWeeks(double) - Method in class org.pojava.datetime.Shift
Shift by whole number of weeks
shiftYears(double) - Method in class org.pojava.datetime.Shift
Shift by number of years
systemDur - Variable in class org.pojava.datetime.DateTime
System time is a lazy calculation of milliseconds from Unix epoch 1970-01-01 00:00:00, assuming no leap seconds and a leap year every year evenly divisible by 4, except for years divisible by 100 but not divisible by 400.
systemTime() - Method in class org.pojava.datetime.DateTimeConfig
 
systemTime() - Method in interface org.pojava.datetime.IDateTimeConfig
 
systemTime() - Method in class org.pojava.datetime.LocalConfig
 

T

timeZone() - Method in class org.pojava.datetime.DateTime
Get the TimeZone used for formatted string output
Tm - Class in org.pojava.datetime
This class converts a DateTime into year, month, day, hour, minute, second, millisecond, nanosecond.
Tm(DateTime) - Constructor for class org.pojava.datetime.Tm
Populate year, month, day, hour, min, sec, nano from a DateTime
Tm(DateTime, TimeZone) - Constructor for class org.pojava.datetime.Tm
Constructor
Tm(long) - Constructor for class org.pojava.datetime.Tm
Populate year, month, day, hour, min, sec, nano
Tm(long, TimeZone) - Constructor for class org.pojava.datetime.Tm
Constructor
toDate() - Method in class org.pojava.datetime.DateTime
Get Date/Time as a Java Date object.
toMillis() - Method in class org.pojava.datetime.DateTime
Whole milliseconds offset from epoch.
toMillis() - Method in class org.pojava.datetime.Duration
Return time truncated to milliseconds
toString() - Method in class org.pojava.datetime.DateTime
By default, the toString method gives a sortable ISO 8601 date and time to nearest second in the same time zone as the system.
toString(String) - Method in class org.pojava.datetime.DateTime
Return a String according to the provided format.
toString(String, TimeZone) - Method in class org.pojava.datetime.DateTime
Return a String according to the provided format.
toString(String, Locale) - Method in class org.pojava.datetime.DateTime
Return a String according to the provided format.
toString(TimeZone) - Method in class org.pojava.datetime.DateTime
Return a String according to the provided format.
toString(String, TimeZone, Locale) - Method in class org.pojava.datetime.DateTime
Return a String according to the provided format.
toString() - Method in class org.pojava.datetime.Duration
Output duration as a string.
toString() - Method in class org.pojava.datetime.Shift
 
toTimestamp() - Method in class org.pojava.datetime.DateTime
Get a timestamp useful for JDBC
truncate(CalendarUnit) - Method in class org.pojava.datetime.DateTime
Truncate DateTime down to its nearest time unit as a time.

U

unspecifiedCenturyAlwaysInPast(boolean) - Method in class org.pojava.datetime.DateTimeConfigBuilder
 

V

validate() - Method in class org.pojava.datetime.DateTimeConfig
Ensure that object is complete and consistent
validate() - Method in interface org.pojava.datetime.IDateTimeConfig
 
validate() - Method in class org.pojava.datetime.LocalConfig
 
valueOf(String) - Static method in enum org.pojava.datetime.CalendarUnit
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.pojava.datetime.CalendarUnit
Returns an array containing the constants of this enum type, in the order they are declared.

W

WEEK - Static variable in class org.pojava.datetime.Duration
A WEEK = a fixed set of seven 24-hour days
weekday() - Method in class org.pojava.datetime.DateTime
Return numeric day of week, usually Sun=1, Mon=2, ...
A B C D E F G H I L M N O P S T U V W 

Copyright © 2014. All Rights Reserved.