539540541542543544545546547548549
o.setValue(Calendar.AM); if (now.get(Calendar.AM_PM) == Calendar.AM) { o.setSelected(true); } ampmSelect.addElement(o); o = new Option(); o.addElement("pm"); o.setValue(Calendar.PM); if (now.get(Calendar.AM_PM) == Calendar.PM)
548549550551552553554555556557558
o.setValue(Calendar.PM); if (now.get(Calendar.AM_PM) == Calendar.PM) { o.setSelected(true); } ampmSelect.addElement(o); return(ampmSelect); } /**
232233234235236237238239240241242
o.setValue(curMonth); if ((now.get(Calendar.MONTH)) == curMonth) { o.setSelected(true); } monthSelect.addElement(o); } return (monthSelect); } /**
268269270271272273274275276277278
o.setValue(currentDay); if (now.get(Calendar.DAY_OF_MONTH) == currentDay) { o.setSelected(true); } daySelect.addElement(o); } return (daySelect); } /**
327328329330331332333334335336337
o.setValue(currentYear); if (currentYear == selectedYear) { o.setSelected(true); } yearSelect.addElement(o); } return (yearSelect); } /**
320321322323324325326327328329330
if (nearestSecond == currentSecond) { o.setSelected(true); } secondSelect.addElement(o); } return (secondSelect); } /**
372373374375376377378379380381382
if (nearestMinute == curMinute) { o.setSelected(true); } minuteSelect.addElement(o); } return (minuteSelect); } /**
425426427428429430431432433434435
o.setValue(currentHour); if (now.get(Calendar.HOUR_OF_DAY) == currentHour) { o.setSelected(true); } hourSelect.addElement(o); } } else { for (int curHour = 1; curHour <= 12; curHour++)
466467468469470471472473474475476
{ o.setSelected(true); } } } hourSelect.addElement(o); } } return (hourSelect); }
504505506507508509510511512513514