DefaultLocale.java
package org.djunits.locale;
import java.util.Locale;
/**
* <p>
* Copyright (c) 2015-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved. <br>
* BSD-style license. See <a href="http://djunits.org/docs/license.html">DJUNITS License</a>.
* <p>
* $LastChangedDate: 2019-01-18 00:35:01 +0100 (Fri, 18 Jan 2019) $, @version $Revision: 324 $, by $Author: averbraeck $,
* initial version Jun 3, 2014 <br>
* @author <a href="http://www.tbm.tudelft.nl/averbraeck">Alexander Verbraeck</a>
* @author <a href="http://www.tudelft.nl/pknoppers">Peter Knoppers</a>
*/
public abstract class DefaultLocale
{
/** The default locale to use in djunits. */
private static Locale locale;
/**
* @return locale
*/
public static Locale getLocale()
{
return DefaultLocale.locale;
}
/**
* @param locale Locale; set locale
*/
public static void setLocale(final Locale locale)
{
DefaultLocale.locale = locale;
}
}