DateTime

Overview

Location

 

constructor

 

constructor()

 

DateTime()

 

init()

 

DateTime()

constructor (Int32, Int32, Int32)

 

constructor(aYear: Int32; aMonth: Int32; aDay: Int32)

 

DateTime(Int32 aYear, Int32 aMonth, Int32 aDay)

 

init(_ aYear: Int32, _ aMonth: Int32, _ aDay: Int32)

 

DateTime(Int32 aYear, Int32 aMonth, Int32 aDay)

Parameters:

  • aYear:
  • aMonth:
  • aDay:

constructor (Int32, Int32, Int32, Int32, Int32)

 

constructor(aYear: Int32; aMonth: Int32; aDay: Int32; anHour: Int32; aMinute: Int32)

 

DateTime(Int32 aYear, Int32 aMonth, Int32 aDay, Int32 anHour, Int32 aMinute)

 

init(_ aYear: Int32, _ aMonth: Int32, _ aDay: Int32, _ anHour: Int32, _ aMinute: Int32)

 

DateTime(Int32 aYear, Int32 aMonth, Int32 aDay, Int32 anHour, Int32 aMinute)

Parameters:

  • aYear:
  • aMonth:
  • aDay:
  • anHour:
  • aMinute:

constructor (Int32, Int32, Int32, Int32, Int32, Int32)

 

constructor(aYear: Int32; aMonth: Int32; aDay: Int32; anHour: Int32; aMinute: Int32; aSecond: Int32)

 

DateTime(Int32 aYear, Int32 aMonth, Int32 aDay, Int32 anHour, Int32 aMinute, Int32 aSecond)

 

init(_ aYear: Int32, _ aMonth: Int32, _ aDay: Int32, _ anHour: Int32, _ aMinute: Int32, _ aSecond: Int32)

 

DateTime(Int32 aYear, Int32 aMonth, Int32 aDay, Int32 anHour, Int32 aMinute, Int32 aSecond)

Parameters:

  • aYear:
  • aMonth:
  • aDay:
  • anHour:
  • aMinute:
  • aSecond:

constructor (Int32, Int32, Int32, Int32, Int32, Int32, Int32)

 

constructor(aYear: Int32; aMonth: Int32; aDay: Int32; anHour: Int32; aMinute: Int32; aSecond: Int32; aMillisecond: Int32)

 

DateTime(Int32 aYear, Int32 aMonth, Int32 aDay, Int32 anHour, Int32 aMinute, Int32 aSecond, Int32 aMillisecond)

 

init(_ aYear: Int32, _ aMonth: Int32, _ aDay: Int32, _ anHour: Int32, _ aMinute: Int32, _ aSecond: Int32, _ aMillisecond: Int32)

 

DateTime(Int32 aYear, Int32 aMonth, Int32 aDay, Int32 anHour, Int32 aMinute, Int32 aSecond, Int32 aMillisecond)

Parameters:

  • aYear:
  • aMonth:
  • aDay:
  • anHour:
  • aMinute:
  • aSecond:
  • aMillisecond:

constructor (Int64)

 

constructor(aTicks: Int64)

 

DateTime(Int64 aTicks)

 

init(_ aTicks: Int64)

 

DateTime(Int64 aTicks)

Parameters:

  • aTicks:

AddDays

 

method AddDays(Value: Int32): DateTime

 

DateTime AddDays(Int32 Value)

 

func AddDays(_ Value: Int32) -> DateTime

 

DateTime AddDays(Int32 Value)

Parameters:

  • Value:

AddHours

 

method AddHours(Value: Int32): DateTime

 

DateTime AddHours(Int32 Value)

 

func AddHours(_ Value: Int32) -> DateTime

 

DateTime AddHours(Int32 Value)

Parameters:

  • Value:

AddMilliseconds

 

method AddMilliseconds(Value: Int32): DateTime

 

DateTime AddMilliseconds(Int32 Value)

 

func AddMilliseconds(_ Value: Int32) -> DateTime

 

DateTime AddMilliseconds(Int32 Value)

Parameters:

  • Value:

AddMinutes

 

