DateParser

Overview

Class to parse dates to DateTime.

Location

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

Class Methods


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)

 

Shared Function TryParse(aDateTime As String, aFormat As String, aLocale As Locale, <OutAttribute> ByRef output As DateTime, aOptions As DateParserOptions) As Boolean

Parameters:

  • aDateTime:
  • aFormat:
  • 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)

 

Shared Function TryParse(aDateTime As String, aFormat As String, <OutAttribute> ByRef output As DateTime, aOptions As DateParserOptions) As Boolean

Parameters:

  • aDateTime:
  • aFormat:
  • 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)

 

Shared Function TryParse(aDateTime As String, aLocale As Locale, <OutAttribute> ByRef output As DateTime, aOptions As DateParserOptions) As Boolean

Parameters:

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

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)

 

Shared Function TryParse(aDateTime As String, <OutAttribute> ByRef output As DateTime, aOptions As DateParserOptions) As Boolean

Parameters:

  • aDateTime:
  • output:
  • aOptions:

TryParseISO8601

 

class method TryParseISO8601(aDateTime: String; out output: DateTime): Boolean

 

static Boolean TryParseISO8601(String aDateTime, out DateTime output)

 

static func TryParseISO8601(_ aDateTime: String, _ output: DateTime) -> Boolean

 

static Boolean TryParseISO8601(String aDateTime, __out DateTime output)

 

Shared Function TryParseISO8601(aDateTime As String, <OutAttribute> ByRef output As DateTime) As Boolean

Parameters:

  • aDateTime:
  • output: