Function idcard::chinese_era[][src]

pub fn chinese_era(year: u32) -> Option<String>

Returns the Chinese Era by the given year, the given year should not be less than 1000.