You are here

public function RegionTimezone::getOffset in Geo Time Zone 8.3

Same name and namespace in other branches
  1. 8.2 src/RegionTimezone.php \Drupal\geotimezone\RegionTimezone::getOffset()
  2. 6.2 src/RegionTimezone.php \Drupal\geotimezone\RegionTimezone::getOffset()
  3. 7.2 src/RegionTimezone.php \Drupal\geotimezone\RegionTimezone::getOffset()

Get the time zone offset.

Return value

string Time zone offset. NULL if not found.

Overrides TimezoneInterface::getOffset

File

src/RegionTimezone.php, line 87
Contains \Drupal\geotimezone\RegionTimezone.

Class

RegionTimezone
Holds the list of time zone based on region code and region name.

Namespace

Drupal\geotimezone

Code

public function getOffset() {
  return $this->offset;
}