C# Class DateTimeZone, peachpie

Representation of time zone.
Show file Open project: iolevel/peachpie Class Usage Examples

Protected Properties

Property Type Description
_ctx Context

Public Methods

Method Description
DateTimeZone ( Context ctx, string timezone_name ) : Pchp.Core
__construct ( string timezone_name ) : void
getLocation ( ) : PhpArray
getName ( ) : string
getOffset ( global, datetime ) : int
getTransitions ( ) : PhpArray
getTransitions ( int timestamp_begin, int timestamp_end ) : PhpArray
listAbbreviations ( ) : PhpArray
listIdentifiers ( Context context, int what = DateTimeZone.ALL, string country = null ) : PhpArray

Private Methods

Method Description
DateTimeZone ( Context ctx ) : Pchp.Core
DateTimeZone ( Context ctx, TimeZoneInfo resolvedTimeZone ) : Pchp.Core

Method Details

DateTimeZone() public method

public DateTimeZone ( Context ctx, string timezone_name ) : Pchp.Core
ctx Context
timezone_name string
return Pchp.Core

__construct() public method

public __construct ( string timezone_name ) : void
timezone_name string
return void

getLocation() public method

public getLocation ( ) : PhpArray
return Pchp.Core.PhpArray

getName() public method

public getName ( ) : string
return string

getOffset() public method

public getOffset ( global, datetime ) : int
datetime global,
return int

getTransitions() public method

public getTransitions ( ) : PhpArray
return Pchp.Core.PhpArray

getTransitions() public method

public getTransitions ( int timestamp_begin, int timestamp_end ) : PhpArray
timestamp_begin int
timestamp_end int
return Pchp.Core.PhpArray

listAbbreviations() public method

public listAbbreviations ( ) : PhpArray
return Pchp.Core.PhpArray

listIdentifiers() public static method

public static listIdentifiers ( Context context, int what = DateTimeZone.ALL, string country = null ) : PhpArray
context Context
what int
country string
return Pchp.Core.PhpArray

Property Details

_ctx protected property

protected Context _ctx
return Context