Java Date Time - OffsetDateTime Example








Field

  1. OffsetDateTime MAX
  2. OffsetDateTime MIN

Method

  1. OffsetDateTime adjustInto(Temporal temporal)
  2. OffsetDateTime atZoneSameInstant(ZoneId zone)
  3. OffsetDateTime atZoneSimilarLocal(ZoneId zone)
  4. OffsetDateTime compareTo(OffsetDateTime other)
  5. OffsetDateTime equals(Object obj)
  6. OffsetDateTime format(DateTimeFormatter formatter)
  7. OffsetDateTime from(TemporalAccessor temporal)
  8. OffsetDateTime getDayOfMonth()
  9. OffsetDateTime getDayOfWeek()
  10. OffsetDateTime getDayOfYear()
  11. OffsetDateTime getHour()
  12. OffsetDateTime getLong(TemporalField field)
  13. OffsetDateTime getMinute()
  14. OffsetDateTime getMonthValue()
  15. OffsetDateTime getMonth()
  16. OffsetDateTime getNano()
  17. OffsetDateTime getOffset()
  18. OffsetDateTime getSecond()
  19. OffsetDateTime getYear()
  20. OffsetDateTime get(TemporalField field)
  21. OffsetDateTime hashCode()
  22. OffsetDateTime isAfter(OffsetDateTime other)
  23. OffsetDateTime isBefore(OffsetDateTime other)
  24. OffsetDateTime isEqual(OffsetDateTime other)
  25. OffsetDateTime isSupported(TemporalField field)
  26. OffsetDateTime isSupported(TemporalUnit unit)
  27. OffsetDateTime minusDays(long days)
  28. OffsetDateTime minusHours(long hours)
  29. OffsetDateTime minusMinutes(long minutes)
  30. OffsetDateTime minusMonths(long months)
  31. OffsetDateTime minusNanos(long nanos)
  32. OffsetDateTime minusSeconds(long seconds)
  33. OffsetDateTime minusWeeks(long weeks)
  34. OffsetDateTime minusYears(long years)
  35. OffsetDateTime minus(long amountToSubtract, TemporalUnit unit)
  36. OffsetDateTime minus(TemporalAmount amountToSubtract)
  37. OffsetDateTime now()
  38. OffsetDateTime now(Clock clock)
  39. OffsetDateTime now(ZoneId zone)
  40. OffsetDateTime ofInstant(Instant instant, ZoneId zone)
  41. OffsetDateTime of(int year, int month, int dayOfMonth, int hour, int minute, int second, int nanoOfSecond, ZoneOffset offset)
  42. OffsetDateTime of(LocalDateTime dateTime, ZoneOffset offset)
  43. OffsetDateTime of(LocalDate date, LocalTime time, ZoneOffset offset)
  44. OffsetDateTime parse(CharSequence text)
  45. OffsetDateTime parse(CharSequence text, DateTimeFormatter formatter)
  46. OffsetDateTime plusDays(long days)
  47. OffsetDateTime plusHours(long hours)
  48. OffsetDateTime plusMinutes(long minutes)
  49. OffsetDateTime plusMonths(long months)
  50. OffsetDateTime plusNanos(long nanos)
  51. OffsetDateTime plusSeconds(long seconds)
  52. OffsetDateTime plusWeeks(long weeks)
  53. OffsetDateTime plusYears(long years)
  54. OffsetDateTime plus(long amountToAdd, TemporalUnit unit)
  55. OffsetDateTime plus(TemporalAmount amountToAdd)
  56. OffsetDateTime query(TemporalQuery query)
  57. OffsetDateTime range(TemporalField field)
  58. OffsetDateTime timeLineOrder()
  59. OffsetDateTime toEpochSecond()
  60. OffsetDateTime toInstant()
  61. OffsetDateTime toLocalDateTime()
  62. OffsetDateTime toLocalDate()
  63. OffsetDateTime toLocalTime()
  64. OffsetDateTime toOffsetTime()
  65. OffsetDateTime toString()
  66. OffsetDateTime toZonedDateTime()
  67. OffsetDateTime truncatedTo(TemporalUnit unit)
  68. OffsetDateTime until(Temporal endExclusive, TemporalUnit unit)
  69. OffsetDateTime withDayOfMonth(int dayOfMonth)
  70. OffsetDateTime withDayOfYear(int dayOfYear)
  71. OffsetDateTime withHour(int hour)
  72. OffsetDateTime withMinute(int minute)
  73. OffsetDateTime withMonth(int month)
  74. OffsetDateTime withNano(int nanoOfSecond)
  75. OffsetDateTime withOffsetSameInstant( ZoneOffset offset)
  76. OffsetDateTime withOffsetSameLocal(ZoneOffset offset)
  77. OffsetDateTime withSecond(int second)
  78. OffsetDateTime withYear(int year)
  79. OffsetDateTime with(TemporalAdjuster adjuster)
  80. OffsetDateTime with(TemporalField field, long newValue)