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.
-
-
Constructor Summary
Constructors Constructor Description MySqlDataTimeZone()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Calendar
getDateTimeZone()
Return the Calendar to use for Timezone information when reading/writing date.Calendar
getTimeZone()
Return the Calendar to use for Timezone information when reading/writing timestamps.
-
-
-
Constructor Detail
-
MySqlDataTimeZone
public MySqlDataTimeZone()
-
-
Method Detail
-
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 interfaceDataTimeZone
-
getDateTimeZone
public Calendar getDateTimeZone()
Description copied from interface:DataTimeZone
Return the Calendar to use for Timezone information when reading/writing date. A 'date' only value has normally no timezone information, but some platforms (like MySQL) reqire this.- Specified by:
getDateTimeZone
in interfaceDataTimeZone
-
-