method AddMinutes(Value: Int32): DateTime

 

DateTime AddMinutes(Int32 Value)

 

func AddMinutes(_ Value: Int32) -> DateTime

 

DateTime AddMinutes(Int32 Value)

Parameters:

  • Value:

AddMonths

 

method AddMonths(Value: Int32): DateTime

 

DateTime AddMonths(Int32 Value)

 

func AddMonths(_ Value: Int32) -> DateTime

 

DateTime AddMonths(Int32 Value)

Parameters:

  • Value:

AddSeconds

 

method AddSeconds(Value: Int32): DateTime

 

DateTime AddSeconds(Int32 Value)

 

func AddSeconds(_ Value: Int32) -> DateTime

 

DateTime AddSeconds(Int32 Value)

Parameters:

  • Value:

AddTicks

 

method AddTicks(Value: Int64): DateTime

 

DateTime AddTicks(Int64 Value)

 

func AddTicks(_ Value: Int64) -> DateTime

 

DateTime AddTicks(Int64 Value)

Parameters:

  • Value:

AddYears

 

method AddYears(Value: Int32): DateTime

 

DateTime AddYears(Int32 Value)

 

func AddYears(_ Value: Int32) -> DateTime

 

DateTime AddYears(Int32 Value)

Parameters:

  • Value:

CompareTo

 

method CompareTo(Value: DateTime): Int32

 

Int32 CompareTo(DateTime Value)

 

func CompareTo(_ Value: DateTime) -> Int32

 

Int32 CompareTo(DateTime Value)

Parameters:

  • Value:

Date

 

property Date: DateTime read

 

DateTime Date { get; }

 

var Date: DateTime { get{} }

 

DateTime Date { __get; }

Day

 

property Day: Int32 read

 

Int32 Day { get; }

 

var Day: Int32 { get{} }

 

Int32 Day { __get; }

DayOfWeek

 

property DayOfWeek: Int32 read

 

Int32 DayOfWeek { get; }

 

var DayOfWeek: Int32 { get{} }

 

Int32 DayOfWeek { __get; }

DaysPer100Years

 

const DaysPer100Years: Int32 = 36524

 

const Int32 DaysPer100Years = 36524

 

static let DaysPer100Years: Int32 = 36524

 

static final Int32 DaysPer100Years = 36524

DaysPer400Years

 

const DaysPer400Years: Int32 = 146097

 

const Int32 DaysPer400Years = 146097

 

static let DaysPer400Years: Int32 = 146097

 

static final Int32 DaysPer400Years = 146097

DaysPer4Years

 

const DaysPer4Years: Int32 = 1461

 

const Int32 DaysPer4Years = 1461

 

static let DaysPer4Years: Int32 = 1461

 

static final Int32 DaysPer4Years = 1461

DaysPerYear

 

const DaysPerYear: Int32 = 365

 

const Int32 DaysPerYear = 365

 

static let DaysPerYear: Int32 = 365

 

static final Int32 DaysPerYear = 365

DaysTo10000

 

const DaysTo10000: Int32 = 3652059

 

const Int32 DaysTo10000 = 3652059

 

static let DaysTo10000: Int32 = 3652059

 

static final Int32 DaysTo10000 = 3652059

DaysTo1601

 

const DaysTo1601: Int32 = 584388

 

const Int32 DaysTo1601 = 584388

 

static let DaysTo1601: Int32 = 584388

 

static final Int32 DaysTo1601 = 584388

DaysTo1899

 

const DaysTo1899: Int32 = 693593

 

const Int32 DaysTo1899 = 693593

 

static let DaysTo1899: Int32 = 693593

 

static final Int32 DaysTo1899 = 693593

DaysTo1970

 

const DaysTo1970: Int32 = 719162

 

const Int32 DaysTo1970 = 719162

 

static let DaysTo1970: Int32 = 719162

 

static final Int32 DaysTo1970 = 719162

DoubleDateOffset

 

const DoubleDateOffset: Int64 = 599264352000000000

 

const Int64 DoubleDateOffset = 599264352000000000

 

static let DoubleDateOffset: Int64 = 599264352000000000

 

static final Int64 DoubleDateOffset = 599264352000000000

Equals  override virtual

 

method Equals(obj: Object): Boolean

 

Boolean Equals(Object obj)

 

func Equals(_ obj: Object) -> Boolean

 

Boolean Equals(Object obj)

Parameters:

  • obj:

FileTimeOffset

 

const FileTimeOffset: Int64 = 504911232000000000

 

const Int64 FileTimeOffset = 504911232000000000

 

static let FileTimeOffset: Int64 = 504911232000000000

 

static final Int64 FileTimeOffset = 504911232000000000

Finalize  protected virtual    (declared in Object)

Finalizer implementation. If not overriden it's not called at all, the runtime checks if there is an override before calling a finalizer.

 

method Finalize()

 

void Finalize()

 

func Finalize()

 

void Finalize()

FromFileTime Windows

 

class method FromFileTime(aFileTime: FILETIME): DateTime

 

static DateTime FromFileTime(FILETIME aFileTime)

 

static func FromFileTime(_ aFileTime: FILETIME) -> DateTime

 

static DateTime FromFileTime(FILETIME aFileTime)

Parameters:

  • aFileTime:

FromSystemTime Windows

 

class method FromSystemTime(aFileTime: SYSTEMTIME): DateTime

 

static DateTime FromSystemTime(SYSTEMTIME aFileTime)

 

static func FromSystemTime(_ aFileTime: SYSTEMTIME) -> DateTime

 

static DateTime FromSystemTime(SYSTEMTIME aFileTime)

Parameters:

  • aFileTime:

FromUnixTime Android, iOS, iOS Simulator, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator

 

class method FromUnixTime(aStruct: __struct_timespec): DateTime

 

static DateTime FromUnixTime(__struct_timespec aStruct)

 

static func FromUnixTime(_ aStruct: __struct_timespec) -> DateTime

 

static DateTime FromUnixTime(__struct_timespec aStruct)

Parameters:

  • aStruct:

FromUnixTimeUTC Android, iOS, iOS Simulator, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator

 

class method FromUnixTimeUTC(aStruct: __struct_timespec): DateTime

 

static DateTime FromUnixTimeUTC(__struct_timespec aStruct)

 

static func FromUnixTimeUTC(_ aStruct: __struct_timespec) -> DateTime

 

static DateTime FromUnixTimeUTC(__struct_timespec aStruct)

Parameters:

  • aStruct:

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()

GetType    (declared in Object)

Returns the actual type of this class

 

method GetType(): Type

 

Type GetType()

 

func GetType() -> Type

 

Type GetType()

Hour

 

property Hour: Int32 read

 

Int32 Hour { get; }

 

var Hour: Int32 { get{} }

 

Int32 Hour { __get; }

isLeapYear

 

class method isLeapYear(Value: Int32): Boolean

 

static Boolean isLeapYear(Int32 Value)

 

static func isLeapYear(_ Value: Int32) -> Boolean

 

static Boolean isLeapYear(Int32 Value)

Parameters:

  • Value:

MaxMillis

 

const MaxMillis: Int64 = 315360000000000

 

const Int64 MaxMillis = 315360000000000

 

static let MaxMillis: Int64 = 315360000000000

 

static final Int64 MaxMillis = 315360000000000

MaxYear

 

const MaxYear: Int32 = 10000

 

const Int32 MaxYear = 10000

 

static let MaxYear: Int32 = 10000

 

static final Int32 MaxYear = 10000

Milliseconds

 

property Milliseconds: Int32 read

 

Int32 Milliseconds { get; }

 

var Milliseconds: Int32 { get{} }

 

Int32 Milliseconds { __get; }

MillisPerDay

 

const MillisPerDay: Int32 = 86400000

 

const Int32 MillisPerDay = 86400000

 

static let MillisPerDay: Int32 = 86400000

 

static final Int32 MillisPerDay = 86400000

MillisPerHour

 

const MillisPerHour: Int32 = 3600000

 

const Int32 MillisPerHour = 3600000

 

static let MillisPerHour: Int32 = 3600000

 

static final Int32 MillisPerHour = 3600000

MillisPerMinute

 

const MillisPerMinute: Int32 = 60000

 

const Int32 MillisPerMinute = 60000

 

static let MillisPerMinute: Int32 = 60000

 

static final Int32 MillisPerMinute = 60000

MillisPerSecond

 

const MillisPerSecond: Int32 = 1000

 

const Int32 MillisPerSecond = 1000

 

static let MillisPerSecond: Int32 = 1000

 

static final Int32 MillisPerSecond = 1000

Minute

 

property Minute: Int32 read

 

Int32 Minute { get; }

 

var Minute: Int32 { get{} }

 

Int32 Minute { __get; }

Month

 

property Month: Int32 read

 

Int32 Month { get; }

 

var Month: Int32 { get{} }

 

Int32 Month { __get; }

Now

 

class property Now: DateTime read

 

class DateTime Now { get; }

 

static var Now: DateTime { get{} }

 

class DateTime Now { __get; }

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)

Parameters:

  • a: left value
  • b: right value

Second

 

property Second: Int32 read

 

Int32 Second { get; }

 

var Second: Int32 { get{} }

 

Int32 Second { __get; }

Ticks

 

property Ticks: Int64 read

 

Int64 Ticks { get; }

 

var Ticks: Int64 { get{} }

 

Int64 Ticks { __get; }

TicksPerDay

 

const TicksPerDay: Int64 = 864000000000

 

const Int64 TicksPerDay = 864000000000

 

static let TicksPerDay: Int64 = 864000000000

 

static final Int64 TicksPerDay = 864000000000

TicksPerHour

 

const TicksPerHour: Int64 = 36000000000

 

const Int64 TicksPerHour = 36000000000

 

static let TicksPerHour: Int64 = 36000000000

 

static final Int64 TicksPerHour = 36000000000

TicksPerMillisecond

 

const TicksPerMillisecond: Int64 = 10000

 

const Int64 TicksPerMillisecond = 10000

 

static let TicksPerMillisecond: Int64 = 10000

 

static final Int64 TicksPerMillisecond = 10000

TicksPerMinute

 

const TicksPerMinute: Int64 = 600000000

 

const Int64 TicksPerMinute = 600000000

 

static let TicksPerMinute: Int64 = 600000000

 

static final Int64 TicksPerMinute = 600000000

TicksPerSecond

 

const TicksPerSecond: Int64 = 10000000

 

const Int64 TicksPerSecond = 10000000

 

static let TicksPerSecond: Int64 = 10000000

 

static final Int64 TicksPerSecond = 10000000

Today

 

class property Today: DateTime read

 

class DateTime Today { get; }

 

static var Today: DateTime { get{} }

 

class DateTime Today { __get; }

ToString  override virtual

 

method ToString(): String

 

String ToString()

 

func ToString() -> String

 

String ToString()

ToSystemTime Windows

 

method ToSystemTime(): SYSTEMTIME

 

SYSTEMTIME ToSystemTime()

 

func ToSystemTime() -> SYSTEMTIME

 

SYSTEMTIME ToSystemTime()

ToSystemTime (DateTime): SYSTEMTIME Windows

 

class method ToSystemTime(aDateTime: DateTime): SYSTEMTIME

 

static SYSTEMTIME ToSystemTime(DateTime aDateTime)

 

static func ToSystemTime(_ aDateTime: DateTime) -> SYSTEMTIME

 

static SYSTEMTIME ToSystemTime(DateTime aDateTime)

Parameters:

  • aDateTime:

UnixDateOffset

 

const UnixDateOffset: Int64 = 621356832000000000

 

const Int64 UnixDateOffset = 621356832000000000

 

static let UnixDateOffset: Int64 = 621356832000000000

 

static final Int64 UnixDateOffset = 621356832000000000

UtcNow

 

class property UtcNow: DateTime read

 

class DateTime UtcNow { get; }

 

static var UtcNow: DateTime { get{} }

 

class DateTime UtcNow { __get; }

Year

 

property Year: Int32 read

 

Int32 Year { get; }

 

var Year: Int32 { get{} }

 

Int32 Year { __get; }

 

DaysPer100Years

 

const DaysPer100Years: Int32 = 36524

 

const Int32 DaysPer100Years = 36524

 

static let DaysPer100Years: Int32 = 36524

 

static final Int32 DaysPer100Years = 36524

DaysPer400Years

 

const DaysPer400Years: Int32 = 146097

 

const Int32 DaysPer400Years = 146097

 

static let DaysPer400Years: Int32 = 146097

 

static final Int32 DaysPer400Years = 146097

DaysPer4Years

 

const DaysPer4Years: Int32 = 1461

 

const Int32 DaysPer4Years = 1461

 

static let DaysPer4Years: Int32 = 1461

 

static final Int32 DaysPer4Years = 1461

DaysPerYear

 

const DaysPerYear: Int32 = 365

 

const Int32 DaysPerYear = 365

 

static let DaysPerYear: Int32 = 365

 

static final Int32 DaysPerYear = 365

DaysTo10000

 

const DaysTo10000: Int32 = 3652059

 

const Int32 DaysTo10000 = 3652059

 

static let DaysTo10000: Int32 = 3652059

 

static final Int32 DaysTo10000 = 3652059

DaysTo1601

 

const DaysTo1601: Int32 = 584388

 

const Int32 DaysTo1601 = 584388

 

static let DaysTo1601: Int32 = 584388

 

static final Int32 DaysTo1601 = 584388

DaysTo1899

 

const DaysTo1899: Int32 = 693593

 

const Int32 DaysTo1899 = 693593

 

static let DaysTo1899: Int32 = 693593

 

static final Int32 DaysTo1899 = 693593

DaysTo1970

 

const DaysTo1970: Int32 = 719162

 

const Int32 DaysTo1970 = 719162

 

static let DaysTo1970: Int32 = 719162

 

static final Int32 DaysTo1970 = 719162

DoubleDateOffset

 

const DoubleDateOffset: Int64 = 599264352000000000

 

const Int64 DoubleDateOffset = 599264352000000000

 

static let DoubleDateOffset: Int64 = 599264352000000000

 

static final Int64 DoubleDateOffset = 599264352000000000

FileTimeOffset

 

const FileTimeOffset: Int64 = 504911232000000000

 

const Int64 FileTimeOffset = 504911232000000000

 

static let FileTimeOffset: Int64 = 504911232000000000

 

static final Int64 FileTimeOffset = 504911232000000000

MaxMillis

 

const MaxMillis: Int64 = 315360000000000

 

const Int64 MaxMillis = 315360000000000

 

static let MaxMillis: Int64 = 315360000000000

 

static final Int64 MaxMillis = 315360000000000

MaxYear

 

const MaxYear: Int32 = 10000

 

const Int32 MaxYear = 10000

 

static let MaxYear: Int32 = 10000

 

static final Int32 MaxYear = 10000

MillisPerDay

 

const MillisPerDay: Int32 = 86400000

 

const Int32 MillisPerDay = 86400000

 

static let MillisPerDay: Int32 = 86400000

 

static final Int32 MillisPerDay = 86400000

MillisPerHour

 

const MillisPerHour: Int32 = 3600000

 

const Int32 MillisPerHour = 3600000

 

static let MillisPerHour: Int32 = 3600000

 

static final Int32 MillisPerHour = 3600000

MillisPerMinute

 

const MillisPerMinute: Int32 = 60000

 

const Int32 MillisPerMinute = 60000

 

static let MillisPerMinute: Int32 = 60000

 

static final Int32 MillisPerMinute = 60000

MillisPerSecond

 

const MillisPerSecond: Int32 = 1000

 

const Int32 MillisPerSecond = 1000

 

static let MillisPerSecond: Int32 = 1000

 

static final Int32 MillisPerSecond = 1000

TicksPerDay

 

const TicksPerDay: Int64 = 864000000000

 

const Int64 TicksPerDay = 864000000000

 

static let TicksPerDay: Int64 = 864000000000

 

static final Int64 TicksPerDay = 864000000000

TicksPerHour

 

const TicksPerHour: Int64 = 36000000000

 

