m3e/minute
Types
Values
pub fn from_string(minute: String) -> Result(Minute, String)
from_string creates a Minute value from a string representation of a minute. This constructor takes a string and returns a Result. It requires the string to be a valid minute, i.e. a number between 00 and 59, inclusive.
pub fn new(minute: Int) -> Result(Minute, String)
new creates a Minute value from a minute. This constructor takes a minute as an Int and returns a Result. It requires the minute to be between 0 and 59, inclusive.