parseSysTime

Parse string to SysTime with standard string representation. Equals parseSysTime(source, "%c", locale).

  1. SysTime parseSysTime(string source, string formatString, TimeZone defaultZone, Locale locale)
  2. SysTime parseSysTime(string source, TimeZone defaultZone, Locale locale)
    export
    SysTime
    parseSysTime
    (
    string source
    ,
    immutable TimeZone defaultZone = null
    ,
    Locale locale = getDefaultLocale
    )

Parameters

source string

string to parse

defaultZone TimeZone

default time zone if it cannot be determined.

locale Locale

used locale

Return Value

Type: SysTime

parsed SysTime or throws DateParseException exception if there are any errors.

Meta