const Int64 TicksPerHour = 36000000000

 

static let TicksPerHour: Int64 = 36000000000

 

static final Int64 TicksPerHour = 36000000000

TicksPerMillisecond

 

const TicksPerMillisecond: Int64 = 10000

 

const Int64 TicksPerMillisecond = 10000

 

static let TicksPerMillisecond: Int64 = 10000

 

static final Int64 TicksPerMillisecond = 10000

TicksPerMinute

 

const TicksPerMinute: Int64 = 600000000

 

const Int64 TicksPerMinute = 600000000

 

static let TicksPerMinute: Int64 = 600000000

 

static final Int64 TicksPerMinute = 600000000

TicksPerSecond

 

const TicksPerSecond: Int64 = 10000000

 

const Int64 TicksPerSecond = 10000000

 

static let TicksPerSecond: Int64 = 10000000

 

static final Int64 TicksPerSecond = 10000000

UnixDateOffset

 

const UnixDateOffset: Int64 = 621356832000000000

 

const Int64 UnixDateOffset = 621356832000000000

 

static let UnixDateOffset: Int64 = 621356832000000000

 

static final Int64 UnixDateOffset = 621356832000000000

 

Date

 

property Date: DateTime read

 

DateTime Date { get; }

 

var Date: DateTime { get{} }

 

DateTime Date { __get; }

Day

 

property Day: Int32 read

 

Int32 Day { get; }

 

var Day: Int32 { get{} }

 

Int32 Day { __get; }

DayOfWeek

 

property DayOfWeek: Int32 read

 

Int32 DayOfWeek { get; }

 

var DayOfWeek: Int32 { get{} }

 

Int32 DayOfWeek { __get; }

Hour

 

property Hour: Int32 read

 

Int32 Hour { get; }

 

var Hour: Int32 { get{} }

 

Int32 Hour { __get; }

Milliseconds

 

property Milliseconds: Int32 read

 

Int32 Milliseconds { get; }

 

var Milliseconds: Int32 { get{} }

 

Int32 Milliseconds { __get; }

Minute

 

property Minute: Int32 read

 

Int32 Minute { get; }

 

var Minute: Int32 { get{} }

 

Int32 Minute { __get; }

Month

 

property Month: Int32 read

 

Int32 Month { get; }

 

var Month: Int32 { get{} }

 

Int32 Month { __get; }

Second

 

property Second: Int32 read

 

Int32 Second { get; }

 

var Second: Int32 { get{} }

 

Int32 Second { __get; }

Ticks

 

property Ticks: Int64 read

 

Int64 Ticks { get; }

 

var Ticks: Int64 { get{} }

 

Int64 Ticks { __get; }

Year

 

property Year: Int32 read

 

Int32 Year { get; }

 

var Year: Int32 { get{} }

 

Int32 Year { __get; }

Now

 

class property Now: DateTime read

 

class DateTime Now { get; }

 

static var Now: DateTime { get{} }

 

class DateTime Now { __get; }

Today

 

class property Today: DateTime read

 

class DateTime Today { get; }

 

static var Today: DateTime { get{} }

 

class DateTime Today { __get; }

UtcNow

 

class property UtcNow: DateTime read

 

class DateTime UtcNow { get; }

 

static var UtcNow: DateTime { get{} }

 

class DateTime UtcNow { __get; }

 

FromFileTime Windows

 

class method FromFileTime(aFileTime: FILETIME): DateTime

 

static DateTime FromFileTime(FILETIME aFileTime)

 

static func FromFileTime(_ aFileTime: FILETIME) -> DateTime

 

static DateTime FromFileTime(FILETIME aFileTime)

Parameters:

  • aFileTime:

FromSystemTime Windows

 

class method FromSystemTime(aFileTime: SYSTEMTIME): DateTime

 

static DateTime FromSystemTime(SYSTEMTIME aFileTime)

 

static func FromSystemTime(_ aFileTime: SYSTEMTIME) -> DateTime

 

static DateTime FromSystemTime(SYSTEMTIME aFileTime)

Parameters:

  • aFileTime:

FromUnixTime Android, iOS, iOS Simulator, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator

 

class method FromUnixTime(aStruct: __struct_timespec): DateTime

 

static DateTime FromUnixTime(__struct_timespec aStruct)

 

static func FromUnixTime(_ aStruct: __struct_timespec) -> DateTime

 

static DateTime FromUnixTime(__struct_timespec aStruct)

Parameters:

  • aStruct:

FromUnixTimeUTC Android, iOS, iOS Simulator, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator

 

class method FromUnixTimeUTC(aStruct: __struct_timespec): DateTime

 

static DateTime FromUnixTimeUTC(__struct_timespec aStruct)

 

static func FromUnixTimeUTC(_ aStruct: __struct_timespec) -> DateTime

 

static DateTime FromUnixTimeUTC(__struct_timespec aStruct)

Parameters:

  • aStruct:

isLeapYear

 

class method isLeapYear(Value: Int32): Boolean

 

static Boolean isLeapYear(Int32 Value)

 

static func isLeapYear(_ Value: Int32) -> Boolean

 

static Boolean isLeapYear(Int32 Value)

Parameters:

  • Value:

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)

Parameters:

  • a: left value
  • b: right value

ToSystemTime (DateTime): SYSTEMTIME Windows

 

class method ToSystemTime(aDateTime: DateTime): SYSTEMTIME

 

static SYSTEMTIME ToSystemTime(DateTime aDateTime)

 

static func ToSystemTime(_ aDateTime: DateTime) -> SYSTEMTIME

 

static SYSTEMTIME ToSystemTime(DateTime aDateTime)

Parameters:

  • aDateTime:

 

constructor

 

constructor()

 

DateTime()

 

init()

 

DateTime()

constructor (Int32, Int32, Int32)

 

constructor(aYear: Int32; aMonth: Int32; aDay: Int32)

 

DateTime(Int32 aYear, Int32 aMonth, Int32 aDay)

 

init(_ aYear: Int32, _ aMonth: Int32, _ aDay: Int32)

 

DateTime(Int32 aYear, Int32 aMonth, Int32 aDay)

Parameters:

  • aYear:
  • aMonth:
  • aDay:

constructor (Int32, Int32, Int32, Int32, Int32)

 

constructor(aYear: Int32; aMonth: Int32; aDay: Int32; anHour: Int32; aMinute: Int32)

 

DateTime(Int32 aYear, Int32 aMonth, Int32 aDay, Int32 anHour, Int32 aMinute)

 

init(_ aYear: Int32, _ aMonth: Int32, _ aDay: Int32, _ anHour: Int32, _ aMinute: Int32)

 

DateTime(Int32 aYear, Int32 aMonth, Int32 aDay, Int32 anHour, Int32 aMinute)

Parameters:

  • aYear:
  • aMonth:
  • aDay:
  • anHour:
  • aMinute:

constructor (Int32, Int32, Int32, Int32, Int32, Int32)

 

constructor(aYear: Int32; aMonth: Int32; aDay: Int32; anHour: Int32; aMinute: Int32; aSecond: Int32)

 

DateTime(Int32 aYear, Int32 aMonth, Int32 aDay, Int32 anHour, Int32 aMinute, Int32 aSecond)

 

init(_ aYear: Int32, _ aMonth: Int32, _ aDay: Int32, _ anHour: Int32, _ aMinute: Int32, _ aSecond: Int32)

 

DateTime(Int32 aYear, Int32 aMonth, Int32 aDay, Int32 anHour, Int32 aMinute, Int32 aSecond)

Parameters:

  • aYear:
  • aMonth:
  • aDay:
  • anHour:
  • aMinute:
  • aSecond:

constructor (Int32, Int32, Int32, Int32, Int32, Int32, Int32)

 

constructor(aYear: Int32; aMonth: Int32; aDay: Int32; anHour: Int32; aMinute: Int32; aSecond: Int32; aMillisecond: Int32)

 

DateTime(Int32 aYear, Int32 aMonth, Int32 aDay, Int32 anHour, Int32 aMinute, Int32 aSecond, Int32 aMillisecond)

 

