Service for setting cookies like Typo3 does extension=php_intl.dll.
- Version
- $Id:$
@license http://opensource.org/licenses/gpl-license.php GNU protected License, version 2 
Definition at line 29 of file TimezoneService.php.
◆ getCurrentTimezone()
Get all timezones.
- Returns
- DateTimeZone Gives back the current DateTimeZone object 
Definition at line 119 of file TimezoneService.php.
 
 
◆ getCurrentTimezoneAbbreviation()
      
        
          | getCurrentTimezoneAbbreviation | ( |  | ) |  | 
      
 
Get all timezones.
- Returns
- string Gives back the current DateTimeZone object 
- Exceptions
- 
  
  
Definition at line 145 of file TimezoneService.php.
 
 
◆ getIcuTimezoneString()
Get the ICU representation of the timezone e.g. GMT+0200.
- Returns
- string 
- Exceptions
- 
  
  
Definition at line 210 of file TimezoneService.php.
 
 
◆ getIntlDateFormatter()
Get the IntlDateFormatter.
- Returns
- IntlDateFormatter Gives back the current IntlDateFormatter object 
- Exceptions
- 
  
  
Definition at line 130 of file TimezoneService.php.
 
 
◆ getOffsetInSeconds()
Get the timezone offset in relation to GMT.
- Exceptions
- 
  
  
- Returns
- int 
Definition at line 198 of file TimezoneService.php.
 
 
◆ getTimezoneArray()
Get all timezones.
- Exceptions
- 
  
  
- Returns
- array Gives back a list of all timezones 
Definition at line 161 of file TimezoneService.php.
 
 
◆ initializeObject()
◆ injectExtensionHelperService()
◆ isDst()
Check if daylight saving time is active.
- Parameters
- 
  
  
- Returns
- bool 
- Exceptions
- 
  
  
Definition at line 232 of file TimezoneService.php.
 
 
◆ setCurrentTimezone()
      
        
          | setCurrentTimezone | ( |  | $timezone = null | ) |  | 
      
 
Sets the new timezone identifier.
- Parameters
- 
  
    | string | DateTimeZone | $timezone |  |  
 
Definition at line 98 of file TimezoneService.php.
 
 
◆ setTimezoneArray()
◆ $currentTimezone
◆ $extensionHelperService
◆ $intlDateFormatter
◆ $locale
◆ $timezoneArray
The documentation for this class was generated from the following file: