◆ Time_zone_offset()
      
        
          | Time_zone_offset::Time_zone_offset  | 
          ( | 
          long  | 
          tz_offset_arg | ) | 
           | 
        
      
 
 
◆ get_name()
  
  
      
        
          | const String * Time_zone_offset::get_name  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
overridevirtual   | 
  
 
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.
 
 
◆ get_timezone_offset()
  
  
      
        
          | long Time_zone_offset::get_timezone_offset  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inlineoverridevirtual   | 
  
 
Returns the offset set for a Timezone offset. 
This function has to be invoked ONLY when TZ_OFFSET is set. 
Implements Time_zone.
 
 
◆ get_timezone_type()
  
  
      
        
          | tz_type Time_zone_offset::get_timezone_type  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inlineoverridevirtual   | 
  
 
Returns the timezone type set. 
Implements Time_zone.
 
 
◆ gmt_sec_to_TIME()
Converts UTC epoch seconds to time in MYSQL_TIME representation. 
- Parameters
 - 
  
    | [out] | tmp | equivalent time point in MYSQL_TIME representation  | 
    | [in] | t | number of seconds in UNIX epoch  | 
  
   
Implements Time_zone.
 
 
◆ TIME_to_gmt_sec()
  
  
      
        
          | my_time_t Time_zone_offset::TIME_to_gmt_sec  | 
          ( | 
          const MYSQL_TIME *  | 
          t,  | 
         
        
           | 
           | 
          bool *  | 
          in_dst_time_gap  | 
         
        
           | 
          ) | 
           |  const | 
         
       
   | 
  
overridevirtual   | 
  
 
Converts time in time zone defined as a displacement from UTC from MYSQL_TIME representation to its my_time_t representation. 
- Parameters
 - 
  
     | t | MYSQL_TIME structure with local time in broken-down representation. | 
    | [out] | in_dst_time_gap | Pointer to bool which should be set to true if datetime value passed doesn't really exist (i.e. falls into spring time-gap) and is not touched otherwise. It is not really used in this class. | 
  
   
- Returns
 - Corresponding my_time_t value or 0 for invalid datetime values. 
 
Implements Time_zone.
 
 
◆ name
◆ name_buff
  
  
      
        
          | char Time_zone_offset::name_buff[7+16] | 
         
       
   | 
  
private   | 
  
 
 
◆ offset
  
  
      
        
          | long Time_zone_offset::offset | 
         
       
   | 
  
private   | 
  
 
 
The documentation for this class was generated from the following file: