bb.util
Class LocaleTimeZoneUtil

java.lang.Object
  extended by bb.util.LocaleTimeZoneUtil

public class LocaleTimeZoneUtil
extends Object

The original version of this class did Locale and TimeZone checking code for another project. The code that remains merely prints out diagnostic information. Am keeping this around in case some other use for it is ever found...

This class is multithread safe: it is stateless.

Author:
Brent Boyer

Nested Class Summary
static class LocaleTimeZoneUtil.LocaleComparator
          Imposes an ordering on Locales that is consistent with equals; see compare for details.
 
Constructor Summary
private LocaleTimeZoneUtil()
          This private constructor suppresses the default (public) constructor, ensuring non-instantiability.
 
Method Summary
static void main(String[] args)
          Performs the default Locale and TimeZone checks.
private static void printAvailable()
           
private static void printDefaults()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocaleTimeZoneUtil

private LocaleTimeZoneUtil()
This private constructor suppresses the default (public) constructor, ensuring non-instantiability.

Method Detail

main

public static void main(String[] args)
Performs the default Locale and TimeZone checks. When finished, an appropriate sound is played and the JVM is explicitly shut down with an exit code appropriate to the termination (0 if normal, 1 otherwise).


printDefaults

private static void printDefaults()

printAvailable

private static void printAvailable()