Document mutability of UTC constant, which isn't ideal
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1077934 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f446d290d6
commit
5bc14f89d1
|
@ -54,6 +54,8 @@ public class DateUtils {
|
|||
|
||||
/**
|
||||
* The UTC time zone (often referred to as GMT).
|
||||
* Since a {@code TimeZone} is mutable and this is a "constant", it is
|
||||
* essential that this object is not altered.
|
||||
*/
|
||||
public static final TimeZone UTC_TIME_ZONE = TimeZone.getTimeZone("GMT");
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue