# TimestampWithTimeZone

How we expose "TIMESTAMP WITH TIMEZONE" in our ResultSets.

Methods
boolean | equals(Object obj)
boolean | equals(Object obj)
int | getDay() Gets the day of month 1-based.
int | getDay() Gets the day of month 1-based. The day of month is in the specified time zone and not UTC. So for {@code 2015-12-31 19:00:00.00-10:00} the value returned is {@code 31} even though in UTC the day of month is {@code 1}. Returns: the day of month
int | getMonth() Gets the month 1-based.
int | getMonth() Gets the month 1-based. The month is in the specified time zone and not UTC. So for {@code 2015-12-31 19:00:00.00-10:00} the value returned is {@code 12} even though in UTC the month is {@code 1}. Returns: the month
long | getNanosSinceMidnight() Gets the nanoseconds since midnight.
long | getNanosSinceMidnight() Gets the nanoseconds since midnight. The nanoseconds are relative to midnight in the specified time zone. So for {@code 2016-09-24 00:00:00.000000001-00:01} the value returned is {@code 1} even though {@code 60000000001} nanoseconds have passed since midnight in UTC. Returns: the nanoseconds since midnight
short | getTimeZoneOffsetMins() The time zone offset in minutes.
short | getTimeZoneOffsetMins() The time zone offset in minutes. Returns: the offset
long | getYMD()
long | getYMD() Returns: the year-month-day bit field
int | getYear() Gets the year.
int | getYear() Gets the year. The year is in the specified time zone and not UTC. So for {@code 2015-12-31 19:00:00.00-10:00} the value returned will be {@code 2015} even though in UTC the year is {@code 2016}. Returns: the year
int | hashCode()
int | hashCode()
String | toString()
String | toString()