pub fn to_u8(self) -> u8 {
        match self {
            Self::Sun => 0,
            Self::Mon => 1,
            Self::Tue => 2,
            Self::Wed => 3,
            Self::Thu => 4,
            Self::Fri => 5,
            Self::Sat => 6,
        }
    }
/// Conversion to an int, 0 for Sunday, 1 for Monday, etc.
Conversion to an int, 0 for Sunday, 1 for Monday, etc.
Conversion to an int 0 for Sunday 1 for Monday etc .
pub fn to_u8(self) -> u8 {
        match self {
            Self::Sun => 0,
            Self::Mon => 1,
            Self::Tue => 2,
            Self::Wed => 3,
            Self::Thu => 4,
            Self::Fri => 5,
            Self::Sat => 6,
        }
    }
pub fn to_u8 ( self ) -> u8 { match self { Self :: Sun => 0 , Self :: Mon => 1 , Self :: Tue => 2 , Self :: Wed => 3 , Self :: Thu => 4 , Self :: Fri => 5 , Self :: Sat => 6 , } }
Conversion to an int, 0 for Sunday, 1 for Monday, etc.
Conversion to an int 0 for Sunday 1 for Monday etc .
self
self