Package com.ibm.icu.util

Examples of com.ibm.icu.util.HebrewCalendar

This class should not be subclassed.

HebrewCalendar usually should be instantiated using {@link com.ibm.icu.util.Calendar#getInstance(ULocale)} passing in a ULocalewith the tag "@calendar=hebrew".

@see com.ibm.icu.util.GregorianCalendar @see com.ibm.icu.util.Calendar @author Laura Werner @author Alan Liu @stable ICU 2.8

    {
        public Object[] getTestObjects()
        {
            Locale locales[] = SerializableTest.getLocales();
            TimeZone jst = TimeZone.getTimeZone("Asia/Jerusalem");
            HebrewCalendar calendars[] = new HebrewCalendar[locales.length];
           
            for (int i = 0; i < locales.length; i += 1) {
                calendars[i] = new HebrewCalendar(jst, locales[i]);
            }
           
            return calendars;
        }
View Full Code Here


              
            case BUDDHIST:
                return new BuddhistCalendar (icuTimeZone, locale);
               
            case HEBREW:
                return new HebrewCalendar (icuTimeZone, locale);
               
            case ISLAMIC:
                return new IslamicCalendar (icuTimeZone, locale);
        }
    }
View Full Code Here

TOP

Related Classes of com.ibm.icu.util.HebrewCalendar

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.