java.lang.Object
io.ebeaninternal.server.core.timezone.MySqlDataTimeZone
- All Implemented Interfaces:
DataTimeZone
Implementation of DataTimeZone when single Calendar instance is used with local timezone.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturn 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.
-
Field Details
-
zone
-
-
Constructor Details
-
MySqlDataTimeZone
public MySqlDataTimeZone()
-
-
Method Details
-
getTimeZone
Description copied from interface:DataTimeZoneReturn the Calendar to use for Timezone information when reading/writing timestamps.- Specified by:
getTimeZonein interfaceDataTimeZone
-
getTimeComponentTimeZone
Description copied from interface:DataTimeZoneReturn 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:
getTimeComponentTimeZonein interfaceDataTimeZone
-