99N/A/*
99N/A * Copyright (c) 2004, 2006, Oracle and/or its affiliates. All rights reserved.
99N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
99N/A *
99N/A * This code is free software; you can redistribute it and/or modify it
99N/A * under the terms of the GNU General Public License version 2 only, as
99N/A * published by the Free Software Foundation. Oracle designates this
99N/A * particular file as subject to the "Classpath" exception as provided
99N/A * by Oracle in the LICENSE file that accompanied this code.
99N/A *
99N/A * This code is distributed in the hope that it will be useful, but WITHOUT
99N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
99N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
99N/A * version 2 for more details (a copy is included in the LICENSE file that
99N/A * accompanied this code).
99N/A *
99N/A * You should have received a copy of the GNU General Public License version
99N/A * 2 along with this work; if not, write to the Free Software Foundation,
99N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
99N/A *
99N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
99N/A * or visit www.oracle.com if you need additional information or have any
127N/A * questions.
99N/A */
99N/A
99N/Apackage build.tools.javazic;
99N/A
99N/A/**
99N/A * Day of week enum.
99N/A *
99N/A * @since 1.6
99N/A */
99N/A
99N/Aenum DayOfWeek {
99N/A SUNDAY("Sun"),
99N/A MONDAY("Mon"),
99N/A TUESDAY("Tue"),
99N/A WEDNESDAY("Wed"),
99N/A THURSDAY("Thu"),
99N/A FRIDAY("Fri"),
99N/A SATURDAY("Sat");
99N/A
99N/A private final String abbr;
99N/A
99N/A private DayOfWeek(String abbr) {
99N/A this.abbr = abbr;
99N/A }
99N/A
99N/A String getAbbr() {
99N/A return abbr;
99N/A }
99N/A
99N/A int value() {
99N/A return ordinal() + 1;
99N/A }
99N/A}
99N/A