All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.sbahmani.jalcal.util.PersianCalendarConstants Maven / Gradle / Ivy

There is a newer version: 1.5
Show newest version
/* 
 * Copyright 2014 sjb.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.github.sbahmani.jalcal.util;

/**
 * This class contains some constants used in other Persian Calendar classes.
 *
 * @author sjb
 */
public interface PersianCalendarConstants {

    /**
     * Constant for Farvardin, the 1st month of the Persian year.
     */
    public static final int FARVARDIN = 0;
    /**
     * Constant for Ordibehesht, the 2nd month of the Persian year.
     */
    public static final int ORDIBEHESHT = 1;
    /**
     * Constant for Khordad, the 3rd month of the Persian year.
     */
    public static final int KHORDAD = 2;
    /**
     * Constant for Tir, the 4th month of the Persian year.
     */
    public static final int TIR = 3;
    /**
     * Constant for Mordad, the 5th month of the Persian year.
     */
    public static final int MORDAD = 4;
    /**
     * Constant for Shahrivar, the 6th month of the Persian year.
     */
    public static final int SHAHRIVAR = 5;
    /**
     * Constant for Mehr, the 7th month of the Persian year.
     */
    public static final int MEHR = 6;
    /**
     * Constant for Aban, the 8th month of the Persian year.
     */
    public static final int ABAN = 7;
    /**
     * Constant for Azar, the 9th month of the Persian year.
     */
    public static final int AZAR = 8;
    /**
     * Constant for Dey, the 10th month of the Persian year.
     */
    public static final int DEY = 9;
    /**
     * Constant for Bahman, the 11th month of the Persian year.
     */
    public static final int BAHMAN = 10;
    /**
     * Constant for Esfand, the 12th month of the Persian year.
     */
    public static final int ESFAND = 11;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy