Index

C D E F G I L R S T V Y Z 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

C

CALENDAR_NULL - Static variable in class io.github.perceivechuchu.datetimeutil.constant.ErrorMessages
The error message for null calendar parameter validation
convertEpochMillisToLocalDateTime(long) - Static method in class io.github.perceivechuchu.datetimeutil.converter.DateTimeConverter
Converts an Epoch time value in milliseconds with default zone (UTC) to a LocalDateTime object (Epoch is the number of seconds that have elapsed since 00:00:00 UTC on 1 January 1970).
convertEpochMillisToLocalDateTime(long, String) - Static method in class io.github.perceivechuchu.datetimeutil.converter.DateTimeConverter
Converts an Epoch time value in milliseconds with supplied zone id to a LocalDateTime object
convertLocalDateTimeToEpochMillis(LocalDateTime, String) - Static method in class io.github.perceivechuchu.datetimeutil.converter.DateTimeConverter
Converts a LocalDateTime object to Epoch time value in milliseconds
convertToCalendar(LocalDateTime, String) - Static method in class io.github.perceivechuchu.datetimeutil.converter.DateTimeConverter
Converts a LocalDateTime object with supplied time zone id to a Calendar object
convertToCalendar(ZonedDateTime) - Static method in class io.github.perceivechuchu.datetimeutil.converter.DateTimeConverter
Converts a ZonedDateTime object to a Calendar object
convertToCalendar(Date) - Static method in class io.github.perceivechuchu.datetimeutil.converter.DateTimeConverter
Converts a java.util.Date object to a java.util.Calendar object
convertToDate(Calendar) - Static method in class io.github.perceivechuchu.datetimeutil.converter.DateTimeConverter
Converts a java.util.Calendar object to a java.util.Date object
convertToLocalDate(String) - Static method in class io.github.perceivechuchu.datetimeutil.converter.DateTimeConverter
Converts LocalDate in textual format with default date formatter to a LocalDate object.
convertToLocalDate(String, String) - Static method in class io.github.perceivechuchu.datetimeutil.converter.DateTimeConverter
Converts LocalDate in textual format with supplied date format pattern to a LocalDate object
convertToLocalDate(String, DateTimeFormatter) - Static method in class io.github.perceivechuchu.datetimeutil.converter.DateTimeConverter
Converts LocalDate in textual format with supplied date formatter to a LocalDate object
convertToLocalDateText(LocalDate) - Static method in class io.github.perceivechuchu.datetimeutil.converter.DateTimeConverter
Converts a LocalDate object with default date formatter to LocalDate in textual format.
convertToLocalDateText(LocalDate, String) - Static method in class io.github.perceivechuchu.datetimeutil.converter.DateTimeConverter
Converts a LocalDate object with supplied date format pattern to LocalDate in textual format
convertToLocalDateText(LocalDate, DateTimeFormatter) - Static method in class io.github.perceivechuchu.datetimeutil.converter.DateTimeConverter
Converts a LocalDate object with supplied date formatter to LocalDate in textual format
convertToLocalDateTime(String) - Static method in class io.github.perceivechuchu.datetimeutil.converter.DateTimeConverter
Converts LocalDateTime in textual format with default date formatter to a LocalDateTime object.
convertToLocalDateTime(String, DateTimeFormatter) - Static method in class io.github.perceivechuchu.datetimeutil.converter.DateTimeConverter
Converts LocalDateTime in textual format with supplied date formatter to a LocalDateTime object
convertToLocalDateTime(Timestamp) - Static method in class io.github.perceivechuchu.datetimeutil.converter.DateTimeConverter
Converts a Timestamp object to a LocalDateTime object
convertToLocalDateTime(Calendar, String) - Static method in class io.github.perceivechuchu.datetimeutil.converter.DateTimeConverter
Converts a java.util.Calendar object with supplied time zone id to a LocalDateTime object
convertToLocalDateTime(Date) - Static method in class io.github.perceivechuchu.datetimeutil.converter.DateTimeConverter
Converts a java.util.Date object to a LocalDateTime object
convertToLocalDateTime(Date, String) - Static method in class io.github.perceivechuchu.datetimeutil.converter.DateTimeConverter
Converts a java.util.Date object with supplied time zone id to a LocalDateTime object
convertToLocalDateTimeText(LocalDateTime) - Static method in class io.github.perceivechuchu.datetimeutil.converter.DateTimeConverter
Converts a LocalDateTime object with default date formatter to LocalDateTime in textual format
convertToLocalDateTimeText(LocalDateTime, String) - Static method in class io.github.perceivechuchu.datetimeutil.converter.DateTimeConverter
Converts a LocalDateTime object with supplied date format pattern to LocalDateTime in textual format
convertToLocalDateTimeText(LocalDateTime, DateTimeFormatter) - Static method in class io.github.perceivechuchu.datetimeutil.converter.DateTimeConverter
Converts a LocalDateTime object with supplied date formatter to LocalDateTime in textual format
convertToLocalDateTimeWithPattern(String, String) - Static method in class io.github.perceivechuchu.datetimeutil.converter.DateTimeConverter
Converts LocalDateTime in textual format with supplied date format pattern to a LocalDateTime object
convertToLocalDateTimeWithZone(String, String) - Static method in class io.github.perceivechuchu.datetimeutil.converter.DateTimeConverter
Converts a UTC ZonedDateTime object (Zulu time) to LocalDateTime in textual format
convertToTimestamp(String) - Static method in class io.github.perceivechuchu.datetimeutil.converter.DateTimeConverter
Converts LocalDateTime in textual format to a Timestamp object
convertToTimestamp(LocalDateTime) - Static method in class io.github.perceivechuchu.datetimeutil.converter.DateTimeConverter
Converts a LocalDateTime object to a Timestamp object
convertToUTCZonedDateTime(LocalDateTime, String) - Static method in class io.github.perceivechuchu.datetimeutil.converter.DateTimeConverter
Converts a LocalDateTime object to a UTC ZonedDateTime object
convertToUTCZonedDateTimeText(LocalDateTime, String) - Static method in class io.github.perceivechuchu.datetimeutil.converter.DateTimeConverter
Converts a LocalDateTime object to UTC ZonedDateTime in textual format using default date time formatter (yyyy-MM-dd'T'HH:mm:ss.SSSXXX)
convertToUTCZonedDateTimeText(LocalDateTime, String, String) - Static method in class io.github.perceivechuchu.datetimeutil.converter.DateTimeConverter
Converts a LocalDateTime object to UTC ZonedDateTime in textual format using provided date format pattern
convertToUTCZonedDateTimeText(LocalDateTime, String, DateTimeFormatter) - Static method in class io.github.perceivechuchu.datetimeutil.converter.DateTimeConverter
Converts a LocalDateTime object to UTC ZonedDateTime in textual format using provided date time formatter
convertToZonedDateTime(LocalDateTime, String) - Static method in class io.github.perceivechuchu.datetimeutil.converter.DateTimeConverter
Converts a LocalDateTime object with supplied time zone id to a ZonedDateTime object
convertToZonedDateTime(LocalDateTime, String, String) - Static method in class io.github.perceivechuchu.datetimeutil.converter.DateTimeConverter
Converts a LocalDateTime object to a ZonedDateTime object
convertToZonedDateTime(Calendar) - Static method in class io.github.perceivechuchu.datetimeutil.converter.DateTimeConverter
Converts a java.util.Calendar object to a ZonedDateTime object
convertToZonedDateTime(Date) - Static method in class io.github.perceivechuchu.datetimeutil.converter.DateTimeConverter
Converts a java.util.Date object to a ZonedDateTime object

