C D E F G H I M N O P S T U V Y

C

create(DayDate, TimeOfDay) - Method in interface org.enblom.time.TimeFactory
Creates a new Time instance representing the given time of day of the given date.

D

day() - Method in interface org.enblom.time.DayDate
 
day() - Method in interface org.enblom.time.Time
 
DayDate - Interface in org.enblom.time
Represents a date - year, month, day in the range Jan 1, 1000 - Dec 31, 9999, with a lot of utilities.
DayDateFactory - Interface in org.enblom.time
Factory for creating DayDate objects.
DayDateFormatter - Interface in org.enblom.time
Provides methods for formatting a DayDate object as a human-readable string.
DayOfWeek - Enum in org.enblom.time
Represents a day of the week: Sunday, Monday and so on.
deserialize(String) - Method in interface org.enblom.time.DayDateFactory
Creates a new DayDate object with date of the given string serialization, as returned by DayDate.serialize()
deserialize(String) - Method in interface org.enblom.time.TimeFactory
Creates a new Time object with time of the given string serialization, as returned by Time.serialize()
deserialize(String) - Method in interface org.enblom.time.TimeOfDayFactory
Creates a new TimeOfDay object with time of the given string serialization, as returned by TimeOfDay.serialize()
differenceInDays(Time, Time) - Static method in class org.enblom.time.TimeUtils
Calculates the difference in whole days between the two given times.
differenceInDays(DayDate, DayDate) - Static method in class org.enblom.time.TimeUtils
Calculates the difference in whole days between the two given date.
differenceInMillis(Time, Time) - Static method in class org.enblom.time.TimeUtils
Calculates the difference in milliseconds between the two given times.
differenceInMillis(TimeOfDay, TimeOfDay) - Static method in class org.enblom.time.TimeUtils
Calculates the difference in milliseconds between the two given times of day.

E

equals(Object) - Method in interface org.enblom.time.DayDate
 
equals(Object) - Method in interface org.enblom.time.Time
 
equals(Object) - Method in interface org.enblom.time.TimeOfDay
 
eur() - Method in interface org.enblom.time.DayDate
Provides a formatter for this date instance that formats day dates according to some de-facto European standard.
eur() - Method in interface org.enblom.time.Time
Provides a formatter for this time instance that formats timestamps according to some de-facto European standard.
eur() - Method in interface org.enblom.time.TimeOfDay
Provides a formatter for this time instance that formats times of day according to some de-facto European standard.

F

