시간,분,초

smc9759 Reply 5 years 32 weeks ago
simpladateformat이 아닌 integer를 사용하는 방법으로 문제를 풀어야 하나요? import java.text.SimpleDateFormat; import java.util.Date; public class Main { public static void main(String[] args) { Date today = new Date(); SimpleDateFormat time = new SimpleDateFormat( "HH mm ss"); System.out.println(time.format(today)); } }
onacloud Reply 5 years 32 weeks ago
네 integer 계산하세요