net.time4j.CalendarDateElement Maven / Gradle / Ivy
/*
* -----------------------------------------------------------------------
* Copyright © 2013-2014 Meno Hochschild,
* -----------------------------------------------------------------------
* This file (CalendarDateElement.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;
/**
* Represents the calendar date.
*
* @author Meno Hochschild
* @since 1.2
*/
/*[deutsch]
* Repräsentiert das Kalenderdatum.
*
* @author Meno Hochschild
* @since 1.2
*/
public interface CalendarDateElement
extends ZonalElement {
//~ Methoden ----------------------------------------------------------
/**
* Adjusts a calendar date to the first day of next month.
*
* @return operator also applicable on {@code PlainTimestamp}
* @since 1.2
*/
/*[deutsch]
* Setzt ein Datum auf den ersten Tag des nächsten Monats.
*
* @return operator also applicable on {@code PlainTimestamp}
* @since 1.2
*/
ElementOperator firstDayOfNextMonth();
/**
* Adjusts a calendar date to the first day of next quarter year.
*
* @return operator also applicable on {@code PlainTimestamp}
* @since 1.2
*/
/*[deutsch]
* Setzt ein Datum auf den ersten Tag des nächsten Quartals.
*
* @return operator also applicable on {@code PlainTimestamp}
* @since 1.2
*/
ElementOperator firstDayOfNextQuarter();
/**
* Adjusts a calendar date to the first day of next year.
*
* @return operator also applicable on {@code PlainTimestamp}
* @since 1.2
*/
/*[deutsch]
* Setzt ein Datum auf den ersten Tag des nächsten Jahres.
*
* @return operator also applicable on {@code PlainTimestamp}
* @since 1.2
*/
ElementOperator firstDayOfNextYear();
/**
* Adjusts a calendar date to the last day of previous month.
*
* @return operator also applicable on {@code PlainTimestamp}
* @since 1.2
*/
/*[deutsch]
* Setzt ein Datum auf den letzten Tag des vorherigen Monats.
*
* @return operator also applicable on {@code PlainTimestamp}
* @since 1.2
*/
ElementOperator lastDayOfPreviousMonth();
/**
* Adjusts a calendar date to the last day of previous quarter year.
*
* @return operator also applicable on {@code PlainTimestamp}
* @since 1.2
*/
/*[deutsch]
* Setzt ein Datum auf den letzten Tag des vorherigen Quartals.
*
* @return operator also applicable on {@code PlainTimestamp}
* @since 1.2
*/
ElementOperator lastDayOfPreviousQuarter();
/**
* Adjusts a calendar date to the last day of previous year.
*
* @return operator also applicable on {@code PlainTimestamp}
* @since 1.2
*/
/*[deutsch]
* Setzt ein Datum auf den letzten Tag des vorherigen Jahres.
*
* @return operator also applicable on {@code PlainTimestamp}
* @since 1.2
*/
ElementOperator lastDayOfPreviousYear();
}