factory - Static variable in interface org.enblom.time.DayDate
A default implementaton of DayDateFactory, for creating new instances.
factory - Static variable in interface org.enblom.time.Time
A default implementation of a TimeFactory, for creating new instances.
factory - Static variable in interface org.enblom.time.TimeOfDay
A default implementation of a TimeOfDayFactory, for creating new instances.
formatCompactDate() - Method in interface org.enblom.time.DayDateFormatter
Formats the date as a compact string, with no delimiters between year, month and date.
formatCompactDate() - Method in interface org.enblom.time.TimeFormatter
Formats the date of the time as a compact string, with no delimiters between year, month and date.
formatCompactLongTime() - Method in interface org.enblom.time.TimeFormatter
Formats the time of day of this time as a compact string, with no delimiters between the different parts of this time.
formatCompactLongTime() - Method in interface org.enblom.time.TimeOfDayFormatter
Formats the time of day as a compact string, with no delimiters between the different parts of the time.
formatCompactShortDate() - Method in interface org.enblom.time.DayDateFormatter
Formats the date as a compact string, with no delimiters between year, month and date.
formatCompactShortDate() - Method in interface org.enblom.time.TimeFormatter
Formats the date of the time as a compact string, with no delimiters between year, month and date.
formatCompactShortDateAndLongTime() - Method in interface org.enblom.time.TimeFormatter
Formats the the time as a full string.
formatCompactShortDateAndShortTime() - Method in interface org.enblom.time.TimeFormatter
Formats the the time as a full string.
formatCompactShortDateAndTime() - Method in interface org.enblom.time.TimeFormatter
Formats the the time as a full string.
formatCompactShortTime() - Method in interface org.enblom.time.TimeFormatter
Formats the time of day of this time as a compact string, with no delimiters between the different parts of this time.
formatCompactShortTime() - Method in interface org.enblom.time.TimeOfDayFormatter
Formats the time of day as a compact string, with no delimiters between the different parts of the time.
formatCompactTime() - Method in interface org.enblom.time.TimeFormatter
Formats the time of day of this time as a compact string, with no delimiters between the different parts of this time.
formatCompactTime() - Method in interface org.enblom.time.TimeOfDayFormatter
Formats the time of day as a compact string, with no delimiters between the different parts of the time.
formatDate() - Method in interface org.enblom.time.DayDateFormatter
Formats the date as a string, with delimiters between year, month and day.
formatDate() - Method in interface org.enblom.time.TimeFormatter
Formats the date of this time as a string, with delimiters between year, month and day.
formatDateAndLongTime() - Method in interface org.enblom.time.TimeFormatter
Formats the the time as a full string.
formatDateAndShortTime() - Method in interface org.enblom.time.TimeFormatter
Formats the the time as a full string.
formatDateAndTime() - Method in interface org.enblom.time.TimeFormatter
Formats the the time as a full string.
formatLongTime() - Method in interface org.enblom.time.TimeFormatter
Formats the time of day of the time as a string, with delimiters between the different parts of this time.
formatLongTime() - Method in interface org.enblom.time.TimeOfDayFormatter
Formats the time of day as a string, with delimiters between the different parts of this time.
formatShortDate() - Method in interface org.enblom.time.DayDateFormatter
Formats the date in a shorter way.
formatShortDate() - Method in interface org.enblom.time.TimeFormatter
Formats the date of this time as a string, with delimiters between year, month and day.
formatShortDateAndLongTime() - Method in interface org.enblom.time.TimeFormatter
Formats the the time as a full string.
formatShortDateAndShortTime() - Method in interface org.enblom.time.TimeFormatter
Formats the the time as a full string.
formatShortDateAndTime() - Method in interface org.enblom.time.TimeFormatter
Formats the the time as a full string.
formatShortTime() - Method in interface org.enblom.time.TimeFormatter
Formats the time of day of the time as a string, with delimiters between the different parts of this time.
formatShortTime() - Method in interface org.enblom.time.TimeOfDayFormatter
Formats the time of day as a string, with delimiters between the different parts of this time.
formatTime() - Method in interface org.enblom.time.TimeFormatter
Formats the time of day of the time as a string, with delimiters between the different parts of this time.
formatTime() - Method in interface org.enblom.time.TimeOfDayFormatter
Formats the time of day as a string, with delimiters between the different parts of this time.
fromInt(int) - Method in interface org.enblom.time.DayDateFactory
Converts an int, as returned from DayDate.toInt() to a DayDate object.
fromInt(int) - Method in interface org.enblom.time.TimeOfDayFactory
Converts an int, as returned from TimeOfDay.toInt() to a TimeOfDay object.
fromJavaUtilDate(Date) - Method in interface org.enblom.time.TimeFactory
Converts a Date to a Time object, using the default time zone.
fromJavaUtilDate(Date, TimeZone) - Method in interface org.enblom.time.TimeFactory
Converts a Date to a Time object, using the given time zone.
fromLong(long) - Method in interface org.enblom.time.TimeFactory
Converts a long, as returned from Time.toLong() to a Time object.
fromNum(int) - Static method in enum org.enblom.time.Month
Returns the month with the given number in the range 1-12.

G

getDate() - Method in interface org.enblom.time.Time
 
getDayOfWeek() - Method in interface org.enblom.time.DayDate
Calculates the day of week of this date.
getDayOfWeek() - Method in interface org.enblom.time.Time
Calculates the day of week of this time.
getDefault() - Method in interface org.enblom.time.DayDateFactory
Returns a default date value: 1970-01-01 (the UNIX epoch date).
getDefault() - Method in interface org.enblom.time.TimeFactory
Returns a default time value: 1970-01-01 00:00:00.000 (the UNIX epoch time).
getDefault() - Method in interface org.enblom.time.TimeOfDayFactory
Returns a default time of day: 00:00:00.000 (midnight).
getTimeOfDay() - Method in interface org.enblom.time.Time
 

H

hashCode() - Method in interface org.enblom.time.DayDate
 
hashCode() - Method in interface org.enblom.time.Time
 
hashCode() - Method in interface org.enblom.time.TimeOfDay
 
hour() - Method in interface org.enblom.time.Time
 
hour() - Method in interface org.enblom.time.TimeOfDay
 

I

isAfter(Time) - Method in interface org.enblom.time.Time
Determines if this is after (inclusive) the given time.
isAfter(TimeOfDay) - Method in interface org.enblom.time.Time
Determines if this is after (inclusive) the given time of day.
isAfter(int, int) - Method in interface org.enblom.time.Time
Determines if this is after (inclusive) the given time of day.
isAfter(int, int, int) - Method in interface org.enblom.time.Time
Determines if this is after (inclusive) the given time of day.
isAfter(int, int) - Method in interface org.enblom.time.TimeOfDay
Determines if this is after (inclusive) the given time of day.
isAfter(int, int, int) - Method in interface org.enblom.time.TimeOfDay
Determines if this is after (inclusive) the given time of day.
isBefore(Time) - Method in interface org.enblom.time.Time
Determines if this is before (exclusive) the given time.
isBefore(TimeOfDay) - Method in interface org.enblom.time.Time
Determines if this is before (exclusive) the given time of day.
isBefore(int, int) - Method in interface org.enblom.time.Time
Determines if this is before (exclusive) the given time of day.
isBefore(int, int, int) - Method in interface org.enblom.time.Time
Determines if this is before (exclusive) the given time of day.
isBefore(int, int) - Method in interface org.enblom.time.TimeOfDay
Determines if this is before (exclusive) the given time of day.
isBefore(int, int, int) - Method in interface org.enblom.time.TimeOfDay
Determines if this is before (exclusive) the given time of day.
isLaterDayThan(Time) - Method in interface org.enblom.time.Time
Determines whether this is in a later day than the given time.
isLaterHourThan(Time) - Method in interface org.enblom.time.Time
Determines whether this is in a later hour than the given time.
isLaterHourThan(TimeOfDay) - Method in interface org.enblom.time.TimeOfDay
Determines whether this is in a later hour than the given time of day.
isLaterMinuteThan(Time) - Method in interface org.enblom.time.Time
Determines whether this is in a later minute than the given time.
isLaterMinuteThan(TimeOfDay) - Method in interface org.enblom.time.TimeOfDay
Determines whether this is in a later minute than the given time of day.
isLaterMonthThan(DayDate) - Method in interface org.enblom.time.DayDate
Determines whether this is in a later month than the given date.
isLaterMonthThan(Time) - Method in interface org.enblom.time.Time
Determines whether this is in a later month than the given time.
isLaterSecondThan(Time) - Method in interface org.enblom.time.Time
Determines whether this is in a later second than the given time.
isLaterSecondThan(TimeOfDay) - Method in interface org.enblom.time.TimeOfDay
Determines whether this is in a later second than the given time.
isLaterYearThan(DayDate) - Method in interface org.enblom.time.DayDate
Determines whether this is in a later year than the given date.
isLaterYearThan(Time) - Method in interface org.enblom.time.Time
Determines whether this is in a later year than the given time.
iso() - Method in interface org.enblom.time.DayDate
Provides a formatter for this date instance that formats day dates according to the ISO-8601 standard.
iso() - Method in interface org.enblom.time.Time
Provides a formatter for this time instance that formats timestamps according to the ISO-8601 standard.
iso() - Method in interface org.enblom.time.TimeOfDay
Provides a formatter for this time instance that formats time of day according to the ISO-8601 standard.
isSameDayAs(Time) - Method in interface org.enblom.time.Time
Determines whether this is in the same day (of the same year) as the given time.
isSameHourAs(Time) - Method in interface org.enblom.time.Time
Determines whether this is in the same hour (of the same day and year) as the given time.
isSameHourAs(TimeOfDay) - Method in interface org.enblom.time.TimeOfDay
Determines whether this is in the same hour as the given time of day.
isSameMinuteAs(Time) - Method in interface org.enblom.time.Time
Determines whether this is in the same minute (of the same hour, day and year) as the given time.
isSameMinuteAs(TimeOfDay) - Method in interface org.enblom.time.TimeOfDay
Determines whether this is in the same minute (of the same hour) as the given time of day.
isSameMonthAs(DayDate) - Method in interface org.enblom.time.DayDate
Determines whether this is in the same month and the same year as the given date.
isSameMonthAs(Time) - Method in interface org.enblom.time.Time
Determines whether this is in the same month and the same year as the given time.
isSameSecondAs(Time) - Method in interface org.enblom.time.Time
Determines whether this is in the same second (of the same minute, hour, day and year) as the given time.
isSameSecondAs(TimeOfDay) - Method in interface org.enblom.time.TimeOfDay
Determines whether this is in the same second (of the same minute, and hour) as the given time of day.
isSameYearAs(DayDate) - Method in interface org.enblom.time.DayDate
Determines whether this is in the same year as the given date.
isSameYearAs(Time) - Method in interface org.enblom.time.Time
Determines whether this is in the same year as the given time.

