Results 1 to 4 of 4
- 10-30-2011, 05:38 PM #1
Member
- Join Date
- Oct 2011
- Posts
- 5
- Rep Power
- 0
- 10-30-2011, 05:42 PM #2
Member
- Join Date
- Oct 2011
- Posts
- 92
- Rep Power
- 0
Re: Calendar now = Calendar.getInstance()
Yup. Creates a Calendar with the current date plugged into it, or in computery terms,
Initialises a calendar object too the current date/time as described by the current system time.
- 10-31-2011, 07:04 PM #3
Member
- Join Date
- Oct 2011
- Posts
- 5
- Rep Power
- 0
Re: Calendar now = Calendar.getInstance()
Thanks. I'm really new to Java and find it very interesting. I googled this topic and found what I was looking for. The Calendar.getInstance() returns a calendar object and Initialize it with the current system time.
Its just that I'm under the impression that you have to use the new statement to create an object but then again I know you use new to call a constructor method of a class.
- 10-31-2011, 10:25 PM #4
Similar Threads
-
question about method calendar.get(Calendar.DAY_OF_WEEK))
By elenora in forum Advanced JavaReplies: 4Last Post: 09-21-2011, 04:39 PM -
Calendar Help Please
By loopsnhoops in forum New To JavaReplies: 4Last Post: 05-24-2011, 10:35 AM -
How to add a calendar????
By zifis in forum New To JavaReplies: 5Last Post: 04-07-2009, 04:04 PM -
Calendar bug?
By Stigvig in forum Advanced JavaReplies: 14Last Post: 02-08-2009, 09:56 AM -
calendar
By John in forum SWT / JFaceReplies: 12Last Post: 08-07-2008, 10:54 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks