Uses of Class
com.helger.commons.datetime.XMLOffsetDateTime
Packages that use XMLOffsetDateTime
-
Uses of XMLOffsetDateTime in com.helger.commons.datetime
Fields in com.helger.commons.datetime declared as XMLOffsetDateTimeModifier and TypeFieldDescriptionstatic final XMLOffsetDateTimeXMLOffsetDateTime.MAXThe maximum supportedXMLOffsetDateTime, '+999999999-12-31T23:59:59.999999999-18:00'.static final XMLOffsetDateTimeXMLOffsetDateTime.MINThe minimum supportedXMLOffsetDateTime, '-999999999-01-01T00:00:00+18:00'.Methods in com.helger.commons.datetime that return XMLOffsetDateTimeModifier and TypeMethodDescriptionCombines this time with a date to create anXMLOffsetDateTime.Returns an offset date-time formed from this date at the specified time.static XMLOffsetDateTimePDTFactory.createXMLOffsetDateTime(int nYear, Month eMonth, int nDay) static XMLOffsetDateTimePDTFactory.createXMLOffsetDateTime(int nYear, Month eMonth, int nDay, int nHour, int nMinute, int nSecond) static XMLOffsetDateTimePDTFactory.createXMLOffsetDateTime(int nYear, Month eMonth, int nDay, int nHour, int nMinute, int nSecond, ZoneOffset aZoneOffset) static XMLOffsetDateTimePDTFactory.createXMLOffsetDateTime(long nMillis) static XMLOffsetDateTimePDTFactory.createXMLOffsetDateTime(OffsetDate aOD) static XMLOffsetDateTimePDTFactory.createXMLOffsetDateTime(XMLOffsetDate aOD) static XMLOffsetDateTimePDTFactory.createXMLOffsetDateTime(XMLOffsetTime a) static XMLOffsetDateTimePDTFactory.createXMLOffsetDateTime(Number a) static XMLOffsetDateTimePDTFactory.createXMLOffsetDateTime(Timestamp a) static XMLOffsetDateTimePDTFactory.createXMLOffsetDateTime(Instant a) static XMLOffsetDateTimePDTFactory.createXMLOffsetDateTime(LocalDate a) static XMLOffsetDateTimePDTFactory.createXMLOffsetDateTime(LocalDateTime a) static XMLOffsetDateTimePDTFactory.createXMLOffsetDateTime(LocalTime a) static XMLOffsetDateTimePDTFactory.createXMLOffsetDateTime(OffsetDateTime a) static XMLOffsetDateTimePDTFactory.createXMLOffsetDateTime(OffsetTime a) static XMLOffsetDateTimePDTFactory.createXMLOffsetDateTime(Year a) static XMLOffsetDateTimePDTFactory.createXMLOffsetDateTime(YearMonth a) static XMLOffsetDateTimePDTFactory.createXMLOffsetDateTime(ZonedDateTime a) static XMLOffsetDateTimePDTFactory.createXMLOffsetDateTime(Date a) static XMLOffsetDateTimePDTFactory.createXMLOffsetDateTime(GregorianCalendar aCal) static XMLOffsetDateTimePDTFactory.createXMLOffsetDateTimeUTC(int nYear, Month eMonth, int nDay) static XMLOffsetDateTimePDTFactory.createXMLOffsetDateTimeUTC(int nYear, Month eMonth, int nDay, int nHour, int nMinute, int nSecond) static XMLOffsetDateTimePDTFactory.createXMLOffsetDateTimeUTC(long nMillis) static XMLOffsetDateTimePDTFactory.createXMLOffsetDateTimeUTC(Number a) static XMLOffsetDateTimePDTFactory.createXMLOffsetDateTimeUTC(Instant a) static XMLOffsetDateTimePDTFactory.createXMLOffsetDateTimeUTC(LocalDate a) static XMLOffsetDateTimePDTFactory.createXMLOffsetDateTimeUTC(LocalDateTime a) static XMLOffsetDateTimePDTFactory.createXMLOffsetDateTimeUTC(LocalTime a) static XMLOffsetDateTimePDTFactory.createXMLOffsetDateTimeUTC(Year a) static XMLOffsetDateTimePDTFactory.createXMLOffsetDateTimeUTC(YearMonth a) static XMLOffsetDateTimeXMLOffsetDateTime.from(TemporalAccessor temporal) Obtains an instance ofXMLOffsetDateTimefrom a temporal object.static XMLOffsetDateTimePDTFactory.getCurrentXMLOffsetDateTime()static XMLOffsetDateTimePDTFactory.getCurrentXMLOffsetDateTimeMillisOnly()static XMLOffsetDateTimePDTFactory.getCurrentXMLOffsetDateTimeMillisOnlyUTC()static XMLOffsetDateTimePDTFactory.getCurrentXMLOffsetDateTimeUTC()static XMLOffsetDateTimePDTFactory.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 XMLOffsetDateTimePDTFromString.getXMLOffsetDateTimeFromString(String sValue, String sPattern) static XMLOffsetDateTimePDTFromString.getXMLOffsetDateTimeFromString(String sValue, DateTimeFormatter aDF) static XMLOffsetDateTimePDTWebDateHelper.getXMLOffsetDateTimeFromXSD(String sValue) XMLOffsetDateTime.minus(long amountToSubtract, TemporalUnit unit) Returns a copy of this date-time with the specified amount subtracted.XMLOffsetDateTime.minus(TemporalAmount amountToSubtract) Returns a copy of this date-time with the specified amount subtracted.XMLOffsetDateTime.minusDays(long days) Returns a copy of thisXMLOffsetDateTimewith the specified number of days subtracted.XMLOffsetDateTime.minusHours(long hours) Returns a copy of thisXMLOffsetDateTimewith the specified number of hours subtracted.XMLOffsetDateTime.minusMinutes(long minutes) Returns a copy of thisXMLOffsetDateTimewith the specified number of minutes subtracted.XMLOffsetDateTime.minusMonths(long months) Returns a copy of thisXMLOffsetDateTimewith the specified number of months subtracted.XMLOffsetDateTime.minusNanos(long nanos) Returns a copy of thisXMLOffsetDateTimewith the specified number of nanoseconds subtracted.XMLOffsetDateTime.minusSeconds(long seconds) Returns a copy of thisXMLOffsetDateTimewith the specified number of seconds subtracted.XMLOffsetDateTime.minusWeeks(long weeks) Returns a copy of thisXMLOffsetDateTimewith the specified number of weeks subtracted.XMLOffsetDateTime.minusYears(long years) Returns a copy of thisXMLOffsetDateTimewith the specified number of years subtracted.static XMLOffsetDateTimeXMLOffsetDateTime.now()Obtains the current date-time from the system clock in the default time-zone.static XMLOffsetDateTimeObtains the current date-time from the specified clock.static XMLOffsetDateTimeObtains the current date-time from the system clock in the specified time-zone.static XMLOffsetDateTimeXMLOffsetDateTime.of(int year, int month, int dayOfMonth, int hour, int minute, int second, int nanoOfSecond, ZoneOffset offset) Obtains an instance ofXMLOffsetDateTimefrom a year, month, day, hour, minute, second, nanosecond and offset.static XMLOffsetDateTimeObtains an instance ofXMLOffsetDateTimefrom a date and a time.static XMLOffsetDateTimeXMLOffsetDateTime.of(LocalDate date, LocalTime time, ZoneOffset offset) Obtains an instance ofXMLOffsetDateTimefrom a date, time and offset.static XMLOffsetDateTimeXMLOffsetDateTime.of(LocalDateTime dateTime) Obtains an instance ofXMLOffsetDateTimefrom a date-time.static XMLOffsetDateTimeXMLOffsetDateTime.of(LocalDateTime dateTime, ZoneOffset offset) Obtains an instance ofXMLOffsetDateTimefrom a date-time and offset.static XMLOffsetDateTimeXMLOffsetDateTime.of(OffsetDateTime ofsDateTime) static XMLOffsetDateTimeObtains an instance ofXMLOffsetDateTimefrom anInstantand zone ID.static XMLOffsetDateTimeXMLOffsetDateTime.parse(CharSequence text) Obtains an instance ofXMLOffsetDateTimefrom a text string such as2007-12-03T10:15:30+01:00.static XMLOffsetDateTimeXMLOffsetDateTime.parse(CharSequence text, DateTimeFormatter formatter) Obtains an instance ofXMLOffsetDateTimefrom a text string using a specific formatter.XMLOffsetDateTime.plus(long amountToAdd, TemporalUnit unit) Returns a copy of this date-time with the specified amount added.XMLOffsetDateTime.plus(TemporalAmount amountToAdd) Returns a copy of this date-time with the specified amount added.XMLOffsetDateTime.plusDays(long days) Returns a copy of this XMLOffsetDateTime with the specified number of days added.XMLOffsetDateTime.plusHours(long hours) Returns a copy of thisXMLOffsetDateTimewith the specified number of hours added.XMLOffsetDateTime.plusMinutes(long minutes) Returns a copy of thisXMLOffsetDateTimewith the specified number of minutes added.XMLOffsetDateTime.plusMonths(long months) Returns a copy of thisXMLOffsetDateTimewith the specified number of months added.XMLOffsetDateTime.plusNanos(long nanos) Returns a copy of thisXMLOffsetDateTimewith the specified number of nanoseconds added.XMLOffsetDateTime.plusSeconds(long seconds) Returns a copy of thisXMLOffsetDateTimewith the specified number of seconds added.XMLOffsetDateTime.plusWeeks(long weeks) Returns a copy of this XMLOffsetDateTime with the specified number of weeks added.XMLOffsetDateTime.plusYears(long years) Returns a copy of thisXMLOffsetDateTimewith the specified number of years added.XMLOffsetDateTime.truncatedTo(TemporalUnit unit) Returns a copy of thisXMLOffsetDateTimewith the time truncated.protected XMLOffsetDateTimeXMLOffsetDateTime.with(LocalDateTime dateTime, ZoneOffset offset) Returns a new date-time based on this one, returningthiswhere possible.XMLOffsetDateTime.with(TemporalAdjuster adjuster) Returns an adjusted copy of this date-time.XMLOffsetDateTime.with(TemporalField field, long newValue) Returns a copy of this date-time with the specified field set to a new value.XMLOffsetDateTime.withDayOfMonth(int dayOfMonth) Returns a copy of thisXMLOffsetDateTimewith the day-of-month altered.XMLOffsetDateTime.withDayOfYear(int dayOfYear) Returns a copy of thisXMLOffsetDateTimewith the day-of-year altered.XMLOffsetDateTime.withHour(int hour) Returns a copy of thisXMLOffsetDateTimewith the hour-of-day altered.XMLOffsetDateTime.withMinute(int minute) Returns a copy of thisXMLOffsetDateTimewith the minute-of-hour altered.XMLOffsetDateTime.withMonth(int month) Returns a copy of thisXMLOffsetDateTimewith the month-of-year altered.XMLOffsetDateTime.withNano(int nanoOfSecond) Returns a copy of thisXMLOffsetDateTimewith the nano-of-second altered.XMLOffsetDateTime.withOffsetSameInstant(ZoneOffset offset) Returns a copy of thisXMLOffsetDateTimewith the specified offset ensuring that the result is at the same instant.XMLOffsetDateTime.withOffsetSameLocal(ZoneOffset offset) Returns a copy of thisXMLOffsetDateTimewith the specified offset ensuring that the result has the same local date-time.XMLOffsetDateTime.withSecond(int second) Returns a copy of thisXMLOffsetDateTimewith the second-of-minute altered.XMLOffsetDateTime.withYear(int year) Returns a copy of thisXMLOffsetDateTimewith the year altered.Methods in com.helger.commons.datetime that return types with arguments of type XMLOffsetDateTimeModifier and TypeMethodDescriptionstatic Comparator<XMLOffsetDateTime> XMLOffsetDateTime.timeLineOrder()Gets a comparator that compares twoXMLOffsetDateTimeinstances based solely on the instant.static PDTMask<XMLOffsetDateTime> PDTMask.xmlOffsetDateTime(String sPattern) Methods in com.helger.commons.datetime with parameters of type XMLOffsetDateTimeModifier and TypeMethodDescriptionprotected static intXMLOffsetDateTime.compareInstant(XMLOffsetDateTime datetime1, XMLOffsetDateTime datetime2) Compares thisXMLOffsetDateTimeto another date-time.intXMLOffsetDateTime.compareTo(XMLOffsetDateTime other) Compares this date-time to another date-time.static LocalDatePDTFactory.createLocalDate(XMLOffsetDateTime a) static LocalDateTimePDTFactory.createLocalDateTime(XMLOffsetDateTime aDT) static XMLOffsetDatePDTFactory.createXMLOffsetDate(XMLOffsetDateTime a) static StringPDTToString.getAsString(XMLOffsetDateTime aDateTime, Locale aDisplayLocale) static StringPDTWebDateHelper.getAsStringXSD(XMLOffsetDateTime aODT) static longPDTFactory.getMillis(XMLOffsetDateTime a) static XMLOffsetDateTimePDTFactory.getWithMillisOnly(XMLOffsetDateTime a) Get the passed date time but with micro and nanoseconds set to 0, so that only the milliseconds part is present.booleanXMLOffsetDateTime.isAfter(XMLOffsetDateTime other) Checks if the instant of this date-time is after that of the specified date-time.booleanXMLOffsetDateTime.isBefore(XMLOffsetDateTime other) Checks if the instant of this date-time is before that of the specified date-time.booleanXMLOffsetDateTime.isEqual(XMLOffsetDateTime other) Checks if the instant of this date-time is equal to that of the specified date-time.