WorldClock/Scripts/TimeData.cs
/// <summary>
/// Moves the TimeData object forward a month and calls any events that many occur during that rollover
/// </summary>
Moves the TimeData object forward a month and calls any events that many occur during that rollover
Moves the TimeData object forward a month and calls any events that many occur during that rollover
public virtual void AddAMonth()
    {
        if (months + 1 == MyGlobalTime.monthsInAYear)
        {
            months = 0;
            AddAYear();
        }
        else
            months += 1;
        if (NewMonth != null)
            NewMonth();
    }
public virtual void AddAMonth ( ) { if ( months + 1 == MyGlobalTime . monthsInAYear ) { months = 0 ; AddAYear ( ) ; } else months += 1 ; if ( NewMonth != null ) NewMonth ( ) ; }
Moves the TimeData object forward a month and calls any events that many occur during that rollover
Moves the TimeData object forward a month and calls any events that many occur during that rollover