D

DATE_FORMAT_PATTERN_EMPTY - Static variable in class io.github.perceivechuchu.datetimeutil.constant.ErrorMessages
The error message for empty dateFormatPattern parameter validation
DATE_FORMATTER_NULL - Static variable in class io.github.perceivechuchu.datetimeutil.constant.ErrorMessages
The error message for null formatter parameter validation
DATE_NULL - Static variable in class io.github.perceivechuchu.datetimeutil.constant.ErrorMessages
The error message for null date parameter validation
DATE_TIME_TEXT_EMPTY - Static variable in class io.github.perceivechuchu.datetimeutil.constant.ErrorMessages
The error message for null dateTimeText parameter validation
dateFormats - Static variable in class io.github.perceivechuchu.datetimeutil.validator.DateTimeValidator
The holder for all the date format list items
DateTimeConversionException - Exception in io.github.perceivechuchu.datetimeutil.exception
DateTimeConversionException is thrown when date conversion fails
DateTimeConversionException(String) - Constructor for exception io.github.perceivechuchu.datetimeutil.exception.DateTimeConversionException
the constructor that instantiates an instance of DateTimeConversionException
DateTimeConverter - Class in io.github.perceivechuchu.datetimeutil.converter
This class is a utility for date conversions
DateTimeValidationException - Exception in io.github.perceivechuchu.datetimeutil.exception
DateTimeValidationException is thrown when datetime validation fails
DateTimeValidationException(String) - Constructor for exception io.github.perceivechuchu.datetimeutil.exception.DateTimeValidationException
the constructor that instantiates an instance of DateTimeValidationException
DateTimeValidator - Class in io.github.perceivechuchu.datetimeutil.validator
This class is a utility for date time validations
deduceZoneOffset(int) - Static method in class io.github.perceivechuchu.datetimeutil.timezone.ZoneOffsetUtil
Converts offset from integer value to string offset

