Exemple #1
0
        /// <summary>
        /// Move to the next day in the calendar
        /// </summary>
        public List <Tuple <Note, string> > addDay()
        {
            calendar.addDay();

            List <Tuple <Note, string> > notesAndDate = new List <Tuple <Note, string> >();

            List <Note> notesOnThisDay = findNotesToList();

            foreach (Note n in notesOnThisDay)
            {
                notesAndDate.Add(new Tuple <Note, string>(n, this.calendar.ToString()));
            }

            return(notesAndDate);
        }