pub fn next_month(self) -> MonthTuple {
        if self.y == 9999 && self.m == 12 {
            return self;
        }
        if self.m == 12 {
            MonthTuple {
                y: self.y + 1,
                m: 1,
            }
        } else {
            MonthTuple {
                y: self.y,
                m: self.m + 1,
            }
        }
    }
/// Gets a MonthTuple representing the month immediately following
/// the current one. Will not go past Dec 9999.
Gets a MonthTuple representing the month immediately following
the current one. Will not go past Dec 9999.
Gets a MonthTuple representing the month immediately following the current one . Will not go past Dec 9999 .
pub fn next_month(self) -> MonthTuple {
        if self.y == 9999 && self.m == 12 {
            return self;
        }
        if self.m == 12 {
            MonthTuple {
                y: self.y + 1,
                m: 1,
            }
        } else {
            MonthTuple {
                y: self.y,
                m: self.m + 1,
            }
        }
    }
pub fn next_month ( self ) -> MonthTuple { if self . y == 9999 && self . m == 12 { return self ; } if self . m == 12 { MonthTuple { y : self . y + 1 , m : 1 , } } else { MonthTuple { y : self . y , m : self . m + 1 , } } }
Gets a MonthTuple representing the month immediately following
the current one.
Gets a MonthTuple representing the month immediately following the current one .
self
self