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