[][src]Function erajp::to_era

pub fn to_era(local: &Date<Local>) -> Option<&str>

Given a local time, return a string of japanese era

Return None if the time doesn't match any eras.