[code type=java5]
public void createToday() {
//날짜생성
String patternDate = "yyyyMMdd";
sd = new SimpleDateFormat(patternDate);
this.date = sd.format(d);
//시간생성
String patternTime = "hh:mm:ss";
sd = new SimpleDateFormat(patternTime);
this.time = sd.format(d);
}
[/code]
댓글 없음:
댓글 쓰기