init(_ aYear: Int32, _ aMonth: Int32, _ aDay: Int32, _ anHour: Int32, _ aMinute: Int32, _ aSecond: Int32, _ aMillisecond: Int32)

 

DateTime(Int32 aYear, Int32 aMonth, Int32 aDay, Int32 anHour, Int32 aMinute, Int32 aSecond, Int32 aMillisecond)

Parameters:

  • aYear:
  • aMonth:
  • aDay:
  • anHour:
  • aMinute:
  • aSecond:
  • aMillisecond:

constructor (Int64)

 

constructor(aTicks: Int64)

 

DateTime(Int64 aTicks)

 

init(_ aTicks: Int64)

 

DateTime(Int64 aTicks)

Parameters:

  • aTicks:

AddDays

 

method AddDays(Value: Int32): DateTime

 

DateTime AddDays(Int32 Value)

 

func AddDays(_ Value: Int32) -> DateTime

 

DateTime AddDays(Int32 Value)

Parameters:

  • Value:

AddHours

 

method AddHours(Value: Int32): DateTime

 

DateTime AddHours(Int32 Value)

 

func AddHours(_ Value: Int32) -> DateTime

 

DateTime AddHours(Int32 Value)

Parameters:

  • Value:

AddMilliseconds

 

method AddMilliseconds(Value: Int32): DateTime

 

DateTime AddMilliseconds(Int32 Value)

 

func AddMilliseconds(_ Value: Int32) -> DateTime

 

DateTime AddMilliseconds(Int32 Value)

Parameters:

  • Value:

AddMinutes

 

method AddMinutes(Value: Int32): DateTime

 

DateTime AddMinutes(Int32 Value)

 

func AddMinutes(_ Value: Int32) -> DateTime

 

DateTime AddMinutes(Int32 Value)

Parameters:

  • Value:

AddMonths

 

method AddMonths(Value: Int32): DateTime

 

DateTime AddMonths(Int32 Value)

 

func AddMonths(_ Value: Int32) -> DateTime

 

DateTime AddMonths(Int32 Value)

Parameters:

  • Value:

AddSeconds

 

method AddSeconds(Value: Int32): DateTime

 

DateTime AddSeconds(Int32 Value)

 

func AddSeconds(_ Value: Int32) -> DateTime

 

DateTime AddSeconds(Int32 Value)

Parameters:

  • Value:

AddTicks

 

method AddTicks(Value: Int64): DateTime

 

DateTime AddTicks(Int64 Value)

 

func AddTicks(_ Value: Int64) -> DateTime

 

DateTime AddTicks(Int64 Value)

Parameters:

  • Value:

AddYears

 

method AddYears(Value: Int32): DateTime

 

DateTime AddYears(Int32 Value)

 

func AddYears(_ Value: Int32) -> DateTime

 

DateTime AddYears(Int32 Value)

Parameters:

  • Value:

CompareTo

 

method CompareTo(Value: DateTime): Int32

 

Int32 CompareTo(DateTime Value)

 

func CompareTo(_ Value: DateTime) -> Int32

 

Int32 CompareTo(DateTime Value)

Parameters:

  • Value:

Equals  override virtual

 

method Equals(obj: Object): Boolean

 

Boolean Equals(Object obj)

 

func Equals(_ obj: Object) -> Boolean

 

Boolean Equals(Object obj)

Parameters:

  • obj:

Finalize  protected virtual    (declared in Object)

Finalizer implementation. If not overriden it's not called at all, the runtime checks if there is an override before calling a finalizer.

 

method Finalize()

 

void Finalize()

 

func Finalize()

 

void 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()

GetType    (declared in Object)

Returns the actual type of this class

 

method GetType(): Type

 

Type GetType()

 

func GetType() -> Type

 

Type GetType()

ToString  override virtual

 

method ToString(): String

 

String ToString()

 

func ToString() -> String

 

String ToString()

ToSystemTime Windows

 

method ToSystemTime(): SYSTEMTIME

 

SYSTEMTIME ToSystemTime()

 

func ToSystemTime() -> SYSTEMTIME

 

SYSTEMTIME ToSystemTime()