Uses of Class
com.helger.commons.datetime.XMLOffsetDate
Packages that use XMLOffsetDate
-
Uses of XMLOffsetDate in com.helger.commons.datetime
Fields in com.helger.commons.datetime declared as XMLOffsetDateModifier and TypeFieldDescriptionstatic final XMLOffsetDateXMLOffsetDate.MAXThe maximum supportedXMLOffsetDate, '+999999999-12-31-18:00'.static final XMLOffsetDateXMLOffsetDate.MINThe minimum supportedXMLOffsetDate, '-999999999-01-01+18:00'.Methods in com.helger.commons.datetime that return XMLOffsetDateModifier and TypeMethodDescriptionstatic XMLOffsetDatePDTFactory.createXMLOffsetDate(int nYear, Month eMonth, int nDayOfMonth) static XMLOffsetDatePDTFactory.createXMLOffsetDate(int nYear, Month eMonth, int nDayOfMonth, ZoneOffset aOffset) static XMLOffsetDatePDTFactory.createXMLOffsetDate(long nMillis) static XMLOffsetDatePDTFactory.createXMLOffsetDate(XMLOffsetDateTime a) static XMLOffsetDatePDTFactory.createXMLOffsetDate(Number a) static XMLOffsetDatePDTFactory.createXMLOffsetDate(Instant a) static XMLOffsetDatePDTFactory.createXMLOffsetDate(Instant a, ZoneId aZoneId) static XMLOffsetDatePDTFactory.createXMLOffsetDate(LocalDate a) static XMLOffsetDatePDTFactory.createXMLOffsetDate(LocalDate a, ZoneOffset aOffset) static XMLOffsetDatePDTFactory.createXMLOffsetDate(LocalDateTime a) static XMLOffsetDatePDTFactory.createXMLOffsetDate(LocalDateTime a, ZoneOffset aOffset) static XMLOffsetDatePDTFactory.createXMLOffsetDate(OffsetDateTime a) static XMLOffsetDatePDTFactory.createXMLOffsetDate(Year a) static XMLOffsetDatePDTFactory.createXMLOffsetDate(YearMonth a) static XMLOffsetDatePDTFactory.createXMLOffsetDate(ZonedDateTime a) static XMLOffsetDatePDTFactory.createXMLOffsetDate(Date a) static XMLOffsetDatePDTFactory.createXMLOffsetDate(GregorianCalendar a) static XMLOffsetDateXMLOffsetDate.from(TemporalAccessor temporal) Obtains an instance ofXMLOffsetDatefrom a temporal object.static XMLOffsetDatePDTFactory.getCurrentXMLOffsetDate()static XMLOffsetDatePDTFactory.getCurrentXMLOffsetDateUTC()static XMLOffsetDatePDTFromString.getXMLOffsetDateFromString(String sValue, String sPattern) static XMLOffsetDatePDTFromString.getXMLOffsetDateFromString(String sValue, DateTimeFormatter aDF) static XMLOffsetDatePDTWebDateHelper.getXMLOffsetDateFromXSD(String sValue) XMLOffsetDate.minus(long amountToSubtract, TemporalUnit unit) Returns a copy of this date with the specified amount subtracted.XMLOffsetDate.minus(TemporalAmount amountToSubtract) Returns a copy of this date with the specified amount subtracted.XMLOffsetDate.minusDays(long days) Returns a copy of thisXMLOffsetDatewith the specified number of days subtracted.XMLOffsetDate.minusMonths(long months) Returns a copy of thisXMLOffsetDatewith the specified number of months subtracted.XMLOffsetDate.minusWeeks(long weeks) Returns a copy of thisXMLOffsetDatewith the specified number of weeks subtracted.XMLOffsetDate.minusYears(long years) Returns a copy of thisXMLOffsetDatewith the specified number of years subtracted.static XMLOffsetDateXMLOffsetDate.now()Obtains the current date from the system clock in the default time-zone.static XMLOffsetDateObtains the current date from the specified clock.static XMLOffsetDateObtains the current date from the system clock in the specified time-zone.static XMLOffsetDateXMLOffsetDate.of(int year, int month, int dayOfMonth, ZoneOffset offset) Obtains an instance ofXMLOffsetDatefrom a year, month, day and offset.static XMLOffsetDateXMLOffsetDate.of(int year, Month month, int dayOfMonth, ZoneOffset offset) Obtains an instance ofXMLOffsetDatefrom a year, month, day and offset.static XMLOffsetDateXMLOffsetDate.of(OffsetDate ofsDate) static XMLOffsetDateObtains an instance ofXMLOffsetDatefrom a local date and not zone offset.static XMLOffsetDateXMLOffsetDate.of(LocalDate date, ZoneOffset offset) Obtains an instance ofXMLOffsetDatefrom a local date and an offset.static XMLOffsetDateObtains an instance ofXMLOffsetDatefrom anInstantand zone ID.static XMLOffsetDateXMLOffsetDate.parse(CharSequence text) Obtains an instance ofXMLOffsetDatefrom a text string such as2007-12-03+01:00.static XMLOffsetDateXMLOffsetDate.parse(CharSequence sText, DateTimeFormatter aFormatter) Obtains an instance ofXMLOffsetDatefrom a text string using a specific formatter.XMLOffsetDate.plus(long amountToAdd, TemporalUnit unit) Returns a copy of this date with the specified amount added.XMLOffsetDate.plus(TemporalAmount amountToAdd) Returns a copy of this date with the specified period added.XMLOffsetDate.plusDays(long days) Returns a copy of thisXMLOffsetDatewith the specified number of days added.XMLOffsetDate.plusMonths(long months) Returns a copy of thisXMLOffsetDatewith the specified number of months added.XMLOffsetDate.plusWeeks(long weeks) Returns a copy of thisXMLOffsetDatewith the specified number of weeks added.XMLOffsetDate.plusYears(long years) Returns a copy of thisXMLOffsetDatewith the specified number of years added.OffsetDate.toXMLOffsetDate()XMLOffsetDateTime.toXMLOffsetDate()XMLOffsetDate.with(TemporalAdjuster adjuster) Returns an adjusted copy of this date.XMLOffsetDate.with(TemporalField field, long newValue) Returns a copy of this date with the specified field set to a new value.XMLOffsetDate.withDayOfMonth(int dayOfMonth) Returns a copy of thisXMLOffsetDatewith the day-of-month altered.XMLOffsetDate.withDayOfYear(int dayOfYear) Returns a copy of thisXMLOffsetDatewith the day-of-year altered.XMLOffsetDate.withMonth(int month) Returns a copy of thisXMLOffsetDatewith the month-of-year altered.XMLOffsetDate.withOffsetSameLocal(ZoneOffset offset) Returns a copy of thisXMLOffsetDatewith the specified offset ensuring that the result has the same local date.XMLOffsetDate.withYear(int year) Returns a copy of thisXMLOffsetDatewith the year altered.Methods in com.helger.commons.datetime that return types with arguments of type XMLOffsetDateModifier and TypeMethodDescriptionstatic PDTMask<XMLOffsetDate> PDTMask.xmlOffsetDate(String sPattern) Methods in com.helger.commons.datetime with parameters of type XMLOffsetDateModifier and TypeMethodDescriptionintXMLOffsetDate.compareTo(XMLOffsetDate o) Compares thisXMLOffsetDateto another date.static DatePDTFactory.createDate(XMLOffsetDate aOD) static LocalDatePDTFactory.createLocalDate(XMLOffsetDate a) static LocalDateTimePDTFactory.createLocalDateTime(XMLOffsetDate aDT) static OffsetDateTimePDTFactory.createOffsetDateTime(XMLOffsetDate aOD) static XMLOffsetDateTimePDTFactory.createXMLOffsetDateTime(XMLOffsetDate aOD) static ZonedDateTimePDTFactory.createZonedDateTime(XMLOffsetDate aOD) static StringPDTToString.getAsString(XMLOffsetDate aDate, Locale aDisplayLocale) static StringPDTWebDateHelper.getAsStringXSD(XMLOffsetDate aOD) static longPDTFactory.getMillis(XMLOffsetDate aOD) booleanXMLOffsetDate.isAfter(XMLOffsetDate other) Checks if the instant of midnight at the start of thisXMLOffsetDateis after midnight at the start of the specified date.booleanXMLOffsetDate.isBefore(XMLOffsetDate other) Checks if the instant of midnight at the start of thisXMLOffsetDateis before midnight at the start of the specified date.booleanXMLOffsetDate.isEqual(XMLOffsetDate other) Checks if the instant of midnight at the start of thisXMLOffsetDateequals midnight at the start of the specified date.