E

ErrorMessages - Class in io.github.perceivechuchu.datetimeutil.constant
This class is a utility for error message constant variables

F

fileLocation - Static variable in class io.github.perceivechuchu.datetimeutil.validator.DateTimeValidator
The location of the file that contains date format patterns

G

getAllTimeZones() - Static method in class io.github.perceivechuchu.datetimeutil.timezone.TimeZoneUtil
Gets all available time zones.
getDateFormatter(String) - Static method in class io.github.perceivechuchu.datetimeutil.converter.DateTimeConverter
Converts a date format pattern to a DateTimeFormatter object
getFileFromResourceAsStream() - Static method in class io.github.perceivechuchu.datetimeutil.validator.DateTimeValidator
Gets all the date format patterns in a file
getInstance(Object, String) - Static method in class io.github.perceivechuchu.datetimeutil.commons.model.ValidationEntry
Instantiates new ValidationEntry object
getInstance(String, String, String, Integer, String) - Static method in class io.github.perceivechuchu.datetimeutil.model.TimeZoneDetail
Gets an instance of a time zone detail
getTimeZoneAbbreviation(String) - Static method in class io.github.perceivechuchu.datetimeutil.timezone.TimeZoneUtil
Gets the abbreviation for a time zone

I

io.github.perceivechuchu.datetimeutil.commons.model - package io.github.perceivechuchu.datetimeutil.commons.model
 
io.github.perceivechuchu.datetimeutil.commons.util - package io.github.perceivechuchu.datetimeutil.commons.util
 
io.github.perceivechuchu.datetimeutil.constant - package io.github.perceivechuchu.datetimeutil.constant
 
io.github.perceivechuchu.datetimeutil.converter - package io.github.perceivechuchu.datetimeutil.converter
 
io.github.perceivechuchu.datetimeutil.exception - package io.github.perceivechuchu.datetimeutil.exception
 
io.github.perceivechuchu.datetimeutil.model - package io.github.perceivechuchu.datetimeutil.model
 
io.github.perceivechuchu.datetimeutil.timezone - package io.github.perceivechuchu.datetimeutil.timezone
 
io.github.perceivechuchu.datetimeutil.validator - package io.github.perceivechuchu.datetimeutil.validator
 
isValid(String) - Static method in class io.github.perceivechuchu.datetimeutil.validator.DateTimeValidator
Validates the date and time in textual format.
isValid(String, String) - Static method in class io.github.perceivechuchu.datetimeutil.validator.DateTimeValidator
Validates the date and time in textual format with the date format pattern to validate against.
isValid(String, Locale) - Static method in class io.github.perceivechuchu.datetimeutil.validator.DateTimeValidator
Validates the date and time in textual format with the locale
isValid(String, Locale, String) - Static method in class io.github.perceivechuchu.datetimeutil.validator.DateTimeValidator
Validates the date and time in textual format with locale and the date format pattern to validate against
isValidTimeZoneId(String) - Static method in class io.github.perceivechuchu.datetimeutil.timezone.TimeZoneUtil
Checks if a time zone id is valid

L

loadDateFormats() - Static method in class io.github.perceivechuchu.datetimeutil.validator.DateTimeValidator
Loads date format patterns from a file
LOCAL_DATE_NULL - Static variable in class io.github.perceivechuchu.datetimeutil.constant.ErrorMessages
The error message for null localDate parameter validation
LOCAL_DATE_TEXT_EMPTY - Static variable in class io.github.perceivechuchu.datetimeutil.constant.ErrorMessages
The error message for null localDateText parameter validation
LOCAL_DATE_TIME_NULL - Static variable in class io.github.perceivechuchu.datetimeutil.constant.ErrorMessages
The error message for null localDateTime parameter validation
LOCAL_DATE_TIME_TEXT_EMPTY - Static variable in class io.github.perceivechuchu.datetimeutil.constant.ErrorMessages
The error message for empty localDateTimeText parameter validation
LOCAL_TIME_ZONE_ID_EMPTY - Static variable in class io.github.perceivechuchu.datetimeutil.constant.ErrorMessages
The error message for empty localZoneId parameter validation
LOCALE_NULL - Static variable in class io.github.perceivechuchu.datetimeutil.constant.ErrorMessages
The error message for null locale parameter validation

R

rejectEmpty(ValidationEntry...) - Static method in class io.github.perceivechuchu.datetimeutil.commons.util.ValidationUtil
Validates and rejects null or empty input parameters
rejectEmpty(Object, String) - Static method in class io.github.perceivechuchu.datetimeutil.commons.util.ValidationUtil
Validates and rejects null or empty input parameter

S

searchTimeZonesByOffsetText(String) - Static method in class io.github.perceivechuchu.datetimeutil.timezone.TimeZoneUtil
Search time zones by the offset text e.g.

T

TARGET_TIME_ZONE_ID_EMPTY - Static variable in class io.github.perceivechuchu.datetimeutil.constant.ErrorMessages
The error message for empty targetTimeZoneId parameter validation
TIME_OFFSET_TEXT_EMPTY - Static variable in class io.github.perceivechuchu.datetimeutil.constant.ErrorMessages
The error message for empty offsetText parameter validation
TIME_ZONE_ID_EMPTY - Static variable in class io.github.perceivechuchu.datetimeutil.constant.ErrorMessages
The error message for empty timeZoneId parameter validation
TIME_ZONE_ID_INVALID - Static variable in class io.github.perceivechuchu.datetimeutil.constant.ErrorMessages
The error message for empty invalid timeZoneId parameter validation
TIMESTAMP_NULL - Static variable in class io.github.perceivechuchu.datetimeutil.constant.ErrorMessages
The error message for null timestamp parameter validation
TimeZoneDetail - Class in io.github.perceivechuchu.datetimeutil.model
TimeZoneDetail class holds the time zone details.
TimeZoneDetail() - Constructor for class io.github.perceivechuchu.datetimeutil.model.TimeZoneDetail
 
TimeZoneUtil - Class in io.github.perceivechuchu.datetimeutil.timezone
This class is a utility for time zones

V

ValidationEntry - Class in io.github.perceivechuchu.datetimeutil.commons.model
ValidationEntry class holds the value and message during parameter validation
ValidationEntry() - Constructor for class io.github.perceivechuchu.datetimeutil.commons.model.ValidationEntry
 
ValidationUtil - Class in io.github.perceivechuchu.datetimeutil.commons.util
This class is a utility for validating input parameters

Y

YYYY_MM_DD_HH_MM_SS_SSSXXX - Static variable in class io.github.perceivechuchu.datetimeutil.converter.DateTimeConverter
The zulu date format pattern

Z

ZONED_DATE_TIME_NULL - Static variable in class io.github.perceivechuchu.datetimeutil.constant.ErrorMessages
The error message for null zonedDateTime parameter validation
ZONED_DATE_TIME_TEXT_EMPTY - Static variable in class io.github.perceivechuchu.datetimeutil.constant.ErrorMessages
The error message for empty zonedDateTimeText parameter validation
ZoneOffsetUtil - Class in io.github.perceivechuchu.datetimeutil.timezone
This class is a utility for time zone offset
C D E F G I L R S T V Y Z 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form