Searched refs:tm_year (Results 1 - 25 of 40) sorted by last modified time

12

/haiku/src/apps/aboutsystem/
H A DAboutSystem.cpp1587 int32 year = tm->tm_year + 1900;
/haiku/src/tools/fs_shell/
H A Dfssh.cpp415 1900 + time.tm_year, 1 + time.tm_mon, time.tm_mday,
/haiku/src/servers/package/
H A DCommitTransactionHandler.cpp472 1900 + now.tm_year, now.tm_mon + 1, now.tm_mday, now.tm_hour,
/haiku/src/system/libroot/add-ons/icu/
H A DICUTimeConversion.cpp233 tmOut->tm_year = calendar.get(UCAL_YEAR, icuStatus) - 1900;
269 calendar.set(inOutTm->tm_year + 1900, inOutTm->tm_mon, inOutTm->tm_mday,
/haiku/src/system/libroot/posix/musl/time/
H A D__secs_to_tm.c71 tm->tm_year = years + 100;
H A D__tm_to_secs.c6 long long year = tm->tm_year;
H A Dasctime_r.c15 1900 + tm->tm_year) >= 26)
H A Dstrptime.c164 dest = &tm->tm_year;
217 tm->tm_year = relyear;
218 if (want_century & 2) tm->tm_year += century * 100 - 1900;
219 else if (tm->tm_year <= 68) tm->tm_year += 100;
H A Dwcsftime.c47 if (plus && tm->tm_year >= 10000-1900)
49 else if (tm->tm_year < -1900)
H A Dstrftime.c33 if (dec31 == 4 || (dec31 == 5 && is_leap(tm->tm_year%400-1)))
41 if (jan1 != 4 && (jan1 != 3 || !is_leap(tm->tm_year)))
76 val = (1900LL+tm->tm_year) / 100;
91 val = tm->tm_year + 1900LL;
164 val = (tm->tm_year + 1900LL) % 100;
168 val = tm->tm_year + 1900LL;
258 if (tm->tm_year < -1900) {
/haiku/src/system/libroot/os/
H A Dparsedate.cpp734 tm.tm_year += value;
746 tm.tm_year++;
748 tm.tm_year--;
775 nowYear = tm.tm_year;
829 nowYear = tmNow.tm_year;
834 tm.tm_year = element->value;
835 if (tm.tm_year < 1900) {
840 if (nowYearInCentury + 10 < tm.tm_year % 100)
841 tm.tm_year -= 100;
843 tm.tm_year
[all...]
/haiku/src/system/kernel/
H A Dreal_time_clock.cpp185 year = tm->tm_year + RTC_EPOCH_BASE_YEAR;
219 t->tm_year = year - RTC_EPOCH_BASE_YEAR;
/haiku/src/kits/mail/
H A DMailMessage.cpp878 timeFields.tm_year + 1900, timeFields.tm_mon + 1, timeFields.tm_mday,
/haiku/src/kits/network/libnetservices2/
H A DHttpTime.cpp161 expirationTm.tm_year = fDate.Date().Year() - 1900;
212 BDate date(expireTime.tm_year + 1900, expireTime.tm_mon + 1, expireTime.tm_mday);
/haiku/src/kits/network/libnetservices/
H A DHttpTime.cpp140 BDate date(expireTime.tm_year + 1900, expireTime.tm_mon + 1,
157 expirationTm.tm_year = fDate.Date().Year() - 1900;
/haiku/headers/posix/
H A Dtime.h62 int tm_year; /* years since 1900 */ member in struct:tm
/haiku/src/preferences/time/
H A DDateTimeView.cpp159 date.SetDate(timeInfo->tm_year + 1900, timeInfo->tm_mon + 1,
/haiku/src/add-ons/kernel/file_systems/udf/
H A DUdfStructures.cpp260 set_year(local->tm_year+1900);
/haiku/src/apps/poorman/libhttpd/
H A Dtdate_parse.c202 t = ( tmP->tm_year - 70 ) * 365;
204 t += ( tmP->tm_year - 69 ) / 4;
208 if ( tmP->tm_mon >= 2 && is_leap( tmP->tm_year + 1900 ) )
227 int tm_sec, tm_min, tm_hour, tm_mday, tm_year; local
245 &tm_mday, str_mon, &tm_year, &tm_hour, &tm_min,
251 tm.tm_year = tm_year;
259 &tm_mday, str_mon, &tm_year, &tm_hour, &tm_min,
265 tm.tm_year = tm_year;
[all...]
/haiku/src/system/kernel/arch/ppc/
H A Darch_platform.cpp191 t.tm_year += RTC_EPOCH_BASE_YEAR;
194 if (of_call_method(fRTC, "set-time", 6, 0, t.tm_year, t.tm_mon, t.tm_mday,
205 if (of_call_method(fRTC, "get-time", 0, 6, &t.tm_year, &t.tm_mon,
211 t.tm_year -= RTC_EPOCH_BASE_YEAR;
/haiku/src/bin/network/ftpd/
H A Dftpcmd.y871 1900 + t->tm_year,
/haiku/src/system/kernel/arch/sparc/
H A Darch_platform.cpp191 t.tm_year += RTC_EPOCH_BASE_YEAR;
194 if (of_call_method((uint32_t)fRTC, "set-time", 6, 0, t.tm_year, t.tm_mon, t.tm_mday,
205 if (of_call_method((uint32_t)fRTC, "get-time", 0, 6, &t.tm_year, &t.tm_mon,
211 t.tm_year -= RTC_EPOCH_BASE_YEAR;
/haiku/src/bin/
H A Ddstcheck.cpp110 if (tm.tm_year < (2020 - 1900)) {
/haiku/src/kits/network/libnetapi/
H A DCertificate.cpp27 if (sscanf((char*)asn1->data, "%2d%2d%2d%2d%2d%2d", &time.tm_year,
32 time.tm_year += 100;
/haiku/src/add-ons/translators/raw/
H A DRAW.cpp2783 if (sscanf(str, "%d:%d:%d %d:%d:%d", &t.tm_year, &t.tm_mon,
2787 t.tm_year -= 1900;

Completed in 168 milliseconds

12