TimeZone
Overview
Timezone is used to hold timezone info for dates.
Location
- Reference: Island.fx
- Namespace: RemObjects.Elements.System
constructor (declared in Object)
constructor
TimeZone()
init()
TimeZone()
Sub New()
constructor(aID: String; aOffsetToUTC: Int32)
TimeZone(String aID, Int32 aOffsetToUTC)
init(_ aID: String, _ aOffsetToUTC: Int32)
TimeZone(String aID, Int32 aOffsetToUTC)
Sub New(aID As String, aOffsetToUTC As Int32)
Parameters:
- aID:
- aOffsetToUTC:
Equals virtual (declared in Object)
Default constructor.
method Equals(aOther: Object): Boolean
Boolean Equals(Object aOther)
func Equals(_ aOther: Object) -> Boolean
Boolean Equals(Object aOther)
Function Equals(aOther As Object) As Boolean
Parameters:
- aOther: the reference to compare this with.
Finalize protected virtual (declared in Object)
method Finalize
void Finalize()
func Finalize()
void Finalize()
Sub Finalize()
GetHashCode virtual (declared in Object)
Returns a hashcode for this object. Overriden implementations should make sure that the number returned here is constant given the same object.
method GetHashCode: Int32
Int32 GetHashCode()
func GetHashCode() -> Int32
Int32 GetHashCode()
Function GetHashCode() As Int32
GetType (declared in Object)
Returns the actual type of this class
method GetType: Type
Type GetType()
func GetType() -> Type
Type GetType()
Function GetType() As Type
Identifier
Returns the name of this timezone.
property Identifier: String read;
String Identifier { get; }
var Identifier: String { get{} }
String Identifier { __get; }
ReadOnly Property Identifier() As String
Local
Returns the local timezone.
class property Local: not nullable TimeZone read;
class TimeZone! Local { get; }
static var Local: TimeZone { get{} }
class TimeZone Local { __get; }
Shared ReadOnly Property Local() As TimeZone
OffsetToUTC
Returns the offset to UTC.
property OffsetToUTC: Int64 read;
Int64 OffsetToUTC { get; }
var OffsetToUTC: Int64 { get{} }
Int64 OffsetToUTC { __get; }
ReadOnly Property OffsetToUTC() As Int64
ReferenceEquals (declared in Object)
Compares two references for equivalence (even if they have an equals operator)
class method ReferenceEquals(a: Object; b: Object): Boolean
static Boolean ReferenceEquals(Object a, Object b)
static func ReferenceEquals(_ a: Object, _ b: Object) -> Boolean
static Boolean ReferenceEquals(Object a, Object b)
Shared Function ReferenceEquals(a As Object, b As Object) As Boolean
Parameters:
- a: left value
- b: right value
TimeZoneByName
Get a timezone by name.
class property TimeZoneByName[aName: String]: nullable TimeZone read;
class TimeZone? TimeZoneByName[String aName] { get; }
static subscript TimeZoneByName(_ aName: String) -> TimeZone? { get{} }
class TimeZone TimeZoneByName[String aName] { __get; }
Shared ReadOnly Property TimeZoneByName(aName As String) As TimeZone?
TimeZoneNames
Return all typezone names.
class property TimeZoneNames: not nullable IEnumerable<String> read;
class IEnumerable<String>! TimeZoneNames { get; }
static var TimeZoneNames: IEnumerable<String> { get{} }
class IEnumerable<String> TimeZoneNames { __get; }
Shared ReadOnly Property TimeZoneNames() As IEnumerable<String>
ToString virtual (declared in Object)
Gets the string representation of this method.
method ToString: String
String ToString()
func ToString() -> String
String ToString()
Function ToString() As String
Utc
Returns the UTC timezone.
class property Utc: not nullable TimeZone read;
class TimeZone! Utc { get; }
static var Utc: TimeZone { get{} }
class TimeZone Utc { __get; }
Shared ReadOnly Property Utc() As TimeZone
Identifier
Returns the name of this timezone.
property Identifier: String read;
String Identifier { get; }
var Identifier: String { get{} }
String Identifier { __get; }
ReadOnly Property Identifier() As String
OffsetToUTC
Returns the offset to UTC.
property OffsetToUTC: Int64 read;
Int64 OffsetToUTC { get; }
var OffsetToUTC: Int64 { get{} }
Int64 OffsetToUTC { __get; }
ReadOnly Property OffsetToUTC() As Int64
Local
Returns the local timezone.
class property Local: not nullable TimeZone read;
class TimeZone! Local { get; }
static var Local: TimeZone { get{} }
class TimeZone Local { __get; }
Shared ReadOnly Property Local() As TimeZone
TimeZoneByName
Get a timezone by name.
class property TimeZoneByName[aName: String]: nullable TimeZone read;
class TimeZone? TimeZoneByName[String aName] { get; }
static subscript TimeZoneByName(_ aName: String) -> TimeZone? { get{} }
class TimeZone TimeZoneByName[String aName] { __get; }
Shared ReadOnly Property TimeZoneByName(aName As String) As TimeZone?
TimeZoneNames
Return all typezone names.
class property TimeZoneNames: not nullable IEnumerable<String> read;
class IEnumerable<String>! TimeZoneNames { get; }
static var TimeZoneNames: IEnumerable<String> { get{} }
class IEnumerable<String> TimeZoneNames { __get; }
Shared ReadOnly Property TimeZoneNames() As IEnumerable<String>
Utc
Returns the UTC timezone.
class property Utc: not nullable TimeZone read;
class TimeZone! Utc { get; }
static var Utc: TimeZone { get{} }
class TimeZone Utc { __get; }
Shared ReadOnly Property Utc() As TimeZone
ReferenceEquals (declared in Object)
Compares two references for equivalence (even if they have an equals operator)
class method ReferenceEquals(a: Object; b: Object): Boolean
static Boolean ReferenceEquals(Object a, Object b)
static func ReferenceEquals(_ a: Object, _ b: Object) -> Boolean
static Boolean ReferenceEquals(Object a, Object b)
Shared Function ReferenceEquals(a As Object, b As Object) As Boolean
Parameters:
- a: left value
- b: right value
constructor (declared in Object)
constructor
TimeZone()
init()
TimeZone()
Sub New()
constructor(aID: String; aOffsetToUTC: Int32)
TimeZone(String aID, Int32 aOffsetToUTC)
init(_ aID: String, _ aOffsetToUTC: Int32)
TimeZone(String aID, Int32 aOffsetToUTC)
Sub New(aID As String, aOffsetToUTC As Int32)
Parameters:
- aID:
- aOffsetToUTC:
Equals virtual (declared in Object)
Default constructor.
method Equals(aOther: Object): Boolean
Boolean Equals(Object aOther)
func Equals(_ aOther: Object) -> Boolean
Boolean Equals(Object aOther)
Function Equals(aOther As Object) As Boolean
Parameters:
- aOther: the reference to compare this with.
Finalize protected virtual (declared in Object)
method Finalize
void Finalize()
func Finalize()
void Finalize()
Sub Finalize()
GetHashCode virtual (declared in Object)
Returns a hashcode for this object. Overriden implementations should make sure that the number returned here is constant given the same object.
method GetHashCode: Int32
Int32 GetHashCode()
func GetHashCode() -> Int32
Int32 GetHashCode()
Function GetHashCode() As Int32
GetType (declared in Object)
Returns the actual type of this class
method GetType: Type
Type GetType()
func GetType() -> Type
Type GetType()
Function GetType() As Type
ToString virtual (declared in Object)
Gets the string representation of this method.
method ToString: String
String ToString()
func ToString() -> String
String ToString()
Function ToString() As String