Date-101 Flashcards
What is the precision limit for Date?
milliseconds
By default which Timezone date class shows?
UTC ( Cordinated UT)
What is the Diff b/w GMT & UT
GMT is civil name, UT is scientific name for same standard
What is diff b/w UT and UTC?
UTC is based in atomic clock, UT is astronomical based
How the year is represented?
small y
How the date is represented?
1 to 31
How is Hour is represented?
0-23
How is month is represented?
,0-11
ow is minute is represented?
0-59
How is the second represented?
0-60,61
Say some constructors of Date?
Date() , Date(millis) : get the time from January 1 1970 00;00;00 GMT
Say some good methods of Date?
after(Date when), before(Date when) clone() compareTo(Date 02) equals(Date o2)
Which class we should use for conversion?
Calendar
What is the default toString form?
dow mon dd hh:mm:ss zzz yyyy
What is the epoch?
1 January 1970 00;00;00