DateParser

Overview

Class to parse dates to DateTime.

Location

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

Class Methods


TryParse (String, DateTime, DateParserOptions): Boolean

Parses a datetime string given the standard format string and a default locale.

 

class method TryParse(aDateTime: String; out output: DateTime; aOptions: DateParserOptions): Boolean

 

static Boolean TryParse(String aDateTime, out DateTime output, DateParserOptions aOptions)

 

static func TryParse(_ aDateTime: String, _ output: DateTime, _ aOptions: DateParserOptions) -> Boolean

 

static Boolean TryParse(String aDateTime, __out DateTime output, DateParserOptions aOptions)

Parameters:

  • aDateTime:
  • output:
  • aOptions:

TryParse (String, Locale, DateTime, DateParserOptions): Boolean

Parses a datetime string given a the standard format string and a locale.

 

class method TryParse(aDateTime: String; aLocale: Locale; out output: DateTime; aOptions: DateParserOptions): Boolean

 

static Boolean TryParse(String aDateTime, Locale aLocale, out DateTime output, DateParserOptions aOptions)

 

static func TryParse(_ aDateTime: String, _ aLocale: Locale, _ output: DateTime, _ aOptions: DateParserOptions) -> Boolean

 

static Boolean TryParse(String aDateTime, Locale aLocale, __out DateTime output, DateParserOptions aOptions)

Parameters:

  • aDateTime:
  • aLocale:
  • output:
  • aOptions:

TryParse (String, String, DateTime, DateParserOptions): Boolean

Parses a datetime string given a format string and a locale.

 

class method TryParse(aDateTime: String; aFormat: String; out output: DateTime; aOptions: DateParserOptions): Boolean

 

static Boolean TryParse(String aDateTime, String aFormat, out DateTime output, DateParserOptions aOptions)

 

static func TryParse(_ aDateTime: String, _ aFormat: String, _ output: DateTime, _ aOptions: DateParserOptions) -> Boolean

 

static Boolean TryParse(String aDateTime, String aFormat, __out DateTime output, DateParserOptions aOptions)

Parameters:

  • aDateTime:
  • aFormat:
  • output:
  • aOptions:

TryParse (String, String, Locale, DateTime, DateParserOptions): Boolean

Parses a datetime string given a format string and a locale.

 

class method TryParse(aDateTime: String; aFormat: String; aLocale: Locale; out output: DateTime; aOptions: DateParserOptions): Boolean

 

static Boolean TryParse(String aDateTime, String aFormat, Locale aLocale, out DateTime output, DateParserOptions aOptions)

 

static func TryParse(_ aDateTime: String, _ aFormat: String, _ aLocale: Locale, _ output: DateTime, _ aOptions: DateParserOptions) -> Boolean

 

static Boolean TryParse(String aDateTime, String aFormat, Locale aLocale, __out DateTime output, DateParserOptions aOptions)

Parameters:

  • aDateTime:
  • aFormat:
  • aLocale:
  • output:
  • aOptions: