| Package | Description |
|---|---|
| com.helger.commons.datetime |
| Modifier and Type | Field and Description |
|---|---|
static XMLOffsetDateTime |
XMLOffsetDateTime.MAX
The maximum supported
XMLOffsetDateTime,
'+999999999-12-31T23:59:59.999999999-18:00'. |
static XMLOffsetDateTime |
XMLOffsetDateTime.MAX
The maximum supported
XMLOffsetDateTime,
'+999999999-12-31T23:59:59.999999999-18:00'. |
static XMLOffsetDateTime |
XMLOffsetDateTime.MIN
The minimum supported
XMLOffsetDateTime,
'-999999999-01-01T00:00:00+18:00'. |
static XMLOffsetDateTime |
XMLOffsetDateTime.MIN
The minimum supported
XMLOffsetDateTime,
'-999999999-01-01T00:00:00+18:00'. |
| Modifier and Type | Method and Description |
|---|---|
XMLOffsetDateTime |
OffsetDate.atTimeXML(LocalTime aTime) |
XMLOffsetDateTime |
OffsetDate.atTimeXML(LocalTime aTime) |
XMLOffsetDateTime |
XMLOffsetTime.atXMLDate(LocalDate date)
Combines this time with a date to create an
XMLOffsetDateTime. |
XMLOffsetDateTime |
XMLOffsetTime.atXMLDate(LocalDate date)
Combines this time with a date to create an
XMLOffsetDateTime. |
XMLOffsetDateTime |
XMLOffsetDate.atXMLTime(LocalTime aTime)
Returns an offset date-time formed from this date at the specified time.
|
XMLOffsetDateTime |
XMLOffsetDate.atXMLTime(LocalTime aTime)
Returns an offset date-time formed from this date at the specified time.
|
static XMLOffsetDateTime |
PDTFactory.createXMLOffsetDateTime(Date a) |
static XMLOffsetDateTime |
PDTFactory.createXMLOffsetDateTime(Date a) |
static XMLOffsetDateTime |
PDTFactory.createXMLOffsetDateTime(GregorianCalendar aCal) |
static XMLOffsetDateTime |
PDTFactory.createXMLOffsetDateTime(GregorianCalendar aCal) |
static XMLOffsetDateTime |
PDTFactory.createXMLOffsetDateTime(Instant a) |
static XMLOffsetDateTime |
PDTFactory.createXMLOffsetDateTime(Instant a) |
static XMLOffsetDateTime |
PDTFactory.createXMLOffsetDateTime(int nYear,
Month eMonth,
int nDay) |
static XMLOffsetDateTime |
PDTFactory.createXMLOffsetDateTime(int nYear,
Month eMonth,
int nDay) |
static XMLOffsetDateTime |
PDTFactory.createXMLOffsetDateTime(int nYear,
Month eMonth,
int nDay,
int nHour,
int nMinute,
int nSecond) |
static XMLOffsetDateTime |
PDTFactory.createXMLOffsetDateTime(int nYear,
Month eMonth,
int nDay,
int nHour,
int nMinute,
int nSecond) |
static XMLOffsetDateTime |
PDTFactory.createXMLOffsetDateTime(int nYear,
Month eMonth,
int nDay,
int nHour,
int nMinute,
int nSecond,
ZoneOffset aZoneOffset) |
static XMLOffsetDateTime |
PDTFactory.createXMLOffsetDateTime(int nYear,
Month eMonth,
int nDay,
int nHour,
int nMinute,
int nSecond,
ZoneOffset aZoneOffset) |
static XMLOffsetDateTime |
PDTFactory.createXMLOffsetDateTime(LocalDate a) |
static XMLOffsetDateTime |
PDTFactory.createXMLOffsetDateTime(LocalDate a) |
static XMLOffsetDateTime |
PDTFactory.createXMLOffsetDateTime(LocalDateTime a) |
static XMLOffsetDateTime |
PDTFactory.createXMLOffsetDateTime(LocalDateTime a) |
static XMLOffsetDateTime |
PDTFactory.createXMLOffsetDateTime(LocalTime a) |
static XMLOffsetDateTime |
PDTFactory.createXMLOffsetDateTime(LocalTime a) |
static XMLOffsetDateTime |
PDTFactory.createXMLOffsetDateTime(long nMillis) |
static XMLOffsetDateTime |
PDTFactory.createXMLOffsetDateTime(long nMillis) |
static XMLOffsetDateTime |
PDTFactory.createXMLOffsetDateTime(Number a) |
static XMLOffsetDateTime |
PDTFactory.createXMLOffsetDateTime(Number a) |
static XMLOffsetDateTime |
PDTFactory.createXMLOffsetDateTime(OffsetDate aOD) |
static XMLOffsetDateTime |
PDTFactory.createXMLOffsetDateTime(OffsetDate aOD) |
static XMLOffsetDateTime |
PDTFactory.createXMLOffsetDateTime(OffsetDateTime a) |
static XMLOffsetDateTime |
PDTFactory.createXMLOffsetDateTime(OffsetDateTime a) |
static XMLOffsetDateTime |
PDTFactory.createXMLOffsetDateTime(OffsetTime a) |
static XMLOffsetDateTime |
PDTFactory.createXMLOffsetDateTime(OffsetTime a) |
static XMLOffsetDateTime |
PDTFactory.createXMLOffsetDateTime(Timestamp a) |
static XMLOffsetDateTime |
PDTFactory.createXMLOffsetDateTime(Timestamp a) |
static XMLOffsetDateTime |
PDTFactory.createXMLOffsetDateTime(XMLOffsetDate aOD) |
static XMLOffsetDateTime |
PDTFactory.createXMLOffsetDateTime(XMLOffsetDate aOD) |
static XMLOffsetDateTime |
PDTFactory.createXMLOffsetDateTime(XMLOffsetTime a) |
static XMLOffsetDateTime |
PDTFactory.createXMLOffsetDateTime(XMLOffsetTime a) |
static XMLOffsetDateTime |
PDTFactory.createXMLOffsetDateTime(Year a) |
static XMLOffsetDateTime |
PDTFactory.createXMLOffsetDateTime(Year a) |
static XMLOffsetDateTime |
PDTFactory.createXMLOffsetDateTime(YearMonth a) |
static XMLOffsetDateTime |
PDTFactory.createXMLOffsetDateTime(YearMonth a) |
static XMLOffsetDateTime |
PDTFactory.createXMLOffsetDateTime(ZonedDateTime a) |
static XMLOffsetDateTime |
PDTFactory.createXMLOffsetDateTime(ZonedDateTime a) |
static XMLOffsetDateTime |
PDTFactory.createXMLOffsetDateTimeUTC(Instant a) |
static XMLOffsetDateTime |
PDTFactory.createXMLOffsetDateTimeUTC(Instant a) |
static XMLOffsetDateTime |
PDTFactory.createXMLOffsetDateTimeUTC(int nYear,
Month eMonth,
int nDay) |
static XMLOffsetDateTime |
PDTFactory.createXMLOffsetDateTimeUTC(int nYear,
Month eMonth,
int nDay) |
static XMLOffsetDateTime |
PDTFactory.createXMLOffsetDateTimeUTC(int nYear,
Month eMonth,
int nDay,
int nHour,
int nMinute,
int nSecond) |
static XMLOffsetDateTime |
PDTFactory.createXMLOffsetDateTimeUTC(int nYear,
Month eMonth,
int nDay,
int nHour,
int nMinute,
int nSecond) |
static XMLOffsetDateTime |
PDTFactory.createXMLOffsetDateTimeUTC(LocalDate a) |
static XMLOffsetDateTime |
PDTFactory.createXMLOffsetDateTimeUTC(LocalDate a) |
static XMLOffsetDateTime |
PDTFactory.createXMLOffsetDateTimeUTC(LocalDateTime a) |
static XMLOffsetDateTime |
PDTFactory.createXMLOffsetDateTimeUTC(LocalDateTime a) |
static XMLOffsetDateTime |
PDTFactory.createXMLOffsetDateTimeUTC(LocalTime a) |
static XMLOffsetDateTime |
PDTFactory.createXMLOffsetDateTimeUTC(LocalTime a) |
static XMLOffsetDateTime |
PDTFactory.createXMLOffsetDateTimeUTC(long nMillis) |
static XMLOffsetDateTime |
PDTFactory.createXMLOffsetDateTimeUTC(long nMillis) |
static XMLOffsetDateTime |
PDTFactory.createXMLOffsetDateTimeUTC(Number a) |
static XMLOffsetDateTime |
PDTFactory.createXMLOffsetDateTimeUTC(Number a) |
static XMLOffsetDateTime |
PDTFactory.createXMLOffsetDateTimeUTC(Year a) |
static XMLOffsetDateTime |
PDTFactory.createXMLOffsetDateTimeUTC(Year a) |
static XMLOffsetDateTime |
PDTFactory.createXMLOffsetDateTimeUTC(YearMonth a) |
static XMLOffsetDateTime |
PDTFactory.createXMLOffsetDateTimeUTC(YearMonth a) |
static XMLOffsetDateTime |
XMLOffsetDateTime.from(TemporalAccessor temporal)
Obtains an instance of
XMLOffsetDateTime from a temporal object. |
static XMLOffsetDateTime |
XMLOffsetDateTime.from(TemporalAccessor temporal)
Obtains an instance of
XMLOffsetDateTime from a temporal object. |
static XMLOffsetDateTime |
PDTFactory.getCurrentXMLOffsetDateTime() |
static XMLOffsetDateTime |
PDTFactory.getCurrentXMLOffsetDateTime() |
static XMLOffsetDateTime |
PDTFactory.getCurrentXMLOffsetDateTimeMillisOnly() |
static XMLOffsetDateTime |
PDTFactory.getCurrentXMLOffsetDateTimeMillisOnly() |
static XMLOffsetDateTime |
PDTFactory.getCurrentXMLOffsetDateTimeMillisOnlyUTC() |
static XMLOffsetDateTime |
PDTFactory.getCurrentXMLOffsetDateTimeMillisOnlyUTC() |
static XMLOffsetDateTime |
PDTFactory.getCurrentXMLOffsetDateTimeUTC() |
static XMLOffsetDateTime |
PDTFactory.getCurrentXMLOffsetDateTimeUTC() |
static XMLOffsetDateTime |
PDTFactory.getWithMillisOnly(XMLOffsetDateTime a)
Get the passed date time but with micro and nanoseconds set to 0, so that
only the milliseconds part is present.
|
static XMLOffsetDateTime |
PDTFactory.getWithMillisOnly(XMLOffsetDateTime a)
Get the passed date time but with micro and nanoseconds set to 0, so that
only the milliseconds part is present.
|
static XMLOffsetDateTime |
PDTFromString.getXMLOffsetDateTimeFromString(String sValue,
DateTimeFormatter aDF) |
static XMLOffsetDateTime |
PDTFromString.getXMLOffsetDateTimeFromString(String sValue,
DateTimeFormatter aDF) |
static XMLOffsetDateTime |
PDTFromString.getXMLOffsetDateTimeFromString(String sValue,
String sPattern) |
static XMLOffsetDateTime |
PDTFromString.getXMLOffsetDateTimeFromString(String sValue,
String sPattern) |
static XMLOffsetDateTime |
PDTWebDateHelper.getXMLOffsetDateTimeFromXSD(String sValue) |
static XMLOffsetDateTime |
PDTWebDateHelper.getXMLOffsetDateTimeFromXSD(String sValue) |
XMLOffsetDateTime |
XMLOffsetDateTime.minus(long amountToSubtract,
TemporalUnit unit)
Returns a copy of this date-time with the specified amount subtracted.
|
XMLOffsetDateTime |
XMLOffsetDateTime.minus(long amountToSubtract,
TemporalUnit unit)
Returns a copy of this date-time with the specified amount subtracted.
|
XMLOffsetDateTime |
XMLOffsetDateTime.minus(TemporalAmount amountToSubtract)
Returns a copy of this date-time with the specified amount subtracted.
|
XMLOffsetDateTime |
XMLOffsetDateTime.minus(TemporalAmount amountToSubtract)
Returns a copy of this date-time with the specified amount subtracted.
|
XMLOffsetDateTime |
XMLOffsetDateTime.minusDays(long days)
Returns a copy of this
XMLOffsetDateTime with the specified number
of days subtracted. |
XMLOffsetDateTime |
XMLOffsetDateTime.minusDays(long days)
Returns a copy of this
XMLOffsetDateTime with the specified number
of days subtracted. |
XMLOffsetDateTime |
XMLOffsetDateTime.minusHours(long hours)
Returns a copy of this
XMLOffsetDateTime with the specified number
of hours subtracted. |
XMLOffsetDateTime |
XMLOffsetDateTime.minusHours(long hours)
Returns a copy of this
XMLOffsetDateTime with the specified number
of hours subtracted. |
XMLOffsetDateTime |
XMLOffsetDateTime.minusMinutes(long minutes)
Returns a copy of this
XMLOffsetDateTime with the specified number
of minutes subtracted. |
XMLOffsetDateTime |
XMLOffsetDateTime.minusMinutes(long minutes)
Returns a copy of this
XMLOffsetDateTime with the specified number
of minutes subtracted. |
XMLOffsetDateTime |
XMLOffsetDateTime.minusMonths(long months)
Returns a copy of this
XMLOffsetDateTime with the specified number
of months subtracted. |
XMLOffsetDateTime |
XMLOffsetDateTime.minusMonths(long months)
Returns a copy of this
XMLOffsetDateTime with the specified number
of months subtracted. |
XMLOffsetDateTime |
XMLOffsetDateTime.minusNanos(long nanos)
Returns a copy of this
XMLOffsetDateTime with the specified number
of nanoseconds subtracted. |
XMLOffsetDateTime |
XMLOffsetDateTime.minusNanos(long nanos)
Returns a copy of this
XMLOffsetDateTime with the specified number
of nanoseconds subtracted. |
XMLOffsetDateTime |
XMLOffsetDateTime.minusSeconds(long seconds)
Returns a copy of this
XMLOffsetDateTime with the specified number
of seconds subtracted. |
XMLOffsetDateTime |
XMLOffsetDateTime.minusSeconds(long seconds)
Returns a copy of this
XMLOffsetDateTime with the specified number
of seconds subtracted. |
XMLOffsetDateTime |
XMLOffsetDateTime.minusWeeks(long weeks)
Returns a copy of this
XMLOffsetDateTime with the specified number
of weeks subtracted. |
XMLOffsetDateTime |
XMLOffsetDateTime.minusWeeks(long weeks)
Returns a copy of this
XMLOffsetDateTime with the specified number
of weeks subtracted. |
XMLOffsetDateTime |
XMLOffsetDateTime.minusYears(long years)
Returns a copy of this
XMLOffsetDateTime with the specified number
of years subtracted. |
XMLOffsetDateTime |
XMLOffsetDateTime.minusYears(long years)
Returns a copy of this
XMLOffsetDateTime with the specified number
of years subtracted. |
static XMLOffsetDateTime |
XMLOffsetDateTime.now()
Obtains the current date-time from the system clock in the default
time-zone.
|
static XMLOffsetDateTime |
XMLOffsetDateTime.now()
Obtains the current date-time from the system clock in the default
time-zone.
|
static XMLOffsetDateTime |
XMLOffsetDateTime.now(Clock clock)
Obtains the current date-time from the specified clock.
|
static XMLOffsetDateTime |
XMLOffsetDateTime.now(Clock clock)
Obtains the current date-time from the specified clock.
|
static XMLOffsetDateTime |
XMLOffsetDateTime.now(ZoneId zone)
Obtains the current date-time from the system clock in the specified
time-zone.
|
static XMLOffsetDateTime |
XMLOffsetDateTime.now(ZoneId zone)
Obtains the current date-time from the system clock in the specified
time-zone.
|
static XMLOffsetDateTime |
XMLOffsetDateTime.of(int year,
int month,
int dayOfMonth,
int hour,
int minute,
int second,
int nanoOfSecond,
ZoneOffset offset)
Obtains an instance of
XMLOffsetDateTime from a year, month, day,
hour, minute, second, nanosecond and offset. |
static XMLOffsetDateTime |
XMLOffsetDateTime.of(int year,
int month,
int dayOfMonth,
int hour,
int minute,
int second,
int nanoOfSecond,
ZoneOffset offset)
Obtains an instance of
XMLOffsetDateTime from a year, month, day,
hour, minute, second, nanosecond and offset. |
static XMLOffsetDateTime |
XMLOffsetDateTime.of(LocalDate date,
LocalTime time,
ZoneOffset offset)
Obtains an instance of
XMLOffsetDateTime from a date, time and
offset. |
static XMLOffsetDateTime |
XMLOffsetDateTime.of(LocalDate date,
LocalTime time,
ZoneOffset offset)
Obtains an instance of
XMLOffsetDateTime from a date, time and
offset. |
static XMLOffsetDateTime |
XMLOffsetDateTime.of(LocalDateTime dateTime,
ZoneOffset offset)
Obtains an instance of
XMLOffsetDateTime from a date-time and
offset. |
static XMLOffsetDateTime |
XMLOffsetDateTime.of(LocalDateTime dateTime,
ZoneOffset offset)
Obtains an instance of
XMLOffsetDateTime from a date-time and
offset. |
static XMLOffsetDateTime |
XMLOffsetDateTime.of(OffsetDateTime ofsDateTime) |
static XMLOffsetDateTime |
XMLOffsetDateTime.of(OffsetDateTime ofsDateTime) |
static XMLOffsetDateTime |
XMLOffsetDateTime.ofInstant(Instant instant,
ZoneId zone)
Obtains an instance of
XMLOffsetDateTime from an Instant
and zone ID. |
static XMLOffsetDateTime |
XMLOffsetDateTime.ofInstant(Instant instant,
ZoneId zone)
Obtains an instance of
XMLOffsetDateTime from an Instant
and zone ID. |
static XMLOffsetDateTime |
XMLOffsetDateTime.parse(CharSequence text)
Obtains an instance of
XMLOffsetDateTime from a text string such as
2007-12-03T10:15:30+01:00. |
static XMLOffsetDateTime |
XMLOffsetDateTime.parse(CharSequence text)
Obtains an instance of
XMLOffsetDateTime from a text string such as
2007-12-03T10:15:30+01:00. |
static XMLOffsetDateTime |
XMLOffsetDateTime.parse(CharSequence text,
DateTimeFormatter formatter)
Obtains an instance of
XMLOffsetDateTime from a text string using a
specific formatter. |
static XMLOffsetDateTime |
XMLOffsetDateTime.parse(CharSequence text,
DateTimeFormatter formatter)
Obtains an instance of
XMLOffsetDateTime from a text string using a
specific formatter. |
XMLOffsetDateTime |
XMLOffsetDateTime.plus(long amountToAdd,
TemporalUnit unit)
Returns a copy of this date-time with the specified amount added.
|
XMLOffsetDateTime |
XMLOffsetDateTime.plus(long amountToAdd,
TemporalUnit unit)
Returns a copy of this date-time with the specified amount added.
|
XMLOffsetDateTime |
XMLOffsetDateTime.plus(TemporalAmount amountToAdd)
Returns a copy of this date-time with the specified amount added.
|
XMLOffsetDateTime |
XMLOffsetDateTime.plus(TemporalAmount amountToAdd)
Returns a copy of this date-time with the specified amount added.
|
XMLOffsetDateTime |
XMLOffsetDateTime.plusDays(long days)
Returns a copy of this XMLOffsetDateTime with the specified number of days
added.
|
XMLOffsetDateTime |
XMLOffsetDateTime.plusDays(long days)
Returns a copy of this XMLOffsetDateTime with the specified number of days
added.
|
XMLOffsetDateTime |
XMLOffsetDateTime.plusHours(long hours)
Returns a copy of this
XMLOffsetDateTime with the specified number
of hours added. |
XMLOffsetDateTime |
XMLOffsetDateTime.plusHours(long hours)
Returns a copy of this
XMLOffsetDateTime with the specified number
of hours added. |
XMLOffsetDateTime |
XMLOffsetDateTime.plusMinutes(long minutes)
Returns a copy of this
XMLOffsetDateTime with the specified number
of minutes added. |
XMLOffsetDateTime |
XMLOffsetDateTime.plusMinutes(long minutes)
Returns a copy of this
XMLOffsetDateTime with the specified number
of minutes added. |
XMLOffsetDateTime |
XMLOffsetDateTime.plusMonths(long months)
Returns a copy of this
XMLOffsetDateTime with the specified number
of months added. |
XMLOffsetDateTime |
XMLOffsetDateTime.plusMonths(long months)
Returns a copy of this
XMLOffsetDateTime with the specified number
of months added. |
XMLOffsetDateTime |
XMLOffsetDateTime.plusNanos(long nanos)
Returns a copy of this
XMLOffsetDateTime with the specified number
of nanoseconds added. |
XMLOffsetDateTime |
XMLOffsetDateTime.plusNanos(long nanos)
Returns a copy of this
XMLOffsetDateTime with the specified number
of nanoseconds added. |
XMLOffsetDateTime |
XMLOffsetDateTime.plusSeconds(long seconds)
Returns a copy of this
XMLOffsetDateTime with the specified number
of seconds added. |
XMLOffsetDateTime |
XMLOffsetDateTime.plusSeconds(long seconds)
Returns a copy of this
XMLOffsetDateTime with the specified number
of seconds added. |
XMLOffsetDateTime |
XMLOffsetDateTime.plusWeeks(long weeks)
Returns a copy of this XMLOffsetDateTime with the specified number of weeks
added.
|
XMLOffsetDateTime |
XMLOffsetDateTime.plusWeeks(long weeks)
Returns a copy of this XMLOffsetDateTime with the specified number of weeks
added.
|
XMLOffsetDateTime |
XMLOffsetDateTime.plusYears(long years)
Returns a copy of this
XMLOffsetDateTime with the specified number
of years added. |
XMLOffsetDateTime |
XMLOffsetDateTime.plusYears(long years)
Returns a copy of this
XMLOffsetDateTime with the specified number
of years added. |
XMLOffsetDateTime |
XMLOffsetDateTime.truncatedTo(TemporalUnit unit)
Returns a copy of this
XMLOffsetDateTime with the time truncated. |
XMLOffsetDateTime |
XMLOffsetDateTime.truncatedTo(TemporalUnit unit)
Returns a copy of this
XMLOffsetDateTime with the time truncated. |
protected XMLOffsetDateTime |
XMLOffsetDateTime.with(LocalDateTime dateTime,
ZoneOffset offset)
Returns a new date-time based on this one, returning
this where
possible. |
protected XMLOffsetDateTime |
XMLOffsetDateTime.with(LocalDateTime dateTime,
ZoneOffset offset)
Returns a new date-time based on this one, returning
this where
possible. |
XMLOffsetDateTime |
XMLOffsetDateTime.with(TemporalAdjuster adjuster)
Returns an adjusted copy of this date-time.
|
XMLOffsetDateTime |
XMLOffsetDateTime.with(TemporalAdjuster adjuster)
Returns an adjusted copy of this date-time.
|
XMLOffsetDateTime |
XMLOffsetDateTime.with(TemporalField field,
long newValue)
Returns a copy of this date-time with the specified field set to a new
value.
|
XMLOffsetDateTime |
XMLOffsetDateTime.with(TemporalField field,
long newValue)
Returns a copy of this date-time with the specified field set to a new
value.
|
XMLOffsetDateTime |
XMLOffsetDateTime.withDayOfMonth(int dayOfMonth)
Returns a copy of this
XMLOffsetDateTime with the day-of-month
altered. |
XMLOffsetDateTime |
XMLOffsetDateTime.withDayOfMonth(int dayOfMonth)
Returns a copy of this
XMLOffsetDateTime with the day-of-month
altered. |
XMLOffsetDateTime |
XMLOffsetDateTime.withDayOfYear(int dayOfYear)
Returns a copy of this
XMLOffsetDateTime with the day-of-year
altered. |
XMLOffsetDateTime |
XMLOffsetDateTime.withDayOfYear(int dayOfYear)
Returns a copy of this
XMLOffsetDateTime with the day-of-year
altered. |
XMLOffsetDateTime |
XMLOffsetDateTime.withHour(int hour)
Returns a copy of this
XMLOffsetDateTime with the hour-of-day
altered. |
XMLOffsetDateTime |
XMLOffsetDateTime.withHour(int hour)
Returns a copy of this
XMLOffsetDateTime with the hour-of-day
altered. |
XMLOffsetDateTime |
XMLOffsetDateTime.withMinute(int minute)
Returns a copy of this
XMLOffsetDateTime with the minute-of-hour
altered. |
XMLOffsetDateTime |
XMLOffsetDateTime.withMinute(int minute)
Returns a copy of this
XMLOffsetDateTime with the minute-of-hour
altered. |
XMLOffsetDateTime |
XMLOffsetDateTime.withMonth(int month)
Returns a copy of this
XMLOffsetDateTime with the month-of-year
altered. |
XMLOffsetDateTime |
XMLOffsetDateTime.withMonth(int month)
Returns a copy of this
XMLOffsetDateTime with the month-of-year
altered. |
XMLOffsetDateTime |
XMLOffsetDateTime.withNano(int nanoOfSecond)
Returns a copy of this
XMLOffsetDateTime with the nano-of-second
altered. |
XMLOffsetDateTime |
XMLOffsetDateTime.withNano(int nanoOfSecond)
Returns a copy of this
XMLOffsetDateTime with the nano-of-second
altered. |
XMLOffsetDateTime |
XMLOffsetDateTime.withOffsetSameInstant(ZoneOffset offset)
Returns a copy of this
XMLOffsetDateTime with the specified offset
ensuring that the result is at the same instant. |
XMLOffsetDateTime |
XMLOffsetDateTime.withOffsetSameInstant(ZoneOffset offset)
Returns a copy of this
XMLOffsetDateTime with the specified offset
ensuring that the result is at the same instant. |
XMLOffsetDateTime |
XMLOffsetDateTime.withOffsetSameLocal(ZoneOffset offset)
Returns a copy of this
XMLOffsetDateTime with the specified offset
ensuring that the result has the same local date-time. |
XMLOffsetDateTime |
XMLOffsetDateTime.withOffsetSameLocal(ZoneOffset offset)
Returns a copy of this
XMLOffsetDateTime with the specified offset
ensuring that the result has the same local date-time. |
XMLOffsetDateTime |
XMLOffsetDateTime.withSecond(int second)
Returns a copy of this
XMLOffsetDateTime with the second-of-minute
altered. |
XMLOffsetDateTime |
XMLOffsetDateTime.withSecond(int second)
Returns a copy of this
XMLOffsetDateTime with the second-of-minute
altered. |
XMLOffsetDateTime |
XMLOffsetDateTime.withYear(int year)
Returns a copy of this
XMLOffsetDateTime with the year altered. |
XMLOffsetDateTime |
XMLOffsetDateTime.withYear(int year)
Returns a copy of this
XMLOffsetDateTime with the year altered. |
| Modifier and Type | Method and Description |
|---|---|
static Comparator<XMLOffsetDateTime> |
XMLOffsetDateTime.timeLineOrder()
Gets a comparator that compares two
XMLOffsetDateTime instances
based solely on the instant. |
static Comparator<XMLOffsetDateTime> |
XMLOffsetDateTime.timeLineOrder()
Gets a comparator that compares two
XMLOffsetDateTime instances
based solely on the instant. |
static PDTMask<XMLOffsetDateTime> |
PDTMask.xmlOffsetDateTime(String sPattern) |
static PDTMask<XMLOffsetDateTime> |
PDTMask.xmlOffsetDateTime(String sPattern) |
| Modifier and Type | Method and Description |
|---|---|
protected static int |
XMLOffsetDateTime.compareInstant(XMLOffsetDateTime datetime1,
XMLOffsetDateTime datetime2)
Compares this
XMLOffsetDateTime to another date-time. |
protected static int |
XMLOffsetDateTime.compareInstant(XMLOffsetDateTime datetime1,
XMLOffsetDateTime datetime2)
Compares this
XMLOffsetDateTime to another date-time. |
int |
XMLOffsetDateTime.compareTo(XMLOffsetDateTime other)
Compares this date-time to another date-time.
|
int |
XMLOffsetDateTime.compareTo(XMLOffsetDateTime other)
Compares this date-time to another date-time.
|
static LocalDate |
PDTFactory.createLocalDate(XMLOffsetDateTime a) |
static LocalDate |
PDTFactory.createLocalDate(XMLOffsetDateTime a) |
static LocalDateTime |
PDTFactory.createLocalDateTime(XMLOffsetDateTime aDT) |
static LocalDateTime |
PDTFactory.createLocalDateTime(XMLOffsetDateTime aDT) |
static XMLOffsetDate |
PDTFactory.createXMLOffsetDate(XMLOffsetDateTime a) |
static XMLOffsetDate |
PDTFactory.createXMLOffsetDate(XMLOffsetDateTime a) |
static String |
PDTToString.getAsString(XMLOffsetDateTime aDateTime,
Locale aDisplayLocale) |
static String |
PDTToString.getAsString(XMLOffsetDateTime aDateTime,
Locale aDisplayLocale) |
static String |
PDTWebDateHelper.getAsStringXSD(XMLOffsetDateTime aODT) |
static String |
PDTWebDateHelper.getAsStringXSD(XMLOffsetDateTime aODT) |
static long |
PDTFactory.getMillis(XMLOffsetDateTime a) |
static long |
PDTFactory.getMillis(XMLOffsetDateTime a) |
static XMLOffsetDateTime |
PDTFactory.getWithMillisOnly(XMLOffsetDateTime a)
Get the passed date time but with micro and nanoseconds set to 0, so that
only the milliseconds part is present.
|
static XMLOffsetDateTime |
PDTFactory.getWithMillisOnly(XMLOffsetDateTime a)
Get the passed date time but with micro and nanoseconds set to 0, so that
only the milliseconds part is present.
|
boolean |
XMLOffsetDateTime.isAfter(XMLOffsetDateTime other)
Checks if the instant of this date-time is after that of the specified
date-time.
|
boolean |
XMLOffsetDateTime.isAfter(XMLOffsetDateTime other)
Checks if the instant of this date-time is after that of the specified
date-time.
|
boolean |
XMLOffsetDateTime.isBefore(XMLOffsetDateTime other)
Checks if the instant of this date-time is before that of the specified
date-time.
|
boolean |
XMLOffsetDateTime.isBefore(XMLOffsetDateTime other)
Checks if the instant of this date-time is before that of the specified
date-time.
|
boolean |
XMLOffsetDateTime.isEqual(XMLOffsetDateTime other)
Checks if the instant of this date-time is equal to that of the specified
date-time.
|
boolean |
XMLOffsetDateTime.isEqual(XMLOffsetDateTime other)
Checks if the instant of this date-time is equal to that of the specified
date-time.
|
Copyright © 2014–2022 Philip Helger. All rights reserved.