RE: [OT] A date utility? anyone, pls help

2003-08-26 Thread Yansheng Lin
43 AM To: 'Struts Users Mailing List' Subject: RE: [OT] A date utility? anyone, pls help How about DateA(mod)DateB? Does it work for floating point:). -Original Message- From: Jason Lea [mailto:[EMAIL PROTECTED] Sent: August 26, 2003 5:28 AM To: Struts Users Mailing List Subj

RE: [OT] A date utility? anyone, pls help

2003-08-26 Thread Yansheng Lin
How about DateA(mod)DateB? Does it work for floating point:). -Original Message- From: Jason Lea [mailto:[EMAIL PROTECTED] Sent: August 26, 2003 5:28 AM To: Struts Users Mailing List Subject: Re: [OT] A date utility? anyone, pls help Butt, Dudley wrote: > I know you guys are

Re: [OT] A date utility? anyone, pls help

2003-08-26 Thread Jason Lea
Butt, Dudley wrote: I know you guys are all excellent java programmers, so I do believe someone has what I'm looking for? I really please need a date utility class that accurately calculates the number of years between 2 dates? Would appreciate it very much thx!! I can think of 2 ways of measurin

Re: [OT] A date utility? anyone, pls help

2003-08-26 Thread matsuhashi
I checked the http://www.horstmann.com/corejava.html and downloaded the "corejava.zip" sample file. I got surprised to find that the "corejava.Day" class is no longer included in the zip. I have the 4th edition of the book at hand where the "corejava.Day" class is surely explained. However it seem

RE: [OT] A date utility? anyone, pls help

2003-08-26 Thread Butt, Dudley
thanx guys for all the input, i'm sure I'll come up with something, with all the emails -Original Message- From: Hue Holleran [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 26, 2003 11:36 AM To: Struts Users Mailing List Subject: RE: [OT] A date utility? anyone, pls help I

RE: [OT] A date utility? anyone, pls help

2003-08-26 Thread Butt, Dudley
yes, that would be great, a fraction , yes please -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 26, 2003 11:18 AM To: Struts Users Mailing List Cc: [EMAIL PROTECTED] Subject: Re: [OT] A date utility? anyone, pls help

Re: [OT] A date utility? anyone, pls help

2003-08-26 Thread graham . stark
Quoting [EMAIL PROTECTED]: > > My favorite "Core Java" book proposes the "corejava.Day" class (see > http://www.horstmann.com/corejava.html) which has > int daysBetween(Day b) > method. Tt calcurates the number of days between 2 dates, rather than > "years". Do you want the number of years i

RE: [OT] A date utility? anyone, pls help

2003-08-26 Thread Mark Galbreath
java.util.Calendar Mark -Original Message- From: Butt, Dudley [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 26, 2003 4:19 AM I really please need a date utility class that accurately calculates the number of years between 2 dates? ---

RE: [OT] A date utility? anyone, pls help

2003-08-26 Thread Hue Holleran
I read a lot about "BigDate" - but it's shareware @ $10, I think. Never had to use it myself but here's the link: http://mindprod.com/jgloss/bigdate.html#BIGDATE There is also a very good tutorial on dates (see "Computer Dating" link), here: http://java.sun.com/people/linden/intr

RE: [OT] A date utility? anyone, pls help

2003-08-26 Thread Butt, Dudley
- From: Kwok Peng Tuck [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 26, 2003 11:00 AM To: Struts Users Mailing List Subject: Re: [OT] A date utility? anyone, pls help Try java.util.Calendar or java.util.GregorianCalendar. Butt, Dudley wrote: >I know you guys are all excellent j

Re: [OT] A date utility? anyone, pls help

2003-08-26 Thread matsuhashi
My favorite "Core Java" book proposes the "corejava.Day" class (see http://www.horstmann.com/corejava.html) which has int daysBetween(Day b) method. Tt calcurates the number of days between 2 dates, rather than "years". Do you want the number of years in fraction ( like 1.43234

RE: [OT] A date utility? anyone, pls help

2003-08-26 Thread Bill Chmura
Can you just create two DATE objects, subtract them to get the difference? > -Original Message- > From: Butt, Dudley [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 26, 2003 4:19 AM > To: 'Struts Users Mailing List' > Subject: [OT] A date utility? anyone, pls help > >

Re: [OT] A date utility? anyone, pls help

2003-08-26 Thread Kwok Peng Tuck
Try java.util.Calendar or java.util.GregorianCalendar. Butt, Dudley wrote: I know you guys are all excellent java programmers, so I do believe someone has what I'm looking for? I really please need a date utility class that accurately calculates the number of years between 2 dates? Would appreci