Doug Chestnut wrote:


Andreas Hartmann wrote:

[...]

IMO the Document.getExpires() and ResourceType().getExpires() shouldn't
return a formatted string, but rather either an integer (number of
seconds) or a Date object. The date format is specific to the particular
usage scenario (HTTP headers), which might be seen as closely related to
the  input module functionality - so IMO the date formatting could be
done by the input module.

WDY (and the others) T?

I agree, I prefer the Date object over the number of seconds,

OK, I think this is the better solution (no javadocs needed to
understand the method)

thanks for the review!

Thanks for the quick response! :)

-- Andreas




--
Andreas Hartmann
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
[EMAIL PROTECTED]                     [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to