fn tm_to_weekday(tm: &libc::tm) -> &'static str {
        match tm.tm_wday {
            0 => "Sunday",
            1 => "Monday",
            2 => "Tuesday",
            3 => "Wednesday",
            4 => "Thursday",
            5 => "Friday",
            6 => "Saturday",
            _ => unreachable!(),
        }
    }
/// Convert a tm to weekday string.
Convert a tm to weekday string.
Convert a tm to weekday string .
fn tm_to_weekday(tm: &libc::tm) -> &'static str {
        match tm.tm_wday {
            0 => "Sunday",
            1 => "Monday",
            2 => "Tuesday",
            3 => "Wednesday",
            4 => "Thursday",
            5 => "Friday",
            6 => "Saturday",
            _ => unreachable!(),
        }
    }
fn tm_to_weekday ( tm : & libc :: tm ) -> & ' static str { match tm . tm_wday { 0 => " " , 1 => " " , 2 => " " , 3 => " " , 4 => " " , 5 => " " , 6 => " " , _ => unreachable ! ( ) , } }
Convert a tm to weekday string.
Convert a tm to weekday string .
tm
&libc::tm