time_parse_time


Description:


public TimeParseStatus time_parse_time (string value, tm result)

Parses value, a string containing a time.

value is expected to be in a format like "14:20:00". gettext is used to support the appropriate local formats and slightly different formats, such as 12-hour formats with am/pm, are accepted as well.

Parameters:

value

The string to parse a time from.

result

A tm to store the result in.

Returns:

An TimeParseStatus result code indicating whether value was an empty string, a valid date, or an invalid date.


Namespace: E



2022 vala-language.org