monthconstants.java
来自「JfreeChart 常用图表例子」· Java 代码 · 共 87 行
JAVA
87 行
/* =================================================== * JCommon : a free general purpose Java class library * =================================================== * * Project Info: http://www.jfree.org/jcommon/index.html * Project Lead: David Gilbert (david.gilbert@object-refinery.com); * * (C) Copyright 2000-2003, by Object Refinery Limited and Contributors. * * 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 2005/06/01 14:12:28 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;}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?