public function Timezone::getOffset in Geo Time Zone 8.2
Same name and namespace in other branches
- 8.3 src/Timezone.php \Drupal\geotimezone\Timezone::getOffset()
- 8 src/Timezone.php \Drupal\geotimezone\Timezone::getOffset()
- 6.2 src/Timezone.php \Drupal\geotimezone\Timezone::getOffset()
- 6 src/Timezone.php \Drupal\geotimezone\Timezone::getOffset()
- 7.2 src/Timezone.php \Drupal\geotimezone\Timezone::getOffset()
- 7 src/Timezone.php \Drupal\geotimezone\Timezone::getOffset()
Get the time zone offset.
Return value
string Time zone offset. NULL if not found.
Overrides TimezoneInterface::getOffset
File
- src/
Timezone.php, line 62 - Contains \Drupal\geotimezone\Timezone.
Class
- Timezone
- Holds the list of time zone identifiers and UTC/GMT offsets.
Namespace
Drupal\geotimezoneCode
public function getOffset() {
return $this->offset;
}