Home
last modified time | relevance | path

Searched refs:mon (Results 1 – 2 of 2) sorted by relevance

/DragonOS/kernel/src/time/
H A Dtimeconv.rs131 let mut mon = 0; in time_to_calendar() localVariable
136 mon += 1; in time_to_calendar()
138 days -= MON_OF_YDAY[il][mon - 1]; in time_to_calendar()
139 result.tm_mon = (mon - 1) as i32; in time_to_calendar()
H A Dmod.rs181 let mut mon: i64 = mon0.into(); in mktime64() localVariable
188 mon -= 2; in mktime64()
190 if mon <= 0 { in mktime64()
192 mon += 12; in mktime64()
195 let mon = mon as u64; in mktime64() localVariable
197 let secs = ((((year / 4 - year / 100 + year / 400 + 367 * mon / 12 + day) + year * 365 in mktime64()