Hi all,
I am handling timestamps in one of my beans. Can someone advise me on
how to write the following script? I am curious about what libraries
you would be using... I am only using java.util.Date and it is not
very flexible.
Function to evaluate a date passed by the function process
On 11/15/05, Lamine Ba [EMAIL PROTECTED] wrote:
Hi all,
I am handling timestamps in one of my beans. Can someone advise me on
how to write the following script? I am curious about what libraries
you would be using... I am only using java.util.Date and it is not
very flexible.
Function to
Calendar cal = Calendar.getInstance();
cal.setTime(timestamp);
cal.add(Calendar.DATE, 2);
Date compareDate = cal.getTime();
if (timestamp.before(compareDate()) return false;
else return true;
It's not Perl, but ...
Hi all,
I am handling timestamps in one of my beans. Can someone advise me
Calendar cal = Calendar.getInstance();
cal.setTime(timestamp);
cal.add(Calendar.DATE, 2);
Date compareDate = cal.getTime();
if (timestamp.before(compareDate()) return false;
else return true;
It's not Perl, but ...
Hi all,
I am handling timestamps in one of my beans. Can someone advise me
I thought I should use Calendar. However, I was not sure how to
manipulate the library. Thanks for the tips Rahul and John. They will
save me a lot of time.
T Lamine Ba
Software Intelligence for Real Estate Professionals.
-Original Message-
From: John Byrd [mailto:[EMAIL PROTECTED]