¸Â½À´Ï´Ù.
[ ´ÙÀ½ ±Ûµé ] [ ÀÌ¾î¼ ±Û¿Ã¸®±â(´äÇϱâ) ] [ ÀÚ¹Ù ¹¯°í ´äÇϱâ ]
±Û¾´ÀÌ :À±°æ±¸ 2000³â 2¿ù 16ÀÏ 18:34:51
In Reply to: new Date(File.lastModified()) ·Î ÇØ º¸´Ï ÀÌ»óÇÑ ³¯Â¥°¡ Ãâ·Â???? posted by ÀÌ¿¬È£ on 2000³â 2¿ù 16ÀÏ 17:58:37:
long °ªÀº 1970³â 1¿ù 1ÀÏ 0½Ã 0ºÐ (GMT) ºÎÅÍÀÇ ¹Ð¸®ÃÊ°ªÀ» ³ªÅ¸³À´Ï´Ù.
Date Ŭ·¡½º¿¡ ´ëÇÑ ¼³¸íÀº java.util.Date Ŭ·¡½ºÀÇ API ¹®¼¸¦ º¸¸é ´ÙÀ½°ú °°ÀÌ Àß ³ª¿Í ÀÖ½À´Ï´Ù.
- A year y is represented by the integer
y - 1900
.
- A month is represented by an integer form 0 to 11; 0 is January,
1 is February, and so forth; thus 11 is December.
- A date (day of month) is represented by an integer from 1 to 31
in the usual manner.
- An hour is represented by an integer from 0 to 23. Thus, the hour
from midnight to 1 a.m. is hour 0, and the hour from noon to 1
p.m. is hour 12.
- A minute is represented by an integer from 0 to 59 in the usual manner.
- A second is represented by an integer from 0 to 61; the values 60 and
61 occur only for leap seconds and even then only in Java
implementations that actually track leap seconds correctly. Because
of the manner in which leap seconds are currently introduced, it is
extremely unlikely that two leap seconds will occur in the same
minute, but this specification follows the date and time conventions
for ISO C.
API ¹®¼ºÎÅÍ »ìÆ캸µµ·Ï ÇϽʽÿÀ.
´ÙÀ½ ±Ûµé:
ÀÌ¾î¼ ±Û¿Ã¸®±â(´äÇϱâ)