| Package | Description |
|---|---|
| com.helger.commons.datetime |
| Modifier and Type | Field and Description |
|---|---|
static XMLOffsetDate |
XMLOffsetDate.MAX
The maximum supported
XMLOffsetDate, '+999999999-12-31-18:00'. |
static XMLOffsetDate |
XMLOffsetDate.MAX
The maximum supported
XMLOffsetDate, '+999999999-12-31-18:00'. |
static XMLOffsetDate |
XMLOffsetDate.MIN
The minimum supported
XMLOffsetDate, '-999999999-01-01+18:00'. |
static XMLOffsetDate |
XMLOffsetDate.MIN
The minimum supported
XMLOffsetDate, '-999999999-01-01+18:00'. |
| Modifier and Type | Method and Description |
|---|---|
static XMLOffsetDate |
PDTFactory.createXMLOffsetDate(Date a) |
static XMLOffsetDate |
PDTFactory.createXMLOffsetDate(Date a) |
static XMLOffsetDate |
PDTFactory.createXMLOffsetDate(GregorianCalendar a) |
static XMLOffsetDate |
PDTFactory.createXMLOffsetDate(GregorianCalendar a) |
static XMLOffsetDate |
PDTFactory.createXMLOffsetDate(Instant a) |
static XMLOffsetDate |
PDTFactory.createXMLOffsetDate(Instant a) |
static XMLOffsetDate |
PDTFactory.createXMLOffsetDate(Instant a,
ZoneId aZoneId) |
static XMLOffsetDate |
PDTFactory.createXMLOffsetDate(Instant a,
ZoneId aZoneId) |
static XMLOffsetDate |
PDTFactory.createXMLOffsetDate(int nYear,
Month eMonth,
int nDayOfMonth) |
static XMLOffsetDate |
PDTFactory.createXMLOffsetDate(int nYear,
Month eMonth,
int nDayOfMonth) |
static XMLOffsetDate |
PDTFactory.createXMLOffsetDate(int nYear,
Month eMonth,
int nDayOfMonth,
ZoneOffset aOffset) |
static XMLOffsetDate |
PDTFactory.createXMLOffsetDate(int nYear,
Month eMonth,
int nDayOfMonth,
ZoneOffset aOffset) |
static XMLOffsetDate |
PDTFactory.createXMLOffsetDate(LocalDate a) |
static XMLOffsetDate |
PDTFactory.createXMLOffsetDate(LocalDate a) |
static XMLOffsetDate |
PDTFactory.createXMLOffsetDate(LocalDateTime a) |
static XMLOffsetDate |
PDTFactory.createXMLOffsetDate(LocalDateTime a) |
static XMLOffsetDate |
PDTFactory.createXMLOffsetDate(LocalDateTime a,
ZoneOffset aOffset) |
static XMLOffsetDate |
PDTFactory.createXMLOffsetDate(LocalDateTime a,
ZoneOffset aOffset) |
static XMLOffsetDate |
PDTFactory.createXMLOffsetDate(LocalDate a,
ZoneOffset aOffset) |
static XMLOffsetDate |
PDTFactory.createXMLOffsetDate(LocalDate a,
ZoneOffset aOffset) |
static XMLOffsetDate |
PDTFactory.createXMLOffsetDate(long nMillis) |
static XMLOffsetDate |
PDTFactory.createXMLOffsetDate(long nMillis) |
static XMLOffsetDate |
PDTFactory.createXMLOffsetDate(Number a) |
static XMLOffsetDate |
PDTFactory.createXMLOffsetDate(Number a) |
static XMLOffsetDate |
PDTFactory.createXMLOffsetDate(OffsetDateTime a) |
static XMLOffsetDate |
PDTFactory.createXMLOffsetDate(OffsetDateTime a) |
static XMLOffsetDate |
PDTFactory.createXMLOffsetDate(XMLOffsetDateTime a) |
static XMLOffsetDate |
PDTFactory.createXMLOffsetDate(XMLOffsetDateTime a) |
static XMLOffsetDate |
PDTFactory.createXMLOffsetDate(Year a) |
static XMLOffsetDate |
PDTFactory.createXMLOffsetDate(Year a) |
static XMLOffsetDate |
PDTFactory.createXMLOffsetDate(YearMonth a) |
static XMLOffsetDate |
PDTFactory.createXMLOffsetDate(YearMonth a) |
static XMLOffsetDate |
PDTFactory.createXMLOffsetDate(ZonedDateTime a) |
static XMLOffsetDate |
PDTFactory.createXMLOffsetDate(ZonedDateTime a) |
static XMLOffsetDate |
XMLOffsetDate.from(TemporalAccessor temporal)
Obtains an instance of
XMLOffsetDate from a temporal object. |
static XMLOffsetDate |
XMLOffsetDate.from(TemporalAccessor temporal)
Obtains an instance of
XMLOffsetDate from a temporal object. |
static XMLOffsetDate |
PDTFactory.getCurrentXMLOffsetDate() |
static XMLOffsetDate |
PDTFactory.getCurrentXMLOffsetDate() |
static XMLOffsetDate |
PDTFactory.getCurrentXMLOffsetDateUTC() |
static XMLOffsetDate |
PDTFactory.getCurrentXMLOffsetDateUTC() |
static XMLOffsetDate |
PDTFromString.getXMLOffsetDateFromString(String sValue,
DateTimeFormatter aDF) |
static XMLOffsetDate |
PDTFromString.getXMLOffsetDateFromString(String sValue,
DateTimeFormatter aDF) |
static XMLOffsetDate |
PDTFromString.getXMLOffsetDateFromString(String sValue,
String sPattern) |
static XMLOffsetDate |
PDTFromString.getXMLOffsetDateFromString(String sValue,
String sPattern) |
static XMLOffsetDate |
PDTWebDateHelper.getXMLOffsetDateFromXSD(String sValue) |
static XMLOffsetDate |
PDTWebDateHelper.getXMLOffsetDateFromXSD(String sValue) |
XMLOffsetDate |
XMLOffsetDate.minus(long amountToSubtract,
TemporalUnit unit)
Returns a copy of this date with the specified amount subtracted.
|
XMLOffsetDate |
XMLOffsetDate.minus(long amountToSubtract,
TemporalUnit unit)
Returns a copy of this date with the specified amount subtracted.
|
XMLOffsetDate |
XMLOffsetDate.minus(TemporalAmount amountToSubtract)
Returns a copy of this date with the specified amount subtracted.
|
XMLOffsetDate |
XMLOffsetDate.minus(TemporalAmount amountToSubtract)
Returns a copy of this date with the specified amount subtracted.
|
XMLOffsetDate |
XMLOffsetDate.minusDays(long days)
Returns a copy of this
XMLOffsetDate with the specified number of
days subtracted. |
XMLOffsetDate |
XMLOffsetDate.minusDays(long days)
Returns a copy of this
XMLOffsetDate with the specified number of
days subtracted. |
XMLOffsetDate |
XMLOffsetDate.minusMonths(long months)
Returns a copy of this
XMLOffsetDate with the specified number of
months subtracted. |
XMLOffsetDate |
XMLOffsetDate.minusMonths(long months)
Returns a copy of this
XMLOffsetDate with the specified number of
months subtracted. |
XMLOffsetDate |
XMLOffsetDate.minusWeeks(long weeks)
Returns a copy of this
XMLOffsetDate with the specified number of
weeks subtracted. |
XMLOffsetDate |
XMLOffsetDate.minusWeeks(long weeks)
Returns a copy of this
XMLOffsetDate with the specified number of
weeks subtracted. |
XMLOffsetDate |
XMLOffsetDate.minusYears(long years)
Returns a copy of this
XMLOffsetDate with the specified number of
years subtracted. |
XMLOffsetDate |
XMLOffsetDate.minusYears(long years)
Returns a copy of this
XMLOffsetDate with the specified number of
years subtracted. |
static XMLOffsetDate |
XMLOffsetDate.now()
Obtains the current date from the system clock in the default time-zone.
|
static XMLOffsetDate |
XMLOffsetDate.now()
Obtains the current date from the system clock in the default time-zone.
|
static XMLOffsetDate |
XMLOffsetDate.now(Clock clock)
Obtains the current date from the specified clock.
|
static XMLOffsetDate |
XMLOffsetDate.now(Clock clock)
Obtains the current date from the specified clock.
|
static XMLOffsetDate |
XMLOffsetDate.now(ZoneId zone)
Obtains the current date from the system clock in the specified time-zone.
|
static XMLOffsetDate |
XMLOffsetDate.now(ZoneId zone)
Obtains the current date from the system clock in the specified time-zone.
|
static XMLOffsetDate |
XMLOffsetDate.of(int year,
int month,
int dayOfMonth,
ZoneOffset offset)
Obtains an instance of
XMLOffsetDate from a year, month, day and
offset. |
static XMLOffsetDate |
XMLOffsetDate.of(int year,
int month,
int dayOfMonth,
ZoneOffset offset)
Obtains an instance of
XMLOffsetDate from a year, month, day and
offset. |
static XMLOffsetDate |
XMLOffsetDate.of(int year,
Month month,
int dayOfMonth,
ZoneOffset offset)
Obtains an instance of
XMLOffsetDate from a year, month, day and
offset. |
static XMLOffsetDate |
XMLOffsetDate.of(int year,
Month month,
int dayOfMonth,
ZoneOffset offset)
Obtains an instance of
XMLOffsetDate from a year, month, day and
offset. |
static XMLOffsetDate |
XMLOffsetDate.of(LocalDate date,
ZoneOffset offset)
Obtains an instance of
XMLOffsetDate from a local date and an
offset. |
static XMLOffsetDate |
XMLOffsetDate.of(LocalDate date,
ZoneOffset offset)
Obtains an instance of
XMLOffsetDate from a local date and an
offset. |
static XMLOffsetDate |
XMLOffsetDate.of(OffsetDate ofsDate) |
static XMLOffsetDate |
XMLOffsetDate.of(OffsetDate ofsDate) |
static XMLOffsetDate |
XMLOffsetDate.ofInstant(Instant instant,
ZoneId zone)
Obtains an instance of
XMLOffsetDate from an Instant and
zone ID. |
static XMLOffsetDate |
XMLOffsetDate.ofInstant(Instant instant,
ZoneId zone)
Obtains an instance of
XMLOffsetDate from an Instant and
zone ID. |
static XMLOffsetDate |
XMLOffsetDate.parse(CharSequence text)
Obtains an instance of
XMLOffsetDate from a text string such as
2007-12-03+01:00. |
static XMLOffsetDate |
XMLOffsetDate.parse(CharSequence text)
Obtains an instance of
XMLOffsetDate from a text string such as
2007-12-03+01:00. |
static XMLOffsetDate |
XMLOffsetDate.parse(CharSequence sText,
DateTimeFormatter aFormatter)
Obtains an instance of
XMLOffsetDate from a text string using a
specific formatter. |
static XMLOffsetDate |
XMLOffsetDate.parse(CharSequence sText,
DateTimeFormatter aFormatter)
Obtains an instance of
XMLOffsetDate from a text string using a
specific formatter. |
XMLOffsetDate |
XMLOffsetDate.plus(long amountToAdd,
TemporalUnit unit)
Returns a copy of this date with the specified amount added.
|
XMLOffsetDate |
XMLOffsetDate.plus(long amountToAdd,
TemporalUnit unit)
Returns a copy of this date with the specified amount added.
|
XMLOffsetDate |
XMLOffsetDate.plus(TemporalAmount amountToAdd)
Returns a copy of this date with the specified period added.
|
XMLOffsetDate |
XMLOffsetDate.plus(TemporalAmount amountToAdd)
Returns a copy of this date with the specified period added.
|
XMLOffsetDate |
XMLOffsetDate.plusDays(long days)
Returns a copy of this
XMLOffsetDate with the specified number of
days added. |
XMLOffsetDate |
XMLOffsetDate.plusDays(long days)
Returns a copy of this
XMLOffsetDate with the specified number of
days added. |
XMLOffsetDate |
XMLOffsetDate.plusMonths(long months)
Returns a copy of this
XMLOffsetDate with the specified number of
months added. |
XMLOffsetDate |
XMLOffsetDate.plusMonths(long months)
Returns a copy of this
XMLOffsetDate with the specified number of
months added. |
XMLOffsetDate |
XMLOffsetDate.plusWeeks(long weeks)
Returns a copy of this
XMLOffsetDate with the specified number of
weeks added. |
XMLOffsetDate |
XMLOffsetDate.plusWeeks(long weeks)
Returns a copy of this
XMLOffsetDate with the specified number of
weeks added. |
XMLOffsetDate |
XMLOffsetDate.plusYears(long years)
Returns a copy of this
XMLOffsetDate with the specified number of
years added. |
XMLOffsetDate |
XMLOffsetDate.plusYears(long years)
Returns a copy of this
XMLOffsetDate with the specified number of
years added. |
XMLOffsetDate |
OffsetDate.toXMLOffsetDate() |
XMLOffsetDate |
XMLOffsetDateTime.toXMLOffsetDate() |
XMLOffsetDate |
XMLOffsetDateTime.toXMLOffsetDate() |
XMLOffsetDate |
OffsetDate.toXMLOffsetDate() |
XMLOffsetDate |
XMLOffsetDate.with(TemporalAdjuster adjuster)
Returns an adjusted copy of this date.
|
XMLOffsetDate |
XMLOffsetDate.with(TemporalAdjuster adjuster)
Returns an adjusted copy of this date.
|
XMLOffsetDate |
XMLOffsetDate.with(TemporalField field,
long newValue)
Returns a copy of this date with the specified field set to a new value.
|
XMLOffsetDate |
XMLOffsetDate.with(TemporalField field,
long newValue)
Returns a copy of this date with the specified field set to a new value.
|
XMLOffsetDate |
XMLOffsetDate.withDayOfMonth(int dayOfMonth)
Returns a copy of this
XMLOffsetDate with the day-of-month altered. |
XMLOffsetDate |
XMLOffsetDate.withDayOfMonth(int dayOfMonth)
Returns a copy of this
XMLOffsetDate with the day-of-month altered. |
XMLOffsetDate |
XMLOffsetDate.withDayOfYear(int dayOfYear)
Returns a copy of this
XMLOffsetDate with the day-of-year altered. |
XMLOffsetDate |
XMLOffsetDate.withDayOfYear(int dayOfYear)
Returns a copy of this
XMLOffsetDate with the day-of-year altered. |
XMLOffsetDate |
XMLOffsetDate.withMonth(int month)
Returns a copy of this
XMLOffsetDate with the month-of-year
altered. |
XMLOffsetDate |
XMLOffsetDate.withMonth(int month)
Returns a copy of this
XMLOffsetDate with the month-of-year
altered. |
XMLOffsetDate |
XMLOffsetDate.withOffsetSameLocal(ZoneOffset offset)
Returns a copy of this
XMLOffsetDate with the specified offset
ensuring that the result has the same local date. |
XMLOffsetDate |
XMLOffsetDate.withOffsetSameLocal(ZoneOffset offset)
Returns a copy of this
XMLOffsetDate with the specified offset
ensuring that the result has the same local date. |
XMLOffsetDate |
XMLOffsetDate.withYear(int year)
Returns a copy of this
XMLOffsetDate with the year altered. |
XMLOffsetDate |
XMLOffsetDate.withYear(int year)
Returns a copy of this
XMLOffsetDate with the year altered. |
| Modifier and Type | Method and Description |
|---|---|
static PDTMask<XMLOffsetDate> |
PDTMask.xmlOffsetDate(String sPattern) |
static PDTMask<XMLOffsetDate> |
PDTMask.xmlOffsetDate(String sPattern) |
| Modifier and Type | Method and Description |
|---|---|
int |
XMLOffsetDate.compareTo(XMLOffsetDate o)
Compares this
XMLOffsetDate to another date. |
int |
XMLOffsetDate.compareTo(XMLOffsetDate o)
Compares this
XMLOffsetDate to another date. |
static Date |
PDTFactory.createDate(XMLOffsetDate aOD) |
static Date |
PDTFactory.createDate(XMLOffsetDate aOD) |
static LocalDate |
PDTFactory.createLocalDate(XMLOffsetDate a) |
static LocalDate |
PDTFactory.createLocalDate(XMLOffsetDate a) |
static LocalDateTime |
PDTFactory.createLocalDateTime(XMLOffsetDate aDT) |
static LocalDateTime |
PDTFactory.createLocalDateTime(XMLOffsetDate aDT) |
static OffsetDateTime |
PDTFactory.createOffsetDateTime(XMLOffsetDate aOD) |
static OffsetDateTime |
PDTFactory.createOffsetDateTime(XMLOffsetDate aOD) |
static XMLOffsetDateTime |
PDTFactory.createXMLOffsetDateTime(XMLOffsetDate aOD) |
static XMLOffsetDateTime |
PDTFactory.createXMLOffsetDateTime(XMLOffsetDate aOD) |
static ZonedDateTime |
PDTFactory.createZonedDateTime(XMLOffsetDate aOD) |
static ZonedDateTime |
PDTFactory.createZonedDateTime(XMLOffsetDate aOD) |
static String |
PDTToString.getAsString(XMLOffsetDate aDate,
Locale aDisplayLocale) |
static String |
PDTToString.getAsString(XMLOffsetDate aDate,
Locale aDisplayLocale) |
static String |
PDTWebDateHelper.getAsStringXSD(XMLOffsetDate aOD) |
static String |
PDTWebDateHelper.getAsStringXSD(XMLOffsetDate aOD) |
static long |
PDTFactory.getMillis(XMLOffsetDate aOD) |
static long |
PDTFactory.getMillis(XMLOffsetDate aOD) |
boolean |
XMLOffsetDate.isAfter(XMLOffsetDate other)
Checks if the instant of midnight at the start of this
XMLOffsetDate is after midnight at the start of the specified date. |
boolean |
XMLOffsetDate.isAfter(XMLOffsetDate other)
Checks if the instant of midnight at the start of this
XMLOffsetDate is after midnight at the start of the specified date. |
boolean |
XMLOffsetDate.isBefore(XMLOffsetDate other)
Checks if the instant of midnight at the start of this
XMLOffsetDate is before midnight at the start of the specified
date. |
boolean |
XMLOffsetDate.isBefore(XMLOffsetDate other)
Checks if the instant of midnight at the start of this
XMLOffsetDate is before midnight at the start of the specified
date. |
boolean |
XMLOffsetDate.isEqual(XMLOffsetDate other)
Checks if the instant of midnight at the start of this
XMLOffsetDate equals midnight at the start of the specified date. |
boolean |
XMLOffsetDate.isEqual(XMLOffsetDate other)
Checks if the instant of midnight at the start of this
XMLOffsetDate equals midnight at the start of the specified date. |
Copyright © 2014–2022 Philip Helger. All rights reserved.