Re: How do I set a TimeZone for VelocityTools DateTool?
Christopher Schultz <[email protected]>
| Newsgroups | gmane.comp.jakarta.velocity.user |
|---|---|
| Message-ID | <[email protected]> |
Doug, On 8/14/12 5:20 PM, Doug Breaux wrote: > Both the VelocityTools Tools Usage Summary and the DateTool Javadoc seem > to indicate a configuration mechanism for setting a TimeZone, but I > simply can't discover what that is. > > DateTool's timezone setter is protected, and I don't want repeatedly > pass a TimeZone into the overloaded format() methods. You might want to: your users might be in different TimeZones and you don't want to force an arbitrary TimeZone (yours?) upon them, do you? -chris
signature.asc
(application/pgp-signature, 304 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Mozilla - http://www.enigmail.net/ iEYEARECAAYFAlBQ3j4ACgkQ9CaO5/Lv0PCK+ACgrQmkCzHZfknJXW+U+oop2lLX cDEAn1uUSIMXtjzWGpoA8AxLC3gXL0vm =rM64 -----END PGP SIGNATURE-----