Question: What are the Methods of Java OffsetDateTime Class?
Answer: Methods of Java OffsetDateTime Class
Method:	int get(TemporalField field)	
Description: It is used to get the value of the specified field from this date-time as an int.

Method:	int getDayOfMonth()	
Description: It is used to get the day-of-month field.

Method:	iint getDayOfYear()	
Description: It is used to get the day-of-year field.

Method:	DayOfWeek getDayOfWeek()	
Description: It is used to get the day-of-week field, which is an enum DayOfWeek.

Method:	OffsetDateTime minusDays(long days)	
Description: It is used to return a copy of this OffsetDateTime with the specified number of days subtracted.

Method:	static OffsetDateTime now()	
Description: It is used to obtain the current date-time from the system clock in the default time-zone.

Method:	OffsetDateTime plusDays(long days)	
Description: It is used to return a copy of this OffsetDateTime with the specified number of days added.

Method:	LocalDate toLocalDate()	
Description: It is used to get the LocalDate part of this date-time.

Method:	Temporal adjustInto(Temporal temporal)	
Description: It adjusts the specified temporal object to have the same date and time as this object.

Method:	TZonedDateTime atZoneSameInstant(ZoneId zone)	
Description: It combines this date-time with a time-zone to create a ZonedDateTime ensuring that the result has the same instant.

Method:	TZonedDateTime atZoneSimilarLocal(ZoneId zone)	
Description: It combines this date-time with a time-zone to create a ZonedDateTime trying to keep the same local date and time.

Method:	Tint compareTo(OffsetDateTime other)	
Description: It compares this date-time to another date-time.

Method:	Tboolean equals(Object obj)	
Description: It checks if this date-time is equal to another date-time.

Method:	TString format(DateTimeFormatter formatter)	
Description: It formats this date-time using the specified formatter.

Method:	Tstatic OffsetDateTime from(TemporalAccessor temporal)	
Description: It obtains an instance of OffsetDateTime from a temporal object.

Method:	Tint getHour()	
Description: It gets the hour-of-day field.

Method:	Tlong getLong(TemporalField field)	
Description: It gets the value of the specified field from this date-time as a long.

Method:	TMonth getMinute()	
Description: It gets the minute-of-hour field.

Method:	TMonth getMonth()	
Description: It gets the month-of-year field using the Month enum.

Method:	Tint getMonthValue()	
Description: It gets the month-of-year field from 1 to 12.

Method:	Tint getNano()	
Description: It gets the nano-of-second field.

Method:	TZoneOffset getOffset()	
Description: It gets the zone offset, such as '+01:00'.

Method:	Tint getSecond()	
Description: It gets the second-of-minute field.

Method:	Tint getYear()	
Description: It gets the year field.

Method:	Tint hashCode()	
Description: It returns hash code for this date-time.

Method:	Tboolean isAfter(OffsetDateTime other)	
Description: It checks if this date-time is after the specified date-time.

Method:	Tboolean isBefore(OffsetDateTime other)	
Description: It checks if this date-time is before the specified date-time.

Method:	Tboolean isEqual(OffsetDateTime other)	
Description: It checks if this date-time is equal to the specified date-time.

Method:	Tboolean isSupported(TemporalField field)	
Description: It checks if the specified field is supported.

Method:	Tboolean isSupported(TemporalUnit unit)	
Description: It checks if the specified unit is supported.

Method:	TOffsetDateTime minus(long amountToSubtract, TemporalUnit unit)	
Description: It returns a copy of this date-time with the specified amount subtracted.

Method:	TOffsetDateTime minus(TemporalAmount amountToSubtract)	
Description: It returns a copy of this date-time with the specified amount subtracted.

Method:	TOffsetDateTime minusMonths(long monthsToSubtract)	
Description: It returns a copy of this OffsetDateTime with the specified number of months subtracted.

Method:	TOffsetDateTime minusHours(long hoursToSubtract)	
Description: It returns a copy of this OffsetDateTime with the specified number of hours subtracted.

Method:	TOffsetDateTime minusMinutes(long minutesToSubtract)	
Description: It returns a copy of this OffsetDateTime with the specified number of minutes subtracted.

Method:	TOffsetDateTime minusNanos(long nanos)	
Description: It returns a copy of this OffsetDateTime with the specified number of nanoseconds subtracted.

Method:	Tstatic OffsetDateTime of(LocalDate date, LocalTime time, ZoneOffset offset)	
Description: It obtains an instance of OffsetDateTime from a date, time and offset.

Method:	Tstatic OffsetDateTime ofInstant(Instant instant, ZoneId zone)	
Description: It obtains an instance of OffsetDateTime from an Instant and zone ID.

Method:	Tstatic OffsetDateTime parse(CharSequence text)	
Description: It obtains an instance of OffsetDateTime from a text string such as 2007-12-03T10:15:30.

Method:	TValueRange range(TemporalField field)	
Description: It gets the range of valid values for the specified field.

Method:	Tlong toEpochSecond()	
Description: It converts this date-time to the number of seconds from the epoch of 1970-01-01T00:00:00Z.

Method:	TOffsetDateTime truncatedTo(TemporalUnit unit)	
Description: It returns a copy of this OffsetDateTime with the time truncated.

Method:	TOffsetDateTime with(TemporalAdjuster adjuster)	
Description: It returns an adjusted copy of this date-time.