一叶梧桐

2014年8月18日

JAVA判断当前时间是上午am还是下午pm

摘要: //结果为“0”是上午结果为“1”是下午publicclassGregorianTest{publicstaticvoidmain(Stringargs[]){GregorianCalendarca=newGregorianCalendar();System.out.println(ca.get(G... 阅读全文

posted @ 2014-08-18 15:32 一叶梧桐 阅读(3839) 评论(0) 推荐(0)