Constant hwclock::YEAR_EPOCH
[−]
[src]
pub const YEAR_EPOCH: i32=
1900
Basic epoch for dates.
All dates returned by the hardware clock are in offset of the epoch year,
which usually is 1900 (e.g. a value of 118
on RtcTime::tm_year
marks the year 2018).