Class MySqlDataTimeZone

java.lang.Object
io.ebeaninternal.server.core.timezone.MySqlDataTimeZone
All Implemented Interfaces:
DataTimeZone

public class MySqlDataTimeZone extends Object implements DataTimeZone
Implementation of DataTimeZone when single Calendar instance is used with local timezone.
  • Field Details

  • Constructor Details

    • MySqlDataTimeZone

      public MySqlDataTimeZone()
  • Method Details

    • getTimeZone

      public Calendar getTimeZone()
      Description copied from interface: DataTimeZone
      Return the Calendar to use for Timezone information when reading/writing timestamps.
      Specified by:
      getTimeZone in interface DataTimeZone
    • getTimeComponentTimeZone

      public Calendar getTimeComponentTimeZone()
      Description copied from interface: DataTimeZone
      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.
      Specified by:
      getTimeComponentTimeZone in interface DataTimeZone