net.time4j.engine.DisplayStyle Maven / Gradle / Ivy
/*
* -----------------------------------------------------------------------
* Copyright © 2013-2015 Meno Hochschild,
* -----------------------------------------------------------------------
* This file (DisplayStyle.java) is part of project Time4J.
*
* Time4J is free software: You can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published
* by the Free Software Foundation, either version 2.1 of the License, or
* (at your option) any later version.
*
* Time4J is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with Time4J. If not, see .
* -----------------------------------------------------------------------
*/
package net.time4j.engine;
/**
* Describes a generic format style.
*
* @author Meno Hochschild
* @since 3.10/4.7
*/
/*[deutsch]
* Beschreibt einen allgemeinen Formatstil.
*
* @author Meno Hochschild
* @since 3.10/4.7
*/
public interface DisplayStyle {
//~ Methoden ----------------------------------------------------------
/**
* Determines the appropriate {@code DateFormat}-constant.
*
* @return int
* @see java.text.DateFormat#FULL
* @see java.text.DateFormat#LONG
* @see java.text.DateFormat#MEDIUM
* @see java.text.DateFormat#SHORT
* @since 3.10/4.7
*/
/*[deutsch]
* Ermittelt die assoziierte {@code DateFormat}-Konstante.
*
* @return int
* @see java.text.DateFormat#FULL
* @see java.text.DateFormat#LONG
* @see java.text.DateFormat#MEDIUM
* @see java.text.DateFormat#SHORT
* @since 3.10/4.7
*/
int getStyleValue();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy