m3e/month
Types
Values
pub fn from_string(m: String) -> Result(Month, String)
from_string creates a Month value from a numeric string representation, returning a Result. The string must be a two-digit number between 01 and 12, inclusive.
pub fn new(month: Int) -> Result(Month, String)
new creates a Month value from an integer month, returning a Result. The month must be between 1 and 12, inclusive.