摘要:
如图: 阅读全文
posted @ 2013-01-15 17:33
有梦想的小人物
阅读(329)
评论(0)
推荐(0)
摘要:
public int gethour() { Calendar c = Calendar.getInstance(); int hour = c.get(Calendar.HOUR_OF_DAY); return hour; }只取小时单位,可以跟据当前时间来判断餐别。 String ly_time = new SimpleDateFormat("yyyy-MM-dd").format(Calendar.getInstance().getTime()); 取到年月日。 阅读全文
posted @ 2013-01-15 14:44
有梦想的小人物
阅读(222)
评论(0)
推荐(0)

浙公网安备 33010602011771号