Example usage for org.joda.time.chrono CopticChronology getInstanceUTC

List of usage examples for org.joda.time.chrono CopticChronology getInstanceUTC

Introduction

In this page you can find the example usage for org.joda.time.chrono CopticChronology getInstanceUTC.

Prototype

public static CopticChronology getInstanceUTC() 

Source Link

Document

Gets an instance of the CopticChronology.

Usage

From source file:com.helger.datetime.holiday.parser.impl.EthiopianOrthodoxHolidayParser.java

License:Apache License

/**
 * Returns a set of gregorian dates within a gregorian year which equal the
 * Ethiopian orthodox month and day. Because the Ethiopian orthodox year
 * different from the gregorian there may be more than one occurrence of an
 * Ethiopian orthodox date in an gregorian year.
 * //from  w  w w. j  a  v  a  2s .c  o m
 * @param nGregorianYear
 * @param nEOMonth
 *          orthodox month
 * @param nEODay
 *          orthodox day
 * @return List of gregorian dates for the Ethiopian orthodox month/day.
 */
private static Set<LocalDate> _getEthiopianOrthodoxHolidaysInGregorianYear(final int nGregorianYear,
        final int nEOMonth, final int nEODay) {
    return CalendarUtil.getDatesFromChronologyWithinGregorianYear(nEOMonth, nEODay, nGregorianYear,
            CopticChronology.getInstanceUTC());
}