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

net.time4j.tz.ZoneProvider Maven / Gradle / Ivy

There is a newer version: 4.38
Show newest version
/*
 * -----------------------------------------------------------------------
 * Copyright © 2013-2016 Meno Hochschild, 
 * -----------------------------------------------------------------------
 * This file (ZoneProvider.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.tz;


/**
 * 

SPI interface which encapsulates the timezone transitions and names.

* *

Implementations are usually stateless and should normally not * try to manage a cache. Instead Time4J uses its own cache. The * fact that this interface is used per {@code java.util.ServiceLoader} * requires a concrete implementation to offer a public no-arg * constructor.

* * @author Meno Hochschild * @since 2.2 * @see java.util.ServiceLoader * @deprecated Use the super interfaces instead */ /*[deutsch] *

SPI-Interface, das eine Zeitzonendatenbank mitsamt Zeitzonennamen kapselt.

* *

Implementierungen sind in der Regel zustandslos und halten keinen * Cache. Letzterer sollte normalerweise der Klasse {@code Timezone} * vorbehalten sein. Weil dieses Interface mittels eines * {@code java.util.ServiceLoader} genutzt wird, muß eine * konkrete Implementierung einen öffentlichen Konstruktor ohne * Argumente definieren.

* * @author Meno Hochschild * @since 2.2 * @see java.util.ServiceLoader * @deprecated Use the super interfaces instead */ @Deprecated public interface ZoneProvider extends ZoneModelProvider, ZoneNameProvider { }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy