|
mbgtools-lx
4.2.8
|
Go to the source code of this file.
Macros | |
| #define | _ext extern |
Functions | |
| int | snprint_02u (char *s, size_t max_len, unsigned int uc) |
| int | snprint_04u (char *s, size_t max_len, unsigned int us) |
| int | snprint_ctry_wday (char *s, size_t max_len, int wday, LANGUAGE language) |
| int | snprint_ctry_dt_short (char *s, size_t max_len, int mday, int month) |
| int | snprint_ctry_dt (char *s, size_t max_len, int mday, int month, int year) |
| int | snprint_ctry_tm_short (char *s, size_t max_len, uchar hour, uchar minute) |
| int | snprint_ctry_tm (char *s, size_t max_len, uchar hour, uchar minute, uchar second) |
| int | snprint_ctry_tm_long (char *s, size_t max_len, uchar hour, uchar minute, uchar second, long frac, ushort frac_digits) |
| #define _ext extern |
Definition at line 46 of file ctrydttm.h.
| int snprint_02u | ( | char * | s, |
| size_t | max_len, | ||
| unsigned int | uc | ||
| ) |
Definition at line 68 of file ctrydttm.c.
References snprintf_safe().
Referenced by snprint_ctry_dt_short(), snprint_ctry_tm(), and snprint_ctry_tm_short().
| int snprint_04u | ( | char * | s, |
| size_t | max_len, | ||
| unsigned int | us | ||
| ) |
Definition at line 77 of file ctrydttm.c.
References snprintf_safe().
Referenced by snprint_ctry_dt().
| int snprint_ctry_dt | ( | char * | s, |
| size_t | max_len, | ||
| int | mday, | ||
| int | month, | ||
| int | year | ||
| ) |
Definition at line 131 of file ctrydttm.c.
References _int_from_size_t, CTRY::dt_fmt, DT_FMT_YYYYMMDD, CTRY::dt_sep, sn_cpy_char_safe(), snprint_04u(), and snprint_ctry_dt_short().
| int snprint_ctry_dt_short | ( | char * | s, |
| size_t | max_len, | ||
| int | mday, | ||
| int | month | ||
| ) |
Definition at line 99 of file ctrydttm.c.
References CTRY::dt_fmt, DT_FMT_MMDDYYYY, DT_FMT_YYYYMMDD, CTRY::dt_sep, sn_cpy_char_safe(), and snprint_02u().
Referenced by snprint_ctry_dt().
Definition at line 169 of file ctrydttm.c.
References _int_from_size_t, sn_cpy_char_safe(), snprint_02u(), snprint_ctry_tm_short(), and CTRY::tm_sep.
Referenced by snprint_ctry_tm_long().
| int snprint_ctry_tm_long | ( | char * | s, |
| size_t | max_len, | ||
| uchar | hour, | ||
| uchar | minute, | ||
| uchar | second, | ||
| long | frac, | ||
| ushort | frac_digits | ||
| ) |
Definition at line 182 of file ctrydttm.c.
References _int_from_size_t, sn_cpy_char_safe(), snprint_ctry_tm(), and snprintf_safe().
Definition at line 156 of file ctrydttm.c.
References _int_from_size_t, sn_cpy_char_safe(), snprint_02u(), and CTRY::tm_sep.
Referenced by snprint_ctry_tm().
| int snprint_ctry_wday | ( | char * | s, |
| size_t | max_len, | ||
| int | wday, | ||
| LANGUAGE | language | ||
| ) |
Definition at line 86 of file ctrydttm.c.
References DAYS_PER_WEEK, LNG_ENGLISH, lstrs_wday, N_LNG, and snprintf_safe().
Referenced by pcps_str_tm_gps_date_time().