public function CountryTimezone::getOffset in Geo Time Zone 6.2
Same name and namespace in other branches
- 8.3 src/CountryTimezone.php \Drupal\geotimezone\CountryTimezone::getOffset()
- 8.2 src/CountryTimezone.php \Drupal\geotimezone\CountryTimezone::getOffset()
- 7.2 src/CountryTimezone.php \Drupal\geotimezone\CountryTimezone::getOffset()
Get the time zone offset.
Return value
string Time zone offset. NULL if not found.
Overrides TimezoneInterface::getOffset
File
- src/
CountryTimezone.php, line 74 - Contains \Drupal\geotimezone\CountryTimezone.
Class
- CountryTimezone
- Holds the list of time zone based on country code.
Namespace
Drupal\geotimezoneCode
public function getOffset() {
return $this->offset;
}