Beispiel #1
0
        public CCalendar getCalendar(int year, int month, int day)
        {
            DateTime time = new DateTime(year, month, day);

            if (calenderDictionary_.ContainsKey(time) == true)
            {
                return(calenderDictionary_[time]);
            }

            CCalendar emptyCalendar = new CCalendar();

            return(emptyCalendar);
        }
Beispiel #2
0
 public void addCalendar(CCalendar calendar)
 {
     calenderDictionary_.Add(calendar.Time, calendar);
 }