Uses of Class
com.helger.commons.datetime.XMLOffsetTime
Packages that use XMLOffsetTime
-
Uses of XMLOffsetTime in com.helger.commons.datetime
Fields in com.helger.commons.datetime declared as XMLOffsetTimeModifier and TypeFieldDescriptionstatic final XMLOffsetTimeXMLOffsetTime.MAXThe maximum supportedXMLOffsetTime, '23:59:59.999999999-18:00'.static final XMLOffsetTimeXMLOffsetTime.MINThe minimum supportedXMLOffsetTime, '00:00:00+18:00'.Methods in com.helger.commons.datetime that return XMLOffsetTimeModifier and TypeMethodDescriptionstatic XMLOffsetTimePDTFactory.createXMLOffsetTime(int nHour, int nMinute, int nSecond) static XMLOffsetTimePDTFactory.createXMLOffsetTime(int nHour, int nMinute, int nSecond, ZoneOffset aOfs) static XMLOffsetTimePDTFactory.createXMLOffsetTime(long nMillis) static XMLOffsetTimePDTFactory.createXMLOffsetTime(Instant a) static XMLOffsetTimePDTFactory.createXMLOffsetTime(LocalDateTime a) static XMLOffsetTimePDTFactory.createXMLOffsetTime(LocalDateTime a, ZoneOffset aOfs) static XMLOffsetTimePDTFactory.createXMLOffsetTime(LocalTime a) static XMLOffsetTimePDTFactory.createXMLOffsetTime(LocalTime a, ZoneOffset aOfs) static XMLOffsetTimePDTFactory.createXMLOffsetTime(OffsetDateTime a) static XMLOffsetTimePDTFactory.createXMLOffsetTime(ZonedDateTime a) static XMLOffsetTimePDTFactory.createXMLOffsetTime(Date a) static XMLOffsetTimePDTFactory.createXMLOffsetTime(GregorianCalendar a) static XMLOffsetTimeXMLOffsetTime.from(TemporalAccessor temporal) Obtains an instance ofXMLOffsetTimefrom a temporal object.static XMLOffsetTimePDTFactory.getCurrentXMLOffsetTime()static XMLOffsetTimePDTFactory.getCurrentXMLOffsetTimeMillisOnly()static XMLOffsetTimePDTFactory.getCurrentXMLOffsetTimeMillisOnlyUTC()static XMLOffsetTimePDTFactory.getCurrentXMLOffsetTimeUTC()static XMLOffsetTimePDTFactory.getWithMillisOnly(XMLOffsetTime a) Get the passed time but with micro and nanoseconds set to 0, so that only the milliseconds part is present.static XMLOffsetTimePDTFromString.getXMLOffsetTimeFromString(String sValue, String sPattern) static XMLOffsetTimePDTFromString.getXMLOffsetTimeFromString(String sValue, DateTimeFormatter aDF) static XMLOffsetTimePDTWebDateHelper.getXMLOffsetTimeFromXSD(String sValue) XMLOffsetTime.minus(long amountToSubtract, TemporalUnit unit) Returns a copy of this time with the specified amount subtracted.XMLOffsetTime.minus(TemporalAmount amountToSubtract) Returns a copy of this time with the specified amount subtracted.XMLOffsetTime.minusHours(long hours) Returns a copy of thisXMLOffsetTimewith the specified number of hours subtracted.XMLOffsetTime.minusMinutes(long minutes) Returns a copy of thisXMLOffsetTimewith the specified number of minutes subtracted.XMLOffsetTime.minusNanos(long nanos) Returns a copy of thisXMLOffsetTimewith the specified number of nanoseconds subtracted.XMLOffsetTime.minusSeconds(long seconds) Returns a copy of thisXMLOffsetTimewith the specified number of seconds subtracted.static XMLOffsetTimeXMLOffsetTime.now()Obtains the current time from the system clock in the default time-zone.static XMLOffsetTimeObtains the current time from the specified clock.static XMLOffsetTimeObtains the current time from the system clock in the specified time-zone.static XMLOffsetTimeXMLOffsetTime.of(int hour, int minute, int second, int nanoOfSecond, ZoneOffset offset) Obtains an instance ofXMLOffsetTimefrom an hour, minute, second and nanosecond.static XMLOffsetTimeObtains an instance ofXMLOffsetTimefrom a local time and no offset.static XMLOffsetTimeXMLOffsetTime.of(LocalTime time, ZoneOffset offset) Obtains an instance ofXMLOffsetTimefrom a local time and an offset.static XMLOffsetTimeXMLOffsetTime.of(OffsetTime ofsTime) static XMLOffsetTimeObtains an instance ofXMLOffsetTimefrom anInstantand zone ID.static XMLOffsetTimeXMLOffsetTime.parse(CharSequence text) Obtains an instance ofXMLOffsetTimefrom a text string such as10:15:30+01:00.static XMLOffsetTimeXMLOffsetTime.parse(CharSequence text, DateTimeFormatter formatter) Obtains an instance ofXMLOffsetTimefrom a text string using a specific formatter.XMLOffsetTime.plus(long amountToAdd, TemporalUnit unit) Returns a copy of this time with the specified amount added.XMLOffsetTime.plus(TemporalAmount amountToAdd) Returns a copy of this time with the specified amount added.XMLOffsetTime.plusHours(long hours) Returns a copy of thisXMLOffsetTimewith the specified number of hours added.XMLOffsetTime.plusMinutes(long minutes) Returns a copy of thisXMLOffsetTimewith the specified number of minutes added.XMLOffsetTime.plusNanos(long nanos) Returns a copy of thisXMLOffsetTimewith the specified number of nanoseconds added.XMLOffsetTime.plusSeconds(long seconds) Returns a copy of thisXMLOffsetTimewith the specified number of seconds added.XMLOffsetDateTime.toXMLOffsetTime()Converts this date-time to anXMLOffsetTime.XMLOffsetTime.truncatedTo(TemporalUnit unit) Returns a copy of thisXMLOffsetTimewith the time truncated.protected XMLOffsetTimeXMLOffsetTime.with(LocalTime time, ZoneOffset offset) Returns a new time based on this one, returningthiswhere possible.XMLOffsetTime.with(TemporalAdjuster adjuster) Returns an adjusted copy of this time.XMLOffsetTime.with(TemporalField field, long newValue) Returns a copy of this time with the specified field set to a new value.XMLOffsetTime.withHour(int hour) Returns a copy of thisXMLOffsetTimewith the hour-of-day altered.XMLOffsetTime.withMinute(int minute) Returns a copy of thisXMLOffsetTimewith the minute-of-hour altered.XMLOffsetTime.withNano(int nanoOfSecond) Returns a copy of thisXMLOffsetTimewith the nano-of-second altered.XMLOffsetTime.withOffsetSameInstant(ZoneOffset offset) Returns a copy of thisXMLOffsetTimewith the specified offset ensuring that the result is at the same instant on an implied day.XMLOffsetTime.withOffsetSameLocal(ZoneOffset offset) Returns a copy of thisXMLOffsetTimewith the specified offset ensuring that the result has the same local time.XMLOffsetTime.withSecond(int second) Returns a copy of thisXMLOffsetTimewith the second-of-minute altered.Methods in com.helger.commons.datetime with parameters of type XMLOffsetTimeModifier and TypeMethodDescriptionintXMLOffsetTime.compareTo(XMLOffsetTime o) Compares thisXMLOffsetTimeto another time.static DatePDTFactory.createDate(XMLOffsetTime a) static LocalDateTimePDTFactory.createLocalDateTime(XMLOffsetTime a) static LocalTimePDTFactory.createLocalTime(XMLOffsetTime a) static OffsetDateTimePDTFactory.createOffsetDateTime(XMLOffsetTime a) static XMLOffsetDateTimePDTFactory.createXMLOffsetDateTime(XMLOffsetTime a) static ZonedDateTimePDTFactory.createZonedDateTime(XMLOffsetTime a) static StringPDTToString.getAsString(XMLOffsetTime aTime, Locale aDisplayLocale) static StringPDTWebDateHelper.getAsStringXSD(XMLOffsetTime aOT) static longPDTFactory.getMillis(XMLOffsetTime a) static XMLOffsetTimePDTFactory.getWithMillisOnly(XMLOffsetTime a) Get the passed time but with micro and nanoseconds set to 0, so that only the milliseconds part is present.booleanXMLOffsetTime.isAfter(XMLOffsetTime other) Checks if the instant of thisXMLOffsetTimeis after that of the specified time applying both times to a common date.booleanXMLOffsetTime.isBefore(XMLOffsetTime other) Checks if the instant of thisXMLOffsetTimeis before that of the specified time applying both times to a common date.booleanXMLOffsetTime.isEqual(XMLOffsetTime other) Checks if the instant of thisXMLOffsetTimeis equal to that of the specified time applying both times to a common date.