svn_parse_date

Function svn_parse_date 

Source
pub unsafe extern "C" fn svn_parse_date(
    matched: *mut svn_boolean_t,
    result: *mut apr_time_t,
    text: *const c_char,
    now: apr_time_t,
    pool: *mut apr_pool_t,
) -> *mut svn_error_t
Expand description

Convert a human-readable date @a text into an @c apr_time_t, using @a now as the current time and storing the result in @a result. The local time zone will be used to compute the appropriate GMT offset if @a text contains a local time specification. Set @a matched to indicate whether or not @a text was parsed successfully. Perform any allocation in @a pool. Return an error iff an internal error (rather than a simple parse error) occurs.