12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091 |
- /* ========================================================================
- * JCommon : a free general purpose class library for the Java(tm) platform
- * ========================================================================
- *
- * (C) Copyright 2000-2005, by Object Refinery Limited and Contributors.
- *
- * Project Info: http://www.jfree.org/jcommon/index.html
- *
- * This library 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.
- *
- * This library 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 this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
- * USA.
- *
- * [Java is a trademark or registered trademark of Sun Microsystems, Inc.
- * in the United States and other countries.]
- *
- * -------------------
- * MonthConstants.java
- * -------------------
- * (C) Copyright 2002, 2003, by Object Refinery Limited.
- *
- * Original Author: David Gilbert (for Object Refinery Limited);
- * Contributor(s): -;
- *
- * $Id: MonthConstants.java,v 1.4 2005/11/16 15:58:40 taqua Exp $
- *
- * Changes
- * -------
- * 29-May-2002 : Version 1 (code moved from SerialDate class) (DG);
- *
- */
- 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).
- * <P>
- * 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;
- }
|