/* * @(#)CalendarSystem.java 1.6 06/10/10 * * Copyright 1990-2008 Sun Microsystems, Inc. All Rights Reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License version * 2 only, as published by the Free Software Foundation. * * This program 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 * General Public License version 2 for more details (a copy is * included at /legal/license.txt). * * You should have received a copy of the GNU General Public License * version 2 along with this work; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA * 02110-1301 USA * * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa * Clara, CA 95054 or visit www.sun.com if you need additional * information or have any questions. */ package sun.util.calendar; import java.util.Calendar; public interface CalendarSystem { public static final int ONE_SECOND = 1 * 1000; public static final int ONE_MINUTE = 60 * ONE_SECOND; public static final int ONE_HOUR = 60 * ONE_MINUTE; public static final int ONE_DAY = 24 * ONE_HOUR; // month constants public static final int JANUARY = Calendar.JANUARY; public static final int FEBRUARY = Calendar.FEBRUARY; public static final int MARCH = Calendar.MARCH; public static final int APRIL = Calendar.APRIL; public static final int MAY = Calendar.MAY; public static final int JUNE = Calendar.JUNE; public static final int JULY = Calendar.JULY; public static final int AUGUST = Calendar.AUGUST; public static final int SEPTEMBER = Calendar.SEPTEMBER; public static final int OCTOBER = Calendar.OCTOBER; public static final int NOVEMBER = Calendar.NOVEMBER; public static final int DECEMBER = Calendar.DECEMBER; public static final int UNDECIMBER = Calendar.UNDECIMBER; // day of week constants public static final int SUNDAY = Calendar.SUNDAY; public static final int MONDAY = Calendar.MONDAY; public static final int TUESDAY = Calendar.TUESDAY; public static final int WEDNESDAY = Calendar.WEDNESDAY; public static final int THURSDAY = Calendar.THURSDAY; public static final int FRIDAY = Calendar.FRIDAY; public static final int SATURDAY = Calendar.SATURDAY; }