HaxeAPI
  • Version 4.3.7
    • 3.4.7
    • 4.0.5
    • 4.1.3
    • 4.2.5
    • 4.3.7
    • Development
  • Download Haxe
  • Learn Haxe
    • Introduction
    • Manual
    • Code Cookbook
    • API Documentation
    • Videos
    • Try Haxe online
    • Haxelib
  • Connect
    • Github
    • Bug reports
    • Stack Overflow
    • Forums
    • Discord
    • Gitter
    • Blog
    • Facebook
    • #haxe
    • @haxelang
    • @haxe_org
    • Contact
View source

class IntlTimeZone

package php

@:native("IntlTimeZone")

Available on php

See also:

  • https://www.php.net/manual/en/class.intltimezone.php

Static variables

@:phpClassConststaticfinalread onlyDISPLAY_LONG:Int

@:phpClassConststaticfinalread onlyDISPLAY_SHORT:Int

Static methods

staticcountEquivalentIDs(zoneId:String):Int

staticcreateDefault():IntlTimeZone

staticcreateEnumeration(countryOrRawOffset:Any):IntlIterator<Int, String>

staticcreateTimeZone(zoneId:String):IntlTimeZone

staticcreateTimeZoneIDEnumeration(zoneType:Int, ?region:String, ?rawOffset:Int):EitherType<IntlIterator<Int, String>, Bool>

staticfromDateTimeZone(zoneId:DateTimeZone):IntlTimeZone

staticgetCanonicalID(zoneId:String, isSystemID:Ref<Bool>):String

staticgetEquivalentID(zoneId:String, index:Int):String

staticgetGMT():IntlTimeZone

staticgetIDForWindowsID(timezone:String, ?region:String):EitherType<String, Bool>

staticgetRegion(zoneId:String):EitherType<String, Bool>

staticgetTZDataVersion():String

staticgetUnknown():Null<IntlTimeZone>

staticgetWindowsID(timezone:String):EitherType<String, Bool>

Methods

getDSTSavings():Int

getDisplayName(?isDaylight:Bool, ?style:Int, ?locale:String):String

getErrorCode():Int

getErrorMessage():String

getID():String

getOffset(date:Float, local:Bool, rawOffset:Ref<Int>, dstOffset:Ref<Int>):Bool

getRawOffset():Int

hasSameRules(otherTimeZone:IntlTimeZone):Bool

toDateTimeZone():DateTimeZone

useDaylightTime():Bool

This documentation is generated for version 4.3.7

© 2025  Haxe Foundation | Contribute to Haxe