Interface DataTimeZone

All Known Implementing Classes:
MySqlDataTimeZone, NoDataTimeZone, OracleDataTimeZone, SimpleDataTimeZone

public interface DataTimeZone
Define if a Calendar representing the time zone should be used in JDBC calls.
  • Method Summary

    Modifier and Type
    Method
    Description
    default Calendar
    Return the Calendar to use for Timezone information when reading/writing a time component (date only/time only).
    Return the Calendar to use for Timezone information when reading/writing timestamps.
  • Method Details

    • getTimeZone

      Calendar getTimeZone()
      Return the Calendar to use for Timezone information when reading/writing timestamps.
    • getTimeComponentTimeZone

      default Calendar getTimeComponentTimeZone()
      Return the Calendar to use for Timezone information when reading/writing a time component (date only/time only). A time component has normally no timezone information, but some platforms (like MySQL) reqire this.