All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.guise.framework.converter.LocaleStringLiteralStyle Maven / Gradle / Ivy

There is a newer version: 0.5.3
Show newest version
/*
 * Copyright © 2005-2008 GlobalMentor, Inc. 
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package io.guise.framework.converter;

/** The style of a date in its string literal form. */
public enum LocaleStringLiteralStyle {
	/** A name for the locale's country that is appropriate for display to the user. */
	COUNTRY,
	/** The uppercase ISO 3166 two-letter country/region code for the locale. */
	COUNTRY_CODE_2,
	/** The uppercase ISO 3166 three-letter country/region code for the locale. */
	COUNTRY_CODE_3,
	/** A name for the locale's language that is appropriate for display to the user. */
	LANGUAGE,
	/** The lowercase ISO 639 two-letter language code for the locale. */
	LANGUAGE_CODE_2,
	/** The lowercase ISO 639-2/T three-letter language code */
	LANGUAGE_CODE_3,
	/** The RFC 1766 language tag, such as en-US. */
	LANGUAGE_TAG,
	/** A name for the locale that is appropriate for display to the user, such as language (country, variant). */
	NAME,
	/** A name for the locale's variant code that is appropriate for display to the user. */
	VARIANT,
	/** The variant code for the locale. */
	VARIANT_CODE;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy