Zen API

- Home
- Topics
- Types
- Files

All Classes Files Functions Variables Typedefs Friends Macros Modules Pages

kStatus kDateTime_Parse | ( | kDateTime * | dateTime,
|  | kDateTimeFormat | format,
|  | const kChar * | text
| ) |  |
| related

Parses a time string that was formatted with kDateTime_Format.

This time-string parser is not tolerant of format variations. E.g., the ISO-8601 format allows for several format variations, but kDateTime_Parse only tolerates the exact variant emitted by kDateTime_Format.

Parameters

  dateTime | Receives parsed date-time value.
  format | Format specification (or kDATE_TIME_FORMAT_NULL, to attempt to determine automatically).
  text | Date-time string to be parsed.

Returns
  Operation status.