//中文 上午/下午SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd a hh:mm");System.out.println(sdf.format(new Date()));//am/pmSimpleDateFormat sdf2 = new SimpleDateFormat("yyyy-MM-dd a hh:mm",Locale.ENGLISH);System.out.println(sdf2.format(new Date()));
200字范文,内容丰富有趣,生活中的好帮手!