bug 59805: make LocaleUtil a static class

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1751601 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Javen O'Neal 2016-07-06 05:40:53 +00:00
parent 78801432ed
commit 0390a566a5
1 changed files with 5 additions and 1 deletions

View File

@ -34,7 +34,11 @@ import java.util.TimeZone;
* The settings are saved in a {@link java.lang.ThreadLocal},
* so they only apply to the current thread and can't be set globally.
*/
public class LocaleUtil {
public final class LocaleUtil {
private LocaleUtil() {
// no instances of this class
}
/**
* Excel doesn't store TimeZone information in the file, so if in doubt,
* use UTC to perform calculations