21#ifndef _MTIME_ISO8601_H
22#define _MTIME_ISO8601_H
31 DURATION_MATCH_STD = 2,
32 DURATION_MATCH_LONG = 3
35struct iso8601_duration
48struct iso8601_datetime
61struct iso8601_datetime *new_iso8601_datetime(
char _sign_of_year, int64_t _year,
int _month,
int _day,
int _hour,
int _minute,
62 int _second,
int _ms);
64void deallocate_iso8601_datetime(
struct iso8601_datetime *iso8601_datetimeObj);
66struct iso8601_duration *new_iso8601_duration(
char _sign, int64_t _year,
int _month,
int _day,
int _hour,
int _minute,
int _second,
69void deallocate_iso8601_duration(
struct iso8601_duration *iso8601_durationObj);
72verify_string_datetime(
const char *test_string,
struct iso8601_datetime *dummy_isoDtObj);
75verify_string_duration(
const char *test_string,
struct iso8601_duration *dummy_isoDObj);