Home
last modified time | relevance | path

Searched refs:year (Results 1 – 3 of 3) sorted by relevance

/DragonOS-0.1.3/kernel/src/time/
Dtimekeep.rs29 for year in 1970..rtc_time.year { in ktime_get_real()
30 let leap: bool = (year % 4 == 0) && (year % 100 != 0) || (year % 400 == 0); in ktime_get_real()
/DragonOS-0.1.3/kernel/src/driver/timers/rtc/
Drtc.rs12 pub year: i32, field
23 year: (0), in default()
51 self.year = read_cmos(CMOSTimeSelector::Year as u8) as i32; in get()
75 self.year = (self.year & 0xf) + (self.year >> 4) * 10; in get()
77 self.year += 2000; in get()
/DragonOS-0.1.3/
DLICENSE294 Copyright (C) <year> <name of author>
315 Gnomovision version 69, Copyright (C) year name of author