M

max(Time, Time) - Static method in class org.enblom.time.TimeUtils
Finds the maximum of two times.
max(DayDate, DayDate) - Static method in class org.enblom.time.TimeUtils
Finds the maximum of two dates.
max(TimeOfDay, TimeOfDay) - Static method in class org.enblom.time.TimeUtils
Finds the maximum of two times.
millis() - Method in interface org.enblom.time.Time
 
millis() - Method in interface org.enblom.time.TimeOfDay
 
min(Time, Time) - Static method in class org.enblom.time.TimeUtils
Finds the minimum of two times.
min(DayDate, DayDate) - Static method in class org.enblom.time.TimeUtils
Finds the minimum of two dates.
min(TimeOfDay, TimeOfDay) - Static method in class org.enblom.time.TimeUtils
Finds the minimum of two times.
minute() - Method in interface org.enblom.time.Time
 
minute() - Method in interface org.enblom.time.TimeOfDay
 
month() - Method in interface org.enblom.time.DayDate
 
Month - Enum in org.enblom.time
A month.
month() - Method in interface org.enblom.time.Time
 
moveToTimeZone(Time, TimeZone, TimeZone) - Static method in class org.enblom.time.TimeUtils
Given a time with a time zone, calculate the corresponding time in another time zone.

N

now() - Method in interface org.enblom.time.DayDateFactory
 
now() - Method in interface org.enblom.time.TimeFactory
 
now() - Method in interface org.enblom.time.TimeOfDayFactory
 

O

org.enblom.time - package org.enblom.time
Veyder-time: a simple and efficient time and date framework for Java.

P

pack() - Method in interface org.enblom.time.Time
Creates a long representation of the timestamp that is packed into the first 49 bits of the long, and still represents the timestamp uniquely.
parse(String, String, String) - Method in interface org.enblom.time.DayDateFactory
Creates a new DayDate object, if possible, from the given parameters.
parse(int, int, int) - Method in interface org.enblom.time.DayDateFactory
Creates a new DayDate object, if possible, from the given parameters.
parse(String) - Method in interface org.enblom.time.DayDateFactory
Creates a new DayDate object, if possible, from the given string representation.
parse(String, String, String, String, String, String) - Method in interface org.enblom.time.TimeFactory
Creates a new Time object, if possible, from the given parameters.
parse(int, int, int, int, int, int) - Method in interface org.enblom.time.TimeFactory
Creates a new Time object, if possible, from the given parameters.
parse(String, String, String, String, String, String, String) - Method in interface org.enblom.time.TimeFactory
Creates a new Time object, if possible, from the given parameters.
parse(int, int, int, int, int, int, int) - Method in interface org.enblom.time.TimeFactory
Creates a new Time object, if possible, from the given parameters.
parse(String, String, String, String) - Method in interface org.enblom.time.TimeFactory
Creates a new Time object, if possible, from the given parameters.
parse(String, int, int, int) - Method in interface org.enblom.time.TimeFactory
Creates a new Time object, if possible, from the given parameters.
parse(String, String, String, String, String) - Method in interface org.enblom.time.TimeFactory
Creates a new Time object, if possible, from the given parameters.
parse(String, int, int, int, int) - Method in interface org.enblom.time.TimeFactory
Creates a new Time object, if possible, from the given parameters.
parse(String, TimeOfDay) - Method in interface org.enblom.time.TimeFactory
Creates a new Time object, if possible, from the given parameters.
parse(DayDate, String, String, String) - Method in interface org.enblom.time.TimeFactory
Creates a new Time object, if possible, from the given parameters.
parse(DayDate, int, int, int) - Method in interface org.enblom.time.TimeFactory
Creates a new Time object, if possible, from the given parameters.
parse(DayDate, String, String, String, String) - Method in interface org.enblom.time.TimeFactory
Creates a new Time object, if possible, from the given parameters.
parse(DayDate, int, int, int, int) - Method in interface org.enblom.time.TimeFactory
Creates a new Time object, if possible, from the given parameters.
parse(String) - Method in interface org.enblom.time.TimeFactory
Creates a new Time object, if possible, from the given representation.
parse(String, String, String) - Method in interface org.enblom.time.TimeOfDayFactory
Creates a new TimeOfDay object, if possible, from the given parameters.
parse(int, int, int) - Method in interface org.enblom.time.TimeOfDayFactory
Creates a new TimeOfDay object, if possible, from the given parameters.
parse(String, String, String, String) - Method in interface org.enblom.time.TimeOfDayFactory
Creates a new TimeOfDay object, if possible, from the given parameters.
parse(int, int, int, int) - Method in interface org.enblom.time.TimeOfDayFactory
Creates a new TimeOfDay object, if possible, from the given parameters.
parse(String) - Method in interface org.enblom.time.TimeOfDayFactory
Creates a new TimeOfDay object, if possible, from the given string representation.
plusDays(int) - Method in interface org.enblom.time.DayDate
Adds or subtracts the given number of days to this date.
plusDays(int) - Method in interface org.enblom.time.Time
Adds or subtracts the given number of days to this time.
plusHours(int) - Method in interface org.enblom.time.Time
Adds or subtracts the given number of hours to this time.
plusHours(int) - Method in interface org.enblom.time.TimeOfDay
Adds or subtracts the given number of hours to this time of day.
plusMillis(long) - Method in interface org.enblom.time.Time
Adds or subtracts the given number of milliseconds to this time.
plusMillis(int) - Method in interface org.enblom.time.TimeOfDay
Adds or subtracts the given number of milliseconds to this time of day.
plusMinutes(long) - Method in interface org.enblom.time.Time
Adds or subtracts the given number of minutes to this time.
plusMinutes(int) - Method in interface org.enblom.time.TimeOfDay
Adds or subtracts the given number of minutes to this time of day.
plusMonths(int) - Method in interface org.enblom.time.DayDate
Adds or subtracts the given number of months to this date.
plusMonths(int) - Method in interface org.enblom.time.Time
Adds or subtracts the given number of months to this time.
plusSeconds(long) - Method in interface org.enblom.time.Time
Adds or subtracts the given number of seconds to this time.
plusSeconds(int) - Method in interface org.enblom.time.TimeOfDay
Adds or subtracts the given number of seconds to this time of day.
plusYears(int) - Method in interface org.enblom.time.DayDate
Adds or subtracts the given number of years to this date.
plusYears(int) - Method in interface org.enblom.time.Time
Adds or subtracts the given number of years to this time.

S

second() - Method in interface org.enblom.time.Time
 
second() - Method in interface org.enblom.time.TimeOfDay
 
serialize() - Method in interface org.enblom.time.DayDate
 
serialize() - Method in interface org.enblom.time.Time
 
serialize() - Method in interface org.enblom.time.TimeOfDay
 

T

Time - Interface in org.enblom.time
A complete time with date and time of day, and a lot of utilities.
TimeFactory - Interface in org.enblom.time
Factory for creating Time objects.
TimeFormatter - Interface in org.enblom.time
Provides methods for formatting a Time object as a human-readable string.
TimeOfDay - Interface in org.enblom.time
Represents a specific time of the day (hours, minutes, seconds, milliseconds) in the range 00:00:00.000 - 23:59:59.000.
TimeOfDayFactory - Interface in org.enblom.time
Factory for creating TimeOfDay objects.
TimeOfDayFormatter - Interface in org.enblom.time
Provides methods for formatting a TimeOfDay object as a human-readable string.
TimeOutOfRangeException - Exception in org.enblom.time
An exception showing that a time, time of day or date is out of range.
TimeOutOfRangeException() - Constructor for exception org.enblom.time.TimeOutOfRangeException
Creates a new exception.
TimeOutOfRangeException(String, Throwable) - Constructor for exception org.enblom.time.TimeOutOfRangeException
Creates a new exception with the given message and cause.
TimeOutOfRangeException(String) - Constructor for exception org.enblom.time.TimeOutOfRangeException
Creates a new exception with the given message.
TimeOutOfRangeException(Throwable) - Constructor for exception org.enblom.time.TimeOutOfRangeException
Creates a new exception with the given cause.
TimeUtils - Class in org.enblom.time
Utilities for dealing with Time and similar objects.
TimeUtils() - Constructor for class org.enblom.time.TimeUtils
 
toInt() - Method in interface org.enblom.time.DayDate
Creates an int representation of the date, which when written in base 10 is the string YYYYMMDD.
toInt() - Method in interface org.enblom.time.TimeOfDay
Creates an int representation of the time of day, which when written in base 10 is the string hhmmssnnn, where nnn is the milliseconds.
toJavaUtilDate() - Method in interface org.enblom.time.Time
Converts this time to a Date in the default timezone.
toJavaUtilDate(TimeZone) - Method in interface org.enblom.time.Time
Converts this time to a Date in the given timezone.
toLong() - Method in interface org.enblom.time.Time
Creates an long representation of the timestamp, which when written in base 10 is the string YYYYMMDDhhmmssnnn, where nnn is the milliseconds.
toNum() - Method in enum org.enblom.time.Month
 
toString() - Method in interface org.enblom.time.DayDate
Overrides Object.toString().
toString() - Method in interface org.enblom.time.Time
Overrides Object.toString().
toString() - Method in interface org.enblom.time.TimeOfDay
Overrides Object.toString().

U

unpack(long) - Method in interface org.enblom.time.TimeFactory
Converts a long, as returned from Time.pack() to a Time object.
us() - Method in interface org.enblom.time.DayDate
Provides a formatter for this date instance that formats day dates according to the US standard.
us() - Method in interface org.enblom.time.Time
Provides a formatter for this time instance that formats timestamps according to the US standard.
us() - Method in interface org.enblom.time.TimeOfDay
Provides a formatter for this time instance that formats times of day according to the US standard.
utc() - Method in interface org.enblom.time.DayDateFactory
 
utc() - Method in interface org.enblom.time.TimeFactory
 
utc() - Method in interface org.enblom.time.TimeOfDayFactory
 

V

valueOf(String) - Static method in enum org.enblom.time.DayOfWeek
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.enblom.time.Month
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.enblom.time.DayOfWeek
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.enblom.time.Month
Returns an array containing the constants of this enum type, in the order they are declared.

Y

year() - Method in interface org.enblom.time.DayDate
 
year() - Method in interface org.enblom.time.Time
 

C D E F G H I M N O P S T U V Y

Copyright © 2013. All Rights Reserved.