interface TimezoneInterface in Geo Time Zone 8.2
Same name and namespace in other branches
- 8.3 src/TimezoneInterface.php \Drupal\geotimezone\TimezoneInterface
- 6.2 src/TimezoneInterface.php \Drupal\geotimezone\TimezoneInterface
- 7.2 src/TimezoneInterface.php \Drupal\geotimezone\TimezoneInterface
Provides an interface for different means to get time zone.
@package Drupal\geotimezone
Hierarchy
- interface \Drupal\geotimezone\TimezoneInterface
Expanded class hierarchy of TimezoneInterface
All classes that implement TimezoneInterface
File
- src/
TimezoneInterface.php, line 15 - Contains \Drupal\geotimezone\TimezoneInterface.
Namespace
Drupal\geotimezoneView source
interface TimezoneInterface {
/**
* Get the time zone identifier.
*
* @return string
* Time zone identifier. NULL if not found.
*/
public function getIdentifier();
/**
* Get the time zone offset.
*
* @return string
* Time zone offset. NULL if not found.
*/
public function getOffset();
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
TimezoneInterface:: |
public | function | Get the time zone identifier. | 4 |
TimezoneInterface:: |
public | function | Get the time zone offset. | 4 |