public static OffsetDateTime toOffsetDateTime(long timestamp) {

		Calendar calendar = DateTimeUtils.getCalendar(timestamp);
		return OffsetDateTime.ofInstant(calendar.toInstant(), calendar.getTimeZone().toZoneId());
	}
public static OffsetDateTime toOffsetDateTime(long timestamp) {

		Calendar calendar = DateTimeUtils.getCalendar(timestamp);
		return OffsetDateTime.ofInstant(calendar.toInstant(), calendar.getTimeZone().toZoneId());
	}
public static OffsetDateTime toOffsetDateTime ( long timestamp ) { Calendar calendar = DateTimeUtils . getCalendar ( timestamp ) ; return OffsetDateTime . ofInstant ( calendar . toInstant ( ) , calendar . getTimeZone ( ) . toZoneId ( ) ) ; }
Converts timestamp into OffsetDatetime

@param timestamp to be converted
@return OffsetDatetime representation of timestamp
Converts timestamp into OffsetDatetime