scriptorium/utils/ints/hour

An hour is a ranged integer from 0 to 23.

Types

pub opaque type Hour

Functions

pub fn compare(a: Hour, b: Hour) -> Order
pub fn from_int(value: Int) -> Result(Hour, Overflow)
pub fn to_int(value: Hour) -> Int
Search Document