public function TimezoneInterface::getOffset in Geo Time Zone 8.2
Same name and namespace in other branches
- 8.3 src/TimezoneInterface.php \Drupal\geotimezone\TimezoneInterface::getOffset()
- 6.2 src/TimezoneInterface.php \Drupal\geotimezone\TimezoneInterface::getOffset()
- 7.2 src/TimezoneInterface.php \Drupal\geotimezone\TimezoneInterface::getOffset()
Get the time zone offset.
Return value
string Time zone offset. NULL if not found.
4 methods override TimezoneInterface::getOffset()
- CountryTimezone::getOffset in src/
CountryTimezone.php - Get the time zone offset.
- GeoTimezone::getOffset in src/
GeoTimezone.php - Get the time zone offset.
- RegionTimezone::getOffset in src/
RegionTimezone.php - Get the time zone offset.
- Timezone::getOffset in src/
Timezone.php - Get the time zone offset.
File
- src/
TimezoneInterface.php, line 30 - Contains \Drupal\geotimezone\TimezoneInterface.
Class
- TimezoneInterface
- Provides an interface for different means to get time zone.
Namespace
Drupal\geotimezoneCode
public function getOffset();