Whether you use existing classes for dates and times or develop your own, the Schedule class you're designing will have to contain events with names, start and stop dates and times, and the methods...
Type: Posts; User: GregBrannon
Whether you use existing classes for dates and times or develop your own, the Schedule class you're designing will have to contain events with names, start and stop dates and times, and the methods...
There are many tutorials with example code on the web for Java Calendar, GregorianCalendar, Date, etc. Dive in and start reading and writing.
I understand the beginner's concern that MoreClasses = MoreComplicated.
That's simply not true if the MoreClasses side of the equation is mostly classes that already exist in Core Java. That...
You said that you could use ints to represent time, but did you know that Java already has Calendar and Date classes that are very useful for this kind of thing? Can you use those?