Sorting a List of Calendar Objects

M

Michael Borgwardt

Funny said:
What package is CalendarComparator in?

None. You have to write it yourself, but it's very easy if you
look at the API docs, which explain exactly what you have to do.
 
P

Paul Lutus

Funny said:
Being lazy here...

Do you have a method already built that I could use?

"Don't teach me how to fish, just give me the fish!"

This newsgroup is for programmers, not for consumers of programs. Read the
specifics of the Calendar class, in particular the methods after() and
before(), and of course the specifics of interface Comparator.
 
F

Funny

Sorry I asked a programming question.

I was looking for a method that someone had already created that I could
possibly reuse. I believe that 'reuse' is a common practice in coding isn't
it?

Thanks for your help... oh you really didn't provide any.
 
P

Paul Lutus

Funny said:
Sorry I asked a programming question.

You did not ask a programming question, proven by the fact that you rejected
all the specific programming answers.
I was looking for a method that someone had already created that I could
possibly reuse. I believe that 'reuse' is a common practice in coding
isn't it?

Reuse is what happens after programmers write the code in the first place.
If all possible programs had already been written, there would be no need
for programmers, but as you can see, this hasn't happened. If you want to
be a programmer, and in particular if you want to post here, at least
pretend to be a programmer.

Meanwhile, go to comp.lang.java.give.it.to.me. And yes, there is a reason
this newsgroup doesn't exist.
Thanks for your help... oh you really didn't provide any.

False. The advice you were offered was exactly what a prorgammer would have
needed, even though it clearly wasn't what you wanted.

When you are given a homework assignment, you have to actually code the
result. To do otherwise is fraud.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,682
Members
48,796
Latest member
Greg L.

Latest Threads

Top