[−][src]Function datetimeutils::month_from_index
pub fn month_from_index(index: u64) -> Option<Month>
Converts an integer in the range 1-12 into the corresponding Month
enum.
Values outside the 1-12 range are converted to None
.
pub fn month_from_index(index: u64) -> Option<Month>
Converts an integer in the range 1-12 into the corresponding Month
enum.
Values outside the 1-12 range are converted to None
.