JAVA判断当前时间是上午am还是下午pm
摘要://结果为“0”是上午结果为“1”是下午publicclassGregorianTest{publicstaticvoidmain(Stringargs[]){GregorianCalendarca=newGregorianCalendar();System.out.println(ca.get(G...
阅读全文
posted @ 2014-08-18 15:32
posted @ 2014-08-18 15:32
posted @ 2014-06-19 17:12
posted @ 2014-06-19 16:55