Lines Matching refs:mc
31 DayOfMonthCursor mc = new DayOfMonthCursor(2007,
35 mc.getDigitsForRow(0));
37 mc.getDigitsForRow(1));
39 mc.getDigitsForRow(5));
44 DayOfMonthCursor mc = new DayOfMonthCursor(2007,
47 assertEquals(Calendar.SEPTEMBER, mc.getMonth());
48 assertEquals(3, mc.getSelectedDayOfMonth());
49 assertEquals(1, mc.getSelectedRow());
50 assertEquals(1, mc.getSelectedColumn());
53 assertFalse(mc.left());
54 assertEquals(2, mc.getSelectedDayOfMonth());
55 assertEquals(1, mc.getSelectedRow());
56 assertEquals(0, mc.getSelectedColumn());
59 assertFalse(mc.left());
60 assertEquals(1, mc.getSelectedDayOfMonth());
61 assertEquals(0, mc.getSelectedRow());
62 assertEquals(6, mc.getSelectedColumn());
65 assertTrue(mc.left());
66 assertEquals(Calendar.AUGUST, mc.getMonth());
67 assertEquals(31, mc.getSelectedDayOfMonth());
68 assertEquals(4, mc.getSelectedRow());
69 assertEquals(5, mc.getSelectedColumn());
74 DayOfMonthCursor mc = new DayOfMonthCursor(2007,
77 assertEquals(Calendar.SEPTEMBER, mc.getMonth());
78 assertEquals(28, mc.getSelectedDayOfMonth());
79 assertEquals(4, mc.getSelectedRow());
80 assertEquals(5, mc.getSelectedColumn());
83 assertFalse(mc.right());
84 assertEquals(29, mc.getSelectedDayOfMonth());
85 assertEquals(4, mc.getSelectedRow());
86 assertEquals(6, mc.getSelectedColumn());
89 assertFalse(mc.right());
90 assertEquals(30, mc.getSelectedDayOfMonth());
91 assertEquals(5, mc.getSelectedRow());
92 assertEquals(0, mc.getSelectedColumn());
95 assertTrue(mc.right());
96 assertEquals(Calendar.OCTOBER, mc.getMonth());
97 assertEquals(1, mc.getSelectedDayOfMonth());
98 assertEquals(0, mc.getSelectedRow());
99 assertEquals(1, mc.getSelectedColumn());
104 DayOfMonthCursor mc = new DayOfMonthCursor(2007,
107 assertEquals(Calendar.SEPTEMBER, mc.getMonth());
108 assertEquals(13, mc.getSelectedDayOfMonth());
109 assertEquals(2, mc.getSelectedRow());
110 assertEquals(4, mc.getSelectedColumn());
113 assertFalse(mc.up());
114 assertEquals(6, mc.getSelectedDayOfMonth());
115 assertEquals(1, mc.getSelectedRow());
116 assertEquals(4, mc.getSelectedColumn());
119 assertTrue(mc.up());
120 assertEquals(Calendar.AUGUST, mc.getMonth());
121 assertEquals(30, mc.getSelectedDayOfMonth());
122 assertEquals(4, mc.getSelectedRow());
123 assertEquals(4, mc.getSelectedColumn());
128 DayOfMonthCursor mc = new DayOfMonthCursor(2007,
131 assertEquals(Calendar.SEPTEMBER, mc.getMonth());
132 assertEquals(23, mc.getSelectedDayOfMonth());
133 assertEquals(4, mc.getSelectedRow());
134 assertEquals(0, mc.getSelectedColumn());
137 assertFalse(mc.down());
138 assertEquals(30, mc.getSelectedDayOfMonth());
139 assertEquals(5, mc.getSelectedRow());
140 assertEquals(0, mc.getSelectedColumn());
143 assertTrue(mc.down());
144 assertEquals(Calendar.OCTOBER, mc.getMonth());
145 assertEquals(7, mc.getSelectedDayOfMonth());
146 assertEquals(1, mc.getSelectedRow());
147 assertEquals(0, mc.getSelectedColumn());