custom formatter
custom formatter
- Subject: custom formatter
- From: Dev WO <email@hidden>
- Date: Mon, 18 Jul 2005 13:20:23 +0200
Hi,
I'm not sure the subject is correct, but here's my problem:
I've got warranty validity information stored as weeks in the
database. I'd like to display them in either week(s), month or year
(s), but not like "3.5 month", I'd like the number to always be an
integer (not rounded), so a 6 weeks warranty will be displayed "6
weeks" and a 4 weeks warranty will be dispayed "1 month".
Does anyone has a suggestion for this? I tried to dig into different
date APIs (like the apache common and the java one), but I don't
think it's the way to go...
Thanks
Xavier
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden