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
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
Parameters:
- aDateTime:
- aFormat:
- aLocale:
- output:
- aOptions:
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
Parameters:
- aDateTime:
- aFormat:
- output:
- aOptions:
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
Parameters:
- aDateTime:
- aLocale:
- output:
- aOptions:
Parses a datetime string given the standard format string and a default locale.
class method TryParse(aDateTime: String; out output: DateTime; aOptions: DateParserOptions): Boolean
Parameters:
- aDateTime:
- output:
- aOptions:
TryParseISO8601
Parameters:
- aDateTime:
- output: