Overview

Packages

  • JAMA
  • None
  • PHP
  • PHPExcel
    • CachedObjectStorage
    • Calculation
    • Cell
    • Chart
      • Renderer
    • Reader
      • Excel2007
      • Excel5
    • RichText
    • Settings
    • Shared
      • Escher
      • OLE
      • Trend
      • ZipArchive
    • Style
    • Worksheet
      • Drawing
    • Writer
      • 2007
      • CSV
      • Excel2007
      • Excel5
      • HTML
      • PDF

Classes

  • PHPExcel_Shared_CodePage
  • PHPExcel_Shared_Date
  • PHPExcel_Shared_Drawing
  • PHPExcel_Shared_Excel5
  • PHPExcel_Shared_File
  • PHPExcel_Shared_Font
  • PHPExcel_Shared_OLERead
  • PHPExcel_Shared_PasswordHasher
  • PHPExcel_Shared_String
  • PHPExcel_Shared_TimeZone
  • PHPExcel_Shared_XMLWriter
  • PHPExcel_Shared_ZipStreamWrapper
  • Overview
  • Package
  • Class
  • Tree
  • Deprecated
  • Todo
  • Download

Class PHPExcel_Shared_TimeZone

PHPExcel_Shared_TimeZone

Package: PHPExcel\Shared
Category: PHPExcel
Copyright: Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel)
License: LGPL
Located at controlador/include/phpexcel/PHPExcel/Shared/TimeZone.php
Methods summary
public static boolean
# _validateTimeZone( string $timezone )

Validate a Timezone name

Validate a Timezone name

Parameters

$timezone
Time zone (e.g. 'Europe/London')

Returns

boolean
Success or failure
public static boolean
# setTimeZone( string $timezone )

Set the Default Timezone used for date/time conversions

Set the Default Timezone used for date/time conversions

Parameters

$timezone
Time zone (e.g. 'Europe/London')

Returns

boolean
Success or failure
public static string
# getTimeZone( )

Return the Default Timezone used for date/time conversions

Return the Default Timezone used for date/time conversions

Returns

string
Timezone (e.g. 'Europe/London')
private static array
# _getTimezoneTransitions( DateTimeZone $objTimezone, integer $timestamp )

Return the Timezone transition for the specified timezone and timestamp

Return the Timezone transition for the specified timezone and timestamp

Parameters

$objTimezone
The timezone for finding the transitions
$timestamp
PHP date/time value for finding the current transition

Returns

array
The current transition details
public static integer
# getTimeZoneAdjustment( string $timezone, integer $timestamp )

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

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

Parameters

$timezone
The timezone for finding the adjustment to UST
$timestamp
PHP date/time value

Returns

integer
Number of seconds for timezone adjustment

Throws

PHPExcel_Exception
Properties summary
protected static string $_timezone
# 'UTC'
Autene API documentation generated by ApiGen