pub fn to_u8(self) -> u8 {
        match self {
            Self::Jan => 1,
            Self::Feb => 2,
            Self::Mar => 3,
            Self::Apr => 4,
            Self::May => 5,
            Self::Jun => 6,
            Self::Jul => 7,
            Self::Aug => 8,
            Self::Sep => 9,
            Self::Oct => 10,
            Self::Nov => 11,
            Self::Dec => 12,
        }
    }
/// Converts to an int, 1 for January, 2 for February, etc.
Converts to an int, 1 for January, 2 for February, etc.
Converts to an int 1 for January 2 for February etc .
pub fn to_u8(self) -> u8 {
        match self {
            Self::Jan => 1,
            Self::Feb => 2,
            Self::Mar => 3,
            Self::Apr => 4,
            Self::May => 5,
            Self::Jun => 6,
            Self::Jul => 7,
            Self::Aug => 8,
            Self::Sep => 9,
            Self::Oct => 10,
            Self::Nov => 11,
            Self::Dec => 12,
        }
    }
pub fn to_u8 ( self ) -> u8 { match self { Self :: Jan => 1 , Self :: Feb => 2 , Self :: Mar => 3 , Self :: Apr => 4 , Self :: May => 5 , Self :: Jun => 6 , Self :: Jul => 7 , Self :: Aug => 8 , Self :: Sep => 9 , Self :: Oct => 10 , Self :: Nov => 11 , Self :: Dec => 12 , } }
Converts to an int, 1 for January, 2 for February, etc.
Converts to an int 1 for January 2 for February etc .
self
self