On 4 March 2011 17:19, Stephen Colebourne <[email protected]> wrote: > On 4 March 2011 17:15, sebb <[email protected]> wrote: >> On 4 March 2011 13:30, <[email protected]> wrote: >>> Log: >>> Document mutability of UTC constant, which isn't ideal > >> AFAICT, it's not used within Lang3 - so why don't we just delete it ? >> >> Does it really offer much benefit, given the drawback of malicious or >> accidental corruption? > > I'm strongly in favour of replacing this with either removing it or > adding a static method that creates a new instance each time it is > called.
Or perhaps replace it with a String constant /** * The UTC time zone id (often referred to as GMT). * Usage: TimeZone.getTimeZone(UTC_TIME_ZONE_ID); */ public static final String UTC_TIME_ZONE_ID = "GMT" ;-) > Stephen > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
