Locale

Overview

Class that can hold locale info for converting integers/floats/dates to and from string.

Location

  • Reference:
    • Elements.dll  .NET, .NET Standard 2.0
    • elements.jar  Cooper
    • Elements.fx  Island, ToffeeV2
    • libElements.fx  Toffee
  • Namespace: RemObjects.Elements.RTL
  • Platforms: .NET, .NET Standard 2.0, Cooper, Island, Toffee, ToffeeV2

 

constructor

Create a locale by name.

 

constructor(aLocale: String)

 

Locale(String aLocale)

 

init(_ aLocale: String)

 

Locale(String aLocale)

 

Sub New(aLocale As String)

Parameters:

  • aLocale:

Current

Returns the current/default locale.

 

class property Current: Locale read;

 

class Locale Current { get; }

 

static var Current: Locale { get{} }

 

class Locale Current { __get; }

 

Shared ReadOnly Property Current() As Locale

DateTimeFormat

Returns the datetime format for this locale.

 

property DateTimeFormat: DateTimeFormatInfo read;

 

DateTimeFormatInfo DateTimeFormat { get; }

 

var DateTimeFormat: DateTimeFormatInfo { get{} }

 

DateTimeFormatInfo DateTimeFormat { __get; }

 

ReadOnly Property DateTimeFormat() As DateTimeFormatInfo

Identifier

name of this locale.

 

property Identifier: not nullable String read;

 

String! Identifier { get; }

 

var Identifier: String { get{} }

 

String Identifier { __get; }

 

ReadOnly Property Identifier() As String

Invariant

Returns the invariant locale.

 

class property Invariant: Locale read;

 

class Locale Invariant { get; }

 

static var Invariant: Locale { get{} }

 

class Locale Invariant { __get; }

 

Shared ReadOnly Property Invariant() As Locale

NumberFormat

Number format data.

 

property NumberFormat: NumberFormatInfo read;

 

NumberFormatInfo NumberFormat { get; }

 

var NumberFormat: NumberFormatInfo { get{} }

 

NumberFormatInfo NumberFormat { __get; }

 

ReadOnly Property NumberFormat() As NumberFormatInfo

PlatformLocale Toffee, ToffeeV2

 

var PlatformLocale: NSLocale { get{} }

PlatformLocale Cooper

 

property PlatformLocale: Locale read;

 

Locale PlatformLocale { get; }

 

var PlatformLocale: Locale { get{} }

 

Locale PlatformLocale { __get; }

 

ReadOnly Property PlatformLocale() As Locale

PlatformLocale Island

 

property PlatformLocale: Locale read;

 

Locale PlatformLocale { get; }

 

var PlatformLocale: Locale { get{} }

 

ReadOnly Property PlatformLocale() As Locale

PlatformLocale .NET, .NET Standard 2.0

Gets the underlying object for this platform.

 

property PlatformLocale: CultureInfo read;

 

CultureInfo PlatformLocale { get; }

 

var PlatformLocale: CultureInfo { get{} }

 

ReadOnly Property PlatformLocale() As CultureInfo

 

DateTimeFormat

Returns the datetime format for this locale.

 

property DateTimeFormat: DateTimeFormatInfo read;

 

DateTimeFormatInfo DateTimeFormat { get; }

 

var DateTimeFormat: DateTimeFormatInfo { get{} }

 

DateTimeFormatInfo DateTimeFormat { __get; }

 

ReadOnly Property DateTimeFormat() As DateTimeFormatInfo

Identifier

name of this locale.

 

property Identifier: not nullable String read;

 

String! Identifier { get; }

 

var Identifier: String { get{} }

 

String Identifier { __get; }

 

ReadOnly Property Identifier() As String

NumberFormat

Number format data.

 

property NumberFormat: NumberFormatInfo read;

 

NumberFormatInfo NumberFormat { get; }

 

var NumberFormat: NumberFormatInfo { get{} }

 

NumberFormatInfo NumberFormat { __get; }

 

ReadOnly Property NumberFormat() As NumberFormatInfo

PlatformLocale Toffee, ToffeeV2

 

var PlatformLocale: NSLocale { get{} }

PlatformLocale Cooper

 

property PlatformLocale: Locale read;

 

Locale PlatformLocale { get; }

 

var PlatformLocale: Locale { get{} }

 

Locale PlatformLocale { __get; }

 

ReadOnly Property PlatformLocale() As Locale

PlatformLocale Island

 

property PlatformLocale: Locale read;

 

Locale PlatformLocale { get; }

 

var PlatformLocale: Locale { get{} }

 

ReadOnly Property PlatformLocale() As Locale

PlatformLocale .NET, .NET Standard 2.0

Gets the underlying object for this platform.

 

property PlatformLocale: CultureInfo read;

 

CultureInfo PlatformLocale { get; }

 

var PlatformLocale: CultureInfo { get{} }

 

ReadOnly Property PlatformLocale() As CultureInfo

Current

Returns the current/default locale.

 

class property Current: Locale read;

 

class Locale Current { get; }

 

static var Current: Locale { get{} }

 

class Locale Current { __get; }

 

Shared ReadOnly Property Current() As Locale

Invariant

Returns the invariant locale.

 

class property Invariant: Locale read;

 

class Locale Invariant { get; }

 

static var Invariant: Locale { get{} }

 

class Locale Invariant { __get; }

 

Shared ReadOnly Property Invariant() As Locale

 

constructor

Create a locale by name.

 

constructor(aLocale: String)

 

Locale(String aLocale)

 

init(_ aLocale: String)

 

Locale(String aLocale)

 

Sub New(aLocale As String)

Parameters:

  • aLocale: