Public Attributes |
long | offset |
Additional Inherited Members |
static void * | operator new (size_t size) throw () |
static void * | operator new[] (size_t size) throw () |
static void * | operator new[] (size_t size, MEM_ROOT *mem_root) throw () |
static void * | operator new (size_t size, MEM_ROOT *mem_root) throw () |
static void | operator delete (void *ptr, size_t size) |
static void | operator delete (void *ptr, MEM_ROOT *mem_root) |
static void | operator delete[] (void *ptr, MEM_ROOT *mem_root) |
static void | operator delete[] (void *ptr, size_t size) |
static void | adjust_leap_second (MYSQL_TIME *t) |
Detailed Description
Definition at line 1295 of file tztime.cc.
Member Function Documentation
const String * Time_zone_offset::get_name |
( |
| ) |
const |
|
virtual |
Because of constness of String returned by get_name() time zone name have to be already zeroended to be able to use String::ptr() instead of c_ptr().
Implements Time_zone.
Definition at line 1417 of file tztime.cc.
void Time_zone_offset::gmt_sec_to_TIME |
( |
MYSQL_TIME * |
tmp, |
|
|
my_time_t |
t |
|
) |
| const |
|
virtual |
Converts time in my_time_t representation to local time in broken down MYSQL_TIME representation.
Implements Time_zone.
Definition at line 1401 of file tztime.cc.
my_time_t Time_zone_offset::TIME_to_gmt_sec |
( |
const MYSQL_TIME * |
t, |
|
|
my_bool * |
in_dst_time_gap |
|
) |
| const |
|
virtual |
Converts local time in broken down MYSQL_TIME representation to my_time_t (UTC seconds since Epoch) represenation. Returns 0 in case of error. Sets in_dst_time_gap to true if date provided falls into spring time-gap (or lefts it untouched otherwise).
Implements Time_zone.
Definition at line 1352 of file tztime.cc.
The documentation for this class was generated from the following file: