Uses of Class
org.bardframework.time.OffsetDateTimeJalali
Packages that use OffsetDateTimeJalali
-
Uses of OffsetDateTimeJalali in org.bardframework.time
Fields in org.bardframework.time declared as OffsetDateTimeJalaliModifier and TypeFieldDescriptionstatic final OffsetDateTimeJalaliOffsetDateTimeJalali.MAXThe maximum supportedOffsetDateTime, '+999999999-12-31T23:59:59.999999999-18:00'.static final OffsetDateTimeJalaliOffsetDateTimeJalali.MINThe minimum supportedOffsetDateTime, '-999999999-01-01T00:00:00+18:00'.Methods in org.bardframework.time that return OffsetDateTimeJalaliModifier and TypeMethodDescriptionLocalDateTimeJalali.atOffset(ZoneOffset offset) Combines this date-time with an offset to create anOffsetDateTime.static OffsetDateTimeJalaliOffsetDateTimeJalali.from(TemporalAccessor temporal) Obtains an instance ofOffsetDateTimefrom a temporal object.OffsetDateTimeJalali.minus(long amountToSubtract, TemporalUnit unit) Returns a copy of this date-time with the specified amount subtracted.OffsetDateTimeJalali.minus(TemporalAmount amountToSubtract) Returns a copy of this date-time with the specified amount subtracted.OffsetDateTimeJalali.minusDays(long days) Returns a copy of thisOffsetDateTimewith the specified number of days subtracted.OffsetDateTimeJalali.minusHours(long hours) Returns a copy of thisOffsetDateTimewith the specified number of hours subtracted.OffsetDateTimeJalali.minusMinutes(long minutes) Returns a copy of thisOffsetDateTimewith the specified number of minutes subtracted.OffsetDateTimeJalali.minusMonths(long months) Returns a copy of thisOffsetDateTimewith the specified number of months subtracted.OffsetDateTimeJalali.minusNanos(long nanos) Returns a copy of thisOffsetDateTimewith the specified number of nanoseconds subtracted.OffsetDateTimeJalali.minusSeconds(long seconds) Returns a copy of thisOffsetDateTimewith the specified number of seconds subtracted.OffsetDateTimeJalali.minusWeeks(long weeks) Returns a copy of thisOffsetDateTimewith the specified number of weeks subtracted.OffsetDateTimeJalali.minusYears(long years) Returns a copy of thisOffsetDateTimewith the specified number of years subtracted.static OffsetDateTimeJalaliOffsetDateTimeJalali.now()Obtains the current date-time from the system clock in the default time-zone.static OffsetDateTimeJalaliObtains the current date-time from the specified clock.static OffsetDateTimeJalaliObtains the current date-time from the system clock in the specified time-zone.static OffsetDateTimeJalaliOffsetDateTimeJalali.of(int year, int month, int dayOfMonth, int hour, int minute, int second, int nanoOfSecond, ZoneOffset offset) Obtains an instance ofOffsetDateTimefrom a year, month, day, hour, minute, second, nanosecond and offset.static OffsetDateTimeJalaliOffsetDateTimeJalali.of(LocalDateJalali date, LocalTime time, ZoneOffset offset) Obtains an instance ofOffsetDateTimefrom a date, time and offset.static OffsetDateTimeJalaliOffsetDateTimeJalali.of(LocalDateTimeJalali dateTime, ZoneOffset offset) Obtains an instance ofOffsetDateTimefrom a date-time and offset.static OffsetDateTimeJalaliObtains an instance ofOffsetDateTimefrom anInstantand zone ID.static OffsetDateTimeJalaliOffsetDateTimeJalali.parse(CharSequence text) Obtains an instance ofOffsetDateTimefrom a text string such as1367-08-12T10:15:30+03:30.static OffsetDateTimeJalaliOffsetDateTimeJalali.parse(CharSequence text, DateTimeFormatter formatter) Obtains an instance ofOffsetDateTimefrom a text string using a specific formatter.OffsetDateTimeJalali.plus(long amountToAdd, TemporalUnit unit) Returns a copy of this date-time with the specified amount added.OffsetDateTimeJalali.plus(TemporalAmount amountToAdd) Returns a copy of this date-time with the specified amount added.OffsetDateTimeJalali.plusDays(long days) Returns a copy of this OffsetDateTime with the specified number of days added.OffsetDateTimeJalali.plusHours(long hours) Returns a copy of thisOffsetDateTimewith the specified number of hours added.OffsetDateTimeJalali.plusMinutes(long minutes) Returns a copy of thisOffsetDateTimewith the specified number of minutes added.OffsetDateTimeJalali.plusMonths(long months) Returns a copy of thisOffsetDateTimewith the specified number of months added.OffsetDateTimeJalali.plusNanos(long nanos) Returns a copy of thisOffsetDateTimewith the specified number of nanoseconds added.OffsetDateTimeJalali.plusSeconds(long seconds) Returns a copy of thisOffsetDateTimewith the specified number of seconds added.OffsetDateTimeJalali.plusWeeks(long weeks) Returns a copy of this OffsetDateTime with the specified number of weeks added.OffsetDateTimeJalali.plusYears(long years) Returns a copy of thisOffsetDateTimewith the specified number of years added.ZonedDateTimeJalali.toOffsetDateTime()Converts this date-time to anOffsetDateTime.OffsetDateTimeJalali.truncatedTo(TemporalUnit unit) Returns a copy of thisOffsetDateTimewith the time truncated.OffsetDateTimeJalali.with(TemporalAdjuster adjuster) Returns an adjusted copy of this date-time.OffsetDateTimeJalali.with(TemporalField field, long newValue) Returns a copy of this date-time with the specified field set to a new value.OffsetDateTimeJalali.withDayOfMonth(int dayOfMonth) Returns a copy of thisOffsetDateTimewith the day-of-month altered.OffsetDateTimeJalali.withDayOfYear(int dayOfYear) Returns a copy of thisOffsetDateTimewith the day-of-year altered.OffsetDateTimeJalali.withHour(int hour) Returns a copy of thisOffsetDateTimewith the hour-of-day altered.OffsetDateTimeJalali.withMinute(int minute) Returns a copy of thisOffsetDateTimewith the minute-of-hour altered.OffsetDateTimeJalali.withMonth(int month) Returns a copy of thisOffsetDateTimewith the month-of-year altered.OffsetDateTimeJalali.withNano(int nanoOfSecond) Returns a copy of thisOffsetDateTimewith the nano-of-second altered.OffsetDateTimeJalali.withOffsetSameInstant(ZoneOffset offset) Returns a copy of thisOffsetDateTimewith the specified offset ensuring that the result is at the same instant.OffsetDateTimeJalali.withOffsetSameLocal(ZoneOffset offset) Returns a copy of thisOffsetDateTimewith the specified offset ensuring that the result has the same local date-time.OffsetDateTimeJalali.withSecond(int second) Returns a copy of thisOffsetDateTimewith the second-of-minute altered.OffsetDateTimeJalali.withYear(int year) Returns a copy of thisOffsetDateTimewith the year altered.Methods in org.bardframework.time that return types with arguments of type OffsetDateTimeJalaliModifier and TypeMethodDescriptionstatic Comparator<OffsetDateTimeJalali> OffsetDateTimeJalali.timeLineOrder()Gets a comparator that compares twoOffsetDateTimeinstances based solely on the instant.Methods in org.bardframework.time with parameters of type OffsetDateTimeJalaliModifier and TypeMethodDescriptionintOffsetDateTimeJalali.compareTo(OffsetDateTimeJalali other) Compares this date-time to another date-time.booleanOffsetDateTimeJalali.isAfter(OffsetDateTimeJalali other) Checks if the instant of this date-time is after that of the specified date-time.booleanOffsetDateTimeJalali.isBefore(OffsetDateTimeJalali other) Checks if the instant of this date-time is before that of the specified date-time.booleanOffsetDateTimeJalali.isEqual(OffsetDateTimeJalali other) Checks if the instant of this date-time is equal to that of the specified date-time.