XsDateTime
Overview
The XsDateTime class represents the DateTime value with given timezone offset.
The XsDateTime class is used in the serializers, for example, in the SoapSerializer class to read and write the XsDateTime values to the specified serialize object.
Location
- Reference: RemObjects.SDK.dll
- Namespace: RemObjects.SDK.Types
- Ancestry: ComplexType | XsDateTime
constructor
constructor
XsDateTime()
Sub New()
constructor (DateTime)
constructor(dateTime: DateTime)
XsDateTime(DateTime dateTime)
Sub New(dateTime As DateTime)
Parameters:
- dateTime:
constructor (DateTime, Int32)
constructor(dateTime: DateTime; timeZoneOffset: Int32)
XsDateTime(DateTime dateTime, Int32 timeZoneOffset)
Sub New(dateTime As DateTime, timeZoneOffset As Int32)
Parameters:
- dateTime:
- timeZoneOffset:
DateTime
Holds the specified datetime value.
property DateTime: DateTime read write;
DateTime DateTime { get; set; }
Property DateTime() As DateTime
Equals
method Equals(obj: Object): Boolean
Boolean Equals(Object obj)
Function Equals(obj As Object) As Boolean
Parameters:
- obj:
GetAttributeCount (declared in ComplexType)
method GetAttributeCount: Int32
Int32 GetAttributeCount()
Function GetAttributeCount() As Int32
GetAttributeName (declared in ComplexType)
method GetAttributeName(index: Int32): String
String GetAttributeName(Int32 index)
Function GetAttributeName(index As Int32) As String
Parameters:
- index:
GetAttributeValue (declared in ComplexType)
method GetAttributeValue(index: Int32): String
String GetAttributeValue(Int32 index)
Function GetAttributeValue(index As Int32) As String
Parameters:
- index:
GetHashCode
method GetHashCode: Int32
Int32 GetHashCode()
Function GetHashCode() As Int32
LocalOffset
class method LocalOffset: Int32
static Int32 LocalOffset()
Shared Function LocalOffset() As Int32
PropertyChanged (declared in ComplexType)
event PropertyChanged: PropertyChangedEventHandler;
delegate PropertyChangedEventHandler PropertyChanged()
Event PropertyChanged As PropertyChangedEventHandler
ReadComplex
Reads the properties DateTime and TimeZoneOffset from the input serialize object ASerializer.
method ReadComplex(serializer: Serializer)
void ReadComplex(Serializer serializer)
Sub ReadComplex(serializer As Serializer)
Parameters:
- serializer:
TimeZoneOffset
Holds the specified timezone offset.
property TimeZoneOffset: Int32 read write;
Int32 TimeZoneOffset { get; set; }
Property TimeZoneOffset() As Int32
ToLocal
method ToLocal: DateTime
DateTime ToLocal()
Function ToLocal() As DateTime
ToUtc
method ToUtc: DateTime
DateTime ToUtc()
Function ToUtc() As DateTime
TriggerPropertyChanged protected (declared in ComplexType)
method TriggerPropertyChanged(propertyName: String)
void TriggerPropertyChanged(String propertyName)
Sub TriggerPropertyChanged(propertyName As String)
Parameters:
- propertyName:
UseTimeZone
property UseTimeZone: Boolean read write;
Boolean UseTimeZone { get; set; }
Property UseTimeZone() As Boolean
WriteComplex
Writes the property values of DateTime and TimeZoneOffset to the output serialize object aSerializer.
method WriteComplex(serializer: Serializer)
void WriteComplex(Serializer serializer)
Sub WriteComplex(serializer As Serializer)
Parameters:
- serializer:
DateTime
Holds the specified datetime value.
property DateTime: DateTime read write;
DateTime DateTime { get; set; }
Property DateTime() As DateTime
TimeZoneOffset
Holds the specified timezone offset.
property TimeZoneOffset: Int32 read write;
Int32 TimeZoneOffset { get; set; }
Property TimeZoneOffset() As Int32
UseTimeZone
property UseTimeZone: Boolean read write;
Boolean UseTimeZone { get; set; }
Property UseTimeZone() As Boolean
LocalOffset
class method LocalOffset: Int32
static Int32 LocalOffset()
Shared Function LocalOffset() As Int32
constructor
constructor
XsDateTime()
Sub New()
constructor (DateTime)
constructor(dateTime: DateTime)
XsDateTime(DateTime dateTime)
Sub New(dateTime As DateTime)
Parameters:
- dateTime:
constructor (DateTime, Int32)
constructor(dateTime: DateTime; timeZoneOffset: Int32)
XsDateTime(DateTime dateTime, Int32 timeZoneOffset)
Sub New(dateTime As DateTime, timeZoneOffset As Int32)
Parameters:
- dateTime:
- timeZoneOffset:
Equals
method Equals(obj: Object): Boolean
Boolean Equals(Object obj)
Function Equals(obj As Object) As Boolean
Parameters:
- obj:
GetAttributeCount (declared in ComplexType)
method GetAttributeCount: Int32
Int32 GetAttributeCount()
Function GetAttributeCount() As Int32
GetAttributeName (declared in ComplexType)
method GetAttributeName(index: Int32): String
String GetAttributeName(Int32 index)
Function GetAttributeName(index As Int32) As String
Parameters:
- index:
GetAttributeValue (declared in ComplexType)
method GetAttributeValue(index: Int32): String
String GetAttributeValue(Int32 index)
Function GetAttributeValue(index As Int32) As String
Parameters:
- index:
GetHashCode
method GetHashCode: Int32
Int32 GetHashCode()
Function GetHashCode() As Int32
ReadComplex
Reads the properties DateTime and TimeZoneOffset from the input serialize object ASerializer.
method ReadComplex(serializer: Serializer)
void ReadComplex(Serializer serializer)
Sub ReadComplex(serializer As Serializer)
Parameters:
- serializer:
ToLocal
method ToLocal: DateTime
DateTime ToLocal()
Function ToLocal() As DateTime
ToUtc
method ToUtc: DateTime
DateTime ToUtc()
Function ToUtc() As DateTime
TriggerPropertyChanged protected (declared in ComplexType)
method TriggerPropertyChanged(propertyName: String)
void TriggerPropertyChanged(String propertyName)
Sub TriggerPropertyChanged(propertyName As String)
Parameters:
- propertyName:
WriteComplex
Writes the property values of DateTime and TimeZoneOffset to the output serialize object aSerializer.
method WriteComplex(serializer: Serializer)
void WriteComplex(Serializer serializer)
Sub WriteComplex(serializer As Serializer)
Parameters:
- serializer:
PropertyChanged (declared in ComplexType)
event PropertyChanged: PropertyChangedEventHandler;
delegate PropertyChangedEventHandler PropertyChanged()
Event PropertyChanged As PropertyChangedEventHandler
- .NET
- Delphi