Method getTime()
Return type:
java.util.Date
Member of:
java.util.Calendar
[
api documentation
] [
main menu
]
Examples of how the element is used
(one line per example):
[
add your own example
]
1
Date date = Calendar.getInstance().getTime();
2
return calendar.getTime().getTime();
3
java.util.Date date = new java.util.GregorianCalendar().getTime();
4
return new SimpleDateFormat( pattern ).format(c.getTime());
5
return dateFormat.format(cal.getTime());
6
return (System.currentTimeMillis() < nextRollDate.getTime().getTime());
7
return toXml(calendar.getTime());
8
jan1_1970 = cal.getTime();
9
String time = Calendar.getInstance().getTime().toString();
10
executeAtNextDOW(job, now.getTime(), Calendar.SUNDAY);
11
return zulu.format(_value.getTime());
12
System.out.println("retrieved element:"+getDate().getTime());
13
ElfDebug.trace("Time: " + Calendar.getInstance().getTime().toString());
14
long millis = calendar.getTime().getTime();
15
BigInteger nowMillis = BigInteger.valueOf(now.getTime().getTime());
16
String timeTxt = formatter.format(gCal.getTime());
17
return BlojsomUtils.getFormattedDate(_calendar.getTime(), AbstractCalendarPlugin.BLOJSOM_CALENDAR_FORMAT);
18
return (ArrayList) dayMapper.get(calendar.getTime());
19
java.util.Date date = calendar.getTime();
20
Date expected = cal.getTime();
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.