DateTimeFormatInfo

Overview

Format info class for formatting dates.

Location

 

constructor    (declared in Object) UIKit for Mac

Default constructor.

 

constructor

 

DateTimeFormatInfo()

 

init()

 

DateTimeFormatInfo()

 

Sub New()

constructor (PlatformLocale, Boolean) Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows

 

constructor(aLocale: PlatformLocale; aIsReadonly: Boolean)

 

DateTimeFormatInfo(PlatformLocale aLocale, Boolean aIsReadonly)

 

init(_ aLocale: PlatformLocale, _ aIsReadonly: Boolean)

 

DateTimeFormatInfo(PlatformLocale aLocale, Boolean aIsReadonly)

 

Sub New(aLocale As PlatformLocale, aIsReadonly As Boolean)

Parameters:

  • aLocale:
  • aIsReadonly:

AMString

 

property AMString: String read write;

 

String AMString { get; set; }

 

var AMString: String { get{} set{} }

 

String AMString { __get; __set; }

 

Property AMString() As String

DateSeparator

 

property DateSeparator: String read write;

 

String DateSeparator { get; set; }

 

var DateSeparator: String { get{} set{} }

 

String DateSeparator { __get; __set; }

 

Property DateSeparator() As String

Equals (Object): Boolean  virtual    (declared in Object) Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows

 

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:

Equals (Object): Boolean  virtual    (declared in Object) UIKit for Mac

Returns true if the target object matches this one, by default compares the reference.

 

method Equals(obj: Object): Boolean

 

Boolean Equals(Object obj)

 

func Equals(_ obj: Object) -> Boolean

 

Boolean Equals(Object obj)

 

Function Equals(obj As Object) As Boolean

Parameters:

  • obj: the reference to compare this with.

Finalize  protected virtual    (declared in Object) UIKit for Mac

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

 

Finalize()

 

func Finalize()

 

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

IsReadOnly

 

property IsReadOnly: Boolean read;

 

Boolean IsReadOnly { get; }

 

var IsReadOnly: Boolean { get{} }

 

Boolean IsReadOnly { __get; }

 

ReadOnly Property IsReadOnly() As Boolean

LongDatePattern

 

property LongDatePattern: String read write;

 

String LongDatePattern { get; set; }

 

var LongDatePattern: String { get{} set{} }

 

String LongDatePattern { __get; __set; }

 

Property LongDatePattern() As String

LongDayNames

 

property LongDayNames: array of String read write;

 

String[] LongDayNames { get; set; }

 

var LongDayNames: String... { get{} set{} }

 

String[] LongDayNames { __get; __set; }

 

Property LongDayNames() As String()

LongMonthNames

 

property LongMonthNames: array of String read write;

 

String[] LongMonthNames { get; set; }

 

var LongMonthNames: String... { get{} set{} }

 

String[] LongMonthNames { __get; __set; }

 

Property LongMonthNames() As String()

LongTimePattern

 

property LongTimePattern: String read write;

 

String LongTimePattern { get; set; }

 

var LongTimePattern: String { get{} set{} }

 

String LongTimePattern { __get; __set; }

 

Property LongTimePattern() As String

PMString

 

property PMString: String read write;

 

String PMString { get; set; }

 

var PMString: String { get{} set{} }

 

String PMString { __get; __set; }

 

Property PMString() As String

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

ShortDatePattern

 

property ShortDatePattern: String read write;

 

String ShortDatePattern { get; set; }

 

var ShortDatePattern: String { get{} set{} }

 

String ShortDatePattern { __get; __set; }

 

Property ShortDatePattern() As String

ShortDayNames

 

property ShortDayNames: array of String read write;

 

String[] ShortDayNames { get; set; }

 

var ShortDayNames: String... { get{} set{} }

 

String[] ShortDayNames { __get; __set; }

 

Property ShortDayNames() As String()

ShortMonthNames

 

property ShortMonthNames: array of String read write;

 

String[] ShortMonthNames { get; set; }

 

var ShortMonthNames: String... { get{} set{} }

 

String[] ShortMonthNames { __get; __set; }

 

Property ShortMonthNames() As String()

ShortTimePattern

 

property ShortTimePattern: String read write;

 

String ShortTimePattern { get; set; }

 

var ShortTimePattern: String { get{} set{} }

 

String ShortTimePattern { __get; __set; }

 

Property ShortTimePattern() As String

TimeSeparator

 

property TimeSeparator: String read write;

 

String TimeSeparator { get; set; }

 

var TimeSeparator: String { get{} set{} }

 

String TimeSeparator { __get; __set; }

 

Property TimeSeparator() As 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

 

AMString

 

property AMString: String read write;

 

String AMString { get; set; }

 

var AMString: String { get{} set{} }

 

String AMString { __get; __set; }

 

Property AMString() As String

DateSeparator

 

property DateSeparator: String read write;

 

String DateSeparator { get; set; }

 

var DateSeparator: String { get{} set{} }

 

String DateSeparator { __get; __set; }

 

Property DateSeparator() As String

IsReadOnly

 

property IsReadOnly: Boolean read;

 

Boolean IsReadOnly { get; }

 

var IsReadOnly: Boolean { get{} }

 

Boolean IsReadOnly { __get; }

 

ReadOnly Property IsReadOnly() As Boolean

LongDatePattern

 

property LongDatePattern: String read write;

 

String LongDatePattern { get; set; }

 

var LongDatePattern: String { get{} set{} }

 

String LongDatePattern { __get; __set; }

 

Property LongDatePattern() As String

LongDayNames

 

property LongDayNames: array of String read write;

 

String[] LongDayNames { get; set; }

 

var LongDayNames: String... { get{} set{} }

 

String[] LongDayNames { __get; __set; }

 

Property LongDayNames() As String()

LongMonthNames

 

property LongMonthNames: array of String read write;

 

String[] LongMonthNames { get; set; }

 

var LongMonthNames: String... { get{} set{} }

 

String[] LongMonthNames { __get; __set; }

 

Property LongMonthNames() As String()

LongTimePattern

 

property LongTimePattern: String read write;

 

String LongTimePattern { get; set; }

 

var LongTimePattern: String { get{} set{} }

 

String LongTimePattern { __get; __set; }

 

Property LongTimePattern() As String

PMString

 

property PMString: String read write;

 

String PMString { get; set; }

 

var PMString: String { get{} set{} }

 

String PMString { __get; __set; }

 

Property PMString() As String

ShortDatePattern

 

property ShortDatePattern: String read write;

 

String ShortDatePattern { get; set; }

 

var ShortDatePattern: String { get{} set{} }

 

String ShortDatePattern { __get; __set; }

 

Property ShortDatePattern() As String

ShortDayNames

 

property ShortDayNames: array of String read write;

 

String[] ShortDayNames { get; set; }

 

var ShortDayNames: String... { get{} set{} }

 

String[] ShortDayNames { __get; __set; }

 

Property ShortDayNames() As String()

ShortMonthNames

 

property ShortMonthNames: array of String read write;

 

String[] ShortMonthNames { get; set; }

 

var ShortMonthNames: String... { get{} set{} }

 

String[] ShortMonthNames { __get; __set; }

 

Property ShortMonthNames() As String()

ShortTimePattern

 

property ShortTimePattern: String read write;

 

String ShortTimePattern { get; set; }

 

var ShortTimePattern: String { get{} set{} }

 

String ShortTimePattern { __get; __set; }

 

Property ShortTimePattern() As String

TimeSeparator

 

property TimeSeparator: String read write;

 

String TimeSeparator { get; set; }

 

var TimeSeparator: String { get{} set{} }

 

String TimeSeparator { __get; __set; }

 

Property TimeSeparator() As String

 

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) UIKit for Mac

Default constructor.

 

constructor

 

DateTimeFormatInfo()

 

init()

 

DateTimeFormatInfo()

 

Sub New()

constructor (PlatformLocale, Boolean) Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows

 

constructor(aLocale: PlatformLocale; aIsReadonly: Boolean)

 

DateTimeFormatInfo(PlatformLocale aLocale, Boolean aIsReadonly)

 

init(_ aLocale: PlatformLocale, _ aIsReadonly: Boolean)

 

DateTimeFormatInfo(PlatformLocale aLocale, Boolean aIsReadonly)

 

Sub New(aLocale As PlatformLocale, aIsReadonly As Boolean)

Parameters:

  • aLocale:
  • aIsReadonly:

Equals (Object): Boolean  virtual    (declared in Object) Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows

 

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:

Equals (Object): Boolean  virtual    (declared in Object) UIKit for Mac

Returns true if the target object matches this one, by default compares the reference.

 

method Equals(obj: Object): Boolean

 

Boolean Equals(Object obj)

 

func Equals(_ obj: Object) -> Boolean

 

Boolean Equals(Object obj)

 

Function Equals(obj As Object) As Boolean

Parameters:

  • obj: the reference to compare this with.

Finalize  protected virtual    (declared in Object) UIKit for Mac

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

 

Finalize()

 

func Finalize()

 

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