org.jfree.date.MonthConstants Maven / Gradle / Ivy
Show all versions of jtstand-common Show documentation
/*
* Copyright (c) 2009 Albert Kurucz.
*
* This file, MonthConstants.java is part of JTStand.
*
* JTStand 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 3 of the License, or
* (at your option) any later version.
*
* JTStand 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 GTStand. If not, see .
*/
package org.jfree.date;
/**
* Useful constants for months. Note that these are NOT equivalent to the
* constants defined by java.util.Calendar (where JANUARY=0 and DECEMBER=11).
*
* Used by the SerialDate and RegularTimePeriod classes.
*
* @author David Gilbert
*/
public interface MonthConstants {
/** Constant for January. */
public static final int JANUARY = 1;
/** Constant for February. */
public static final int FEBRUARY = 2;
/** Constant for March. */
public static final int MARCH = 3;
/** Constant for April. */
public static final int APRIL = 4;
/** Constant for May. */
public static final int MAY = 5;
/** Constant for June. */
public static final int JUNE = 6;
/** Constant for July. */
public static final int JULY = 7;
/** Constant for August. */
public static final int AUGUST = 8;
/** Constant for September. */
public static final int SEPTEMBER = 9;
/** Constant for October. */
public static final int OCTOBER = 10;
/** Constant for November. */
public static final int NOVEMBER = 11;
/** Constant for December. */
public static final int DECEMBER = 12;
}