(T context)
| 1240 | } |
| 1241 | |
| 1242 | @Override |
| 1243 | public Weekday getMaximum(T context) { |
| 1244 | |
| 1245 | PlainDate date = context.get(CALENDAR_DATE); |
| 1246 | int oldNum = date.getDayOfWeek().getValue(this.element.getModel()); |
| 1247 | |
| 1248 | if (date.getDaysSinceEpochUTC() + 7 - oldNum > PlainDate.axis().getCalendarSystem().getMaximumSinceUTC()) { |
| 1249 | return PlainDate.MAX.getDayOfWeek(); |
| 1250 | } |
| 1251 | |
| 1252 | return this.element.getDefaultMaximum(); |
| 1253 | |
| 1254 | } |
| 1255 | |
| 1256 | @Override |
| 1257 | public boolean isValid( |
nothing calls this directly
no test coverage detected