tryParse

Try to parse the input string according to the given pattern.

Return: true to indicate success; false to indicate failure

  1. bool tryParse(string data, Format fmt, SysTime dt, immutable(TimeZone) defaultTimeZone)
  2. bool tryParse(string data, string formatString, SysTime dt, immutable(TimeZone) defaultTimeZone)
    @safe
    bool
    tryParse
    (
    string data
    ,,
    out SysTime dt
    ,
    immutable(TimeZone) defaultTimeZone = null
    )

Meta