[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/lib/phpexcel/PHPExcel/Shared/ -> TimeZone.php (summary)

PHPExcel Copyright (c) 2006 - 2015 PHPExcel

Copyright: Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)
License: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL
Version: ##VERSION##, ##DATE##
File Size: 144 lines (5 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

PHPExcel_Shared_TimeZone:: (5 methods):
  _validateTimeZone()
  setTimeZone()
  getTimeZone()
  getTimezoneTransitions()
  getTimeZoneAdjustment()


Class: PHPExcel_Shared_TimeZone  - X-Ref

PHPExcel_Shared_TimeZone

_validateTimeZone($timezone)   X-Ref
Validate a Timezone name

param: string        $timezone            Time zone (e.g. 'Europe/London')
return: boolean                        Success or failure

setTimeZone($timezone)   X-Ref
Set the Default Timezone used for date/time conversions

param: string        $timezone            Time zone (e.g. 'Europe/London')
return: boolean                        Success or failure

getTimeZone()   X-Ref
Return the Default Timezone used for date/time conversions

return: string        Timezone (e.g. 'Europe/London')

getTimezoneTransitions($objTimezone, $timestamp)   X-Ref
Return the Timezone transition for the specified timezone and timestamp

param: DateTimeZone         $objTimezone    The timezone for finding the transitions
param: integer                 $timestamp        PHP date/time value for finding the current transition
return: array                The current transition details

getTimeZoneAdjustment($timezone, $timestamp)   X-Ref
Return the Timezone offset used for date/time conversions to/from UST
This requires both the timezone and the calculated date/time to allow for local DST

param: string                 $timezone        The timezone for finding the adjustment to UST
param: integer                 $timestamp        PHP date/time value
return: integer                Number of seconds for timezone adjustment



Generated: Thu Aug 11 10:00:09 2016 Cross-referenced by PHPXref 0.7.1