www.pudn.com > jworkbook-0.3.0.zip > MonthConstants.java
/* ================================================= * JWorkbook : data export from Java to spreadsheets * ================================================= * * Project Info: http://www.jfree.org/jworkbook/index.html; * Project Lead: David Gilbert (david.gilbert@object-refinery.com); * * (C) Copyright 2001-2003, by Object Refinery Limited. * * 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., 59 Temple Place, Suite 330, * Boston, MA 02111-1307, USA. * * ------------------- * 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.2 2003/06/05 08:07:07 mungady Exp $ * * Changes * ------- * 08-Jul-2003 : Version 1 copied from JCommon (DG); * */ package org.jfree.workbook.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; }