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

C

com.ethlo.time - package com.ethlo.time
 

D

DateTime - Class in com.ethlo.time
Container class for parsed date/date-time data.
DateTime(Field, int, int, int, int, int, int, int, TimezoneOffset, int) - Constructor for class com.ethlo.time.DateTime
 
DAY - com.ethlo.time.Field
 

E

equals(Object) - Method in class com.ethlo.time.DateTime
* @hidden

F

fallback(Temporal) - Method in interface com.ethlo.time.TemporalConsumer
 
fallback(Temporal) - Method in interface com.ethlo.time.TemporalHandler
 
Field - Enum in com.ethlo.time
Enumeration of the fields that makes up the date/date-time
format(OffsetDateTime) - Static method in class com.ethlo.time.ITU
Format the input as an RFC-3339 formatted date-time in the timezone of the input.
format(OffsetDateTime, int) - Static method in class com.ethlo.time.ITU
Format the input as an RFC-3339 formatted date-time in the timezone of the input, with the specified number of fraction digits.
formatUtc(OffsetDateTime) - Static method in class com.ethlo.time.ITU
Format the input as an RFC-3339 formatted date-time in the UTC timezone with second resolution.
formatUtc(OffsetDateTime, int) - Static method in class com.ethlo.time.ITU
Format the input as an RFC-3339 formatted date-time in the UTC timezone
formatUtc(OffsetDateTime, Field) - Static method in class com.ethlo.time.ITU
Format the input as an ISO format string, limited to the granularity of the specified field, in the UTC timezone.
formatUtcMicro(OffsetDateTime) - Static method in class com.ethlo.time.ITU
Format the input as an RFC-3339 formatted date-time in the UTC timezone with microsecond resolution.
formatUtcMilli(OffsetDateTime) - Static method in class com.ethlo.time.ITU
Format the input as an RFC-3339 formatted date-time in the UTC timezone with millisecond resolution.
formatUtcNano(OffsetDateTime) - Static method in class com.ethlo.time.ITU
Format the input as an RFC-3339 formatted date-time in the UTC timezone with nanosecond resolution

G

getDayOfMonth() - Method in class com.ethlo.time.DateTime
 
getFractionDigits() - Method in class com.ethlo.time.DateTime
Return the number of significant fraction digits in the second.
getHour() - Method in class com.ethlo.time.DateTime
 
getHours() - Method in class com.ethlo.time.TimezoneOffset
 
getMinute() - Method in class com.ethlo.time.DateTime
 
getMinutes() - Method in class com.ethlo.time.TimezoneOffset
 
getMonth() - Method in class com.ethlo.time.DateTime
 
getMostGranularField() - Method in class com.ethlo.time.DateTime
Returns the most granular field found during parsing
getNano() - Method in class com.ethlo.time.DateTime
 
getNearestDateTime() - Method in exception com.ethlo.time.LeapSecondException
Get the nearest date-time that is a roll-over to the next minute, (and potentially lower granularity fields) and 0 seconds.
getOffset() - Method in class com.ethlo.time.DateTime
Returns the time offset, if available
getRequiredLength() - Method in enum com.ethlo.time.Field
 
getSecond() - Method in class com.ethlo.time.DateTime
 
getSecondsInMinute() - Method in exception com.ethlo.time.LeapSecondException
The number of seconds, typically 60.
getTotalSeconds() - Method in class com.ethlo.time.TimezoneOffset
 
getYear() - Method in class com.ethlo.time.DateTime
 

H

handle(LocalDate) - Method in interface com.ethlo.time.TemporalConsumer
 
handle(LocalDate) - Method in interface com.ethlo.time.TemporalHandler
 
handle(LocalDateTime) - Method in interface com.ethlo.time.TemporalConsumer
 
handle(LocalDateTime) - Method in interface com.ethlo.time.TemporalHandler
 
handle(OffsetDateTime) - Method in interface com.ethlo.time.TemporalConsumer
 
handle(OffsetDateTime) - Method in interface com.ethlo.time.TemporalHandler
 
handle(Year) - Method in interface com.ethlo.time.TemporalConsumer
 
handle(Year) - Method in interface com.ethlo.time.TemporalHandler
 
handle(YearMonth) - Method in interface com.ethlo.time.TemporalConsumer
 
handle(YearMonth) - Method in interface com.ethlo.time.TemporalHandler
 
HOUR - com.ethlo.time.Field
 

I

includesGranularity(Field) - Method in class com.ethlo.time.DateTime
Returns if the specified field is part of this date/date-time
isValid(String) - Static method in class com.ethlo.time.ITU
Check if the dateTime is valid according to the RFC-3339 specification
isValid(String, TemporalType...) - Static method in class com.ethlo.time.ITU
Check if the input is valid for one of the specified types
isVerifiedValidLeapYearMonth() - Method in exception com.ethlo.time.LeapSecondException
Whether this is a date-time with a well-known leap-second
ITU - Class in com.ethlo.time
The main access to the parse and formatting functions in this library.

L

LeapSecondException - Exception in com.ethlo.time
This exception is used to signal that there was a potentially valid leap-second in the parsed input.
LeapSecondException(OffsetDateTime, int, boolean) - Constructor for exception com.ethlo.time.LeapSecondException
 
LOCAL_DATE - com.ethlo.time.TemporalType
 
LOCAL_DATE_TIME - com.ethlo.time.TemporalType
 

M

MINUTE - com.ethlo.time.Field
 
MONTH - com.ethlo.time.Field
 

N

NANO - com.ethlo.time.Field
 

O

of(int, int, int, int, int, int, int, TimezoneOffset, int) - Static method in class com.ethlo.time.DateTime
Create a new instance with nanosecond granularity from the input parameters
of(int, int, int, int, int, int, TimezoneOffset) - Static method in class com.ethlo.time.DateTime
Create a new instance with second granularity from the input parameters
of(int, int, int, int, int, TimezoneOffset) - Static method in class com.ethlo.time.DateTime
Create a new instance with minute granularity from the input parameters
of(OffsetDateTime) - Static method in class com.ethlo.time.DateTime
Create a new instance with data from the specified date-time.
of(ZoneOffset) - Static method in class com.ethlo.time.TimezoneOffset
 
ofDate(int, int, int) - Static method in class com.ethlo.time.DateTime
Create a new instance with day granularity from the input parameters
OFFSET_DATE_TIME - com.ethlo.time.TemporalType
 
ofHoursMinutes(int, int) - Static method in class com.ethlo.time.TimezoneOffset
 
ofYear(int) - Static method in class com.ethlo.time.DateTime
Create a new instance with year granularity from the input parameters
ofYearMonth(int, int) - Static method in class com.ethlo.time.DateTime
Create a new instance with year-month granularity from the input parameters

P

parse(String, TemporalConsumer) - Static method in class com.ethlo.time.ITU
Parse the input, and use callbacks for the type of date/date-time it contains.
parse(String, TemporalHandler<T>) - Static method in class com.ethlo.time.ITU
Parse the input, and use callbacks for the type of date/date-time it contains.
parseDateTime(String) - Static method in class com.ethlo.time.ITU
Parse an RFC-3339 formatted date-time to an OffsetDateTime
parseLenient(String) - Static method in class com.ethlo.time.ITU
Parse an ISO formatted date and optionally time to a DateTime.

S

SECOND - com.ethlo.time.Field
 

T

TemporalConsumer - Interface in com.ethlo.time
Consumer for flexibly dealing with different granularity date/date-times
TemporalHandler<T> - Interface in com.ethlo.time
Handler for flexibly dealing with different granularity date/date-times
TemporalType - Enum in com.ethlo.time
Enumeration listing the different types that can be converted to
TimezoneOffset - Class in com.ethlo.time
Container class for timezone offset, denoted by hours and minutes
toLocalDate() - Method in class com.ethlo.time.DateTime
Creates a LocalDate, discarding any higher granularity fields
toLocalDatetime() - Method in class com.ethlo.time.DateTime
Creates a LocalDateTime discarding any timezone information
toOffsetDatetime() - Method in class com.ethlo.time.DateTime
Creates an OffsetDateTime
toString() - Method in class com.ethlo.time.DateTime
Formats this date-time as a date/date-time with the same fields as was parsed
toString() - Method in class com.ethlo.time.TimezoneOffset
 
toString(int) - Method in class com.ethlo.time.DateTime
Formats this date-time as an RFC-3339 compatible string with the specified number of fractions in the second.
toString(Field) - Method in class com.ethlo.time.DateTime
Formats this date-time as an ISO formatted string with the last included field as specified.
toYear() - Method in class com.ethlo.time.DateTime
Creates a Year discarding any higher granularity fields
toYearMonth() - Method in class com.ethlo.time.DateTime
Creates a YearMonth discarding any higher granularity fields
toZoneOffset() - Method in class com.ethlo.time.TimezoneOffset
 

U

UTC - Static variable in class com.ethlo.time.TimezoneOffset
 

V

valueOf(Class<? extends Temporal>) - Static method in enum com.ethlo.time.Field
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.ethlo.time.Field
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.ethlo.time.TemporalType
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.ethlo.time.Field
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.ethlo.time.TemporalType
Returns an array containing the constants of this enum type, in the order they are declared.

Y

YEAR - com.ethlo.time.Field
 
YEAR - com.ethlo.time.TemporalType
 
YEAR_MONTH - com.ethlo.time.TemporalType
 
C D E F G H I L M N O P S T U V Y 
All Classes All Packages