You are here

public function TimezoneInterface::getOffset in Geo Time Zone 8.3

Same name and namespace in other branches
  1. 8.2 src/TimezoneInterface.php \Drupal\geotimezone\TimezoneInterface::getOffset()
  2. 6.2 src/TimezoneInterface.php \Drupal\geotimezone\TimezoneInterface::getOffset()
  3. 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\geotimezone

Code

public function getOffset();