2 * Namespace: System.Web.UI.WebControls
\r
5 * Author: Gaurav Vaish
\r
6 * Maintainer: gvaish@iitk.ac.in
\r
7 * Contact: <my_scripts2001@yahoo.com>, <gvaish@iitk.ac.in>
\r
8 * Implementation: yes
\r
11 * (C) Gaurav Vaish (2001)
\r
16 using System.Web.UI;
\r
18 namespace System.Web.UI.WebControls
\r
20 public class CalendarDay
\r
22 private DateTime date;
\r
23 private bool isWeekend;
\r
24 private bool isToday;
\r
25 private bool isSelected;
\r
26 private bool isOtherMonth;
\r
27 private bool isSelectable;
\r
28 private string dayNumberText;
\r
30 public CalendarDay(DateTime date, bool isWeekend, bool isToday, bool isSelected, bool isOtherMonth, string dayNumberText)
\r
33 this.isWeekend = isWeekend;
\r
34 this.isToday = isToday;
\r
35 this.isSelected = isSelected;
\r
36 this.isOtherMonth = isOtherMonth;
\r
37 this.dayNumberText = dayNumberText;
\r
40 public DateTime Date
\r
48 public string DayNumberText
\r
52 return dayNumberText;
\r
56 public bool IsOtherMonth
\r
60 return isOtherMonth;
\r
64 public bool IsSelectable
\r
68 return isSelectable;
\r
72 isSelectable = value;
\r
76 public bool IsSelected
\r
92 public bool IsWeekend
\r