Searched defs:year (Results 1 - 3 of 3) sorted by relevance

/dovecot/src/lib/
H A Dtest-utc-mktime.c7 int year, month, day, hour, min, sec; member in struct:test_utc_mktime
48 tm.tm_year = test->year - 1900;
/dovecot/src/lib-mail/
H A Dmbox-from.c95 - Some put the timezone before the year
96 - Some use a named timezone before or after year, which we ignore
214 /* year */
253 int year; local
292 /* year */
293 year = tm->tm_year + 1900;
294 str_append_c(str, (year / 1000) + '0');
295 str_append_c(str, ((year / 100) % 10) + '0');
296 str_append_c(str, ((year / 10) % 10) + '0');
297 str_append_c(str, (year
[all...]
/dovecot/src/lib-imap/
H A Dimap-date.c90 with 64bit time_t the full 0..9999 year range is valid. */
163 int year; local
173 year = tm->tm_year + 1900;
174 buf[7] = (year / 1000) + '0';
175 buf[8] = ((year / 100) % 10) + '0';
176 buf[9] = ((year / 10) % 10) + '0';
177 buf[10] = (year % 10) + '0';

Completed in 13 milliseconds