GregorianCalendar.getAvailableLocales(): This method is available in java.util.GregorianCalendar class of Java.
Syntax:
Locale[] java.util.Calendar.getAvailableLocales()
This method returns an array of all locales for which the getInstance methods of this class can return localized instances.
Parameters: NA
Returns: An array of locales for which localized Calendar instances are available.
Exceptions: NA
Approach
Java
import java.util.Arrays;import java.util.GregorianCalendar;public class GregorianCalendargetAvailableLocales {public static void main(String[] args) {System.out.println(Arrays.toString(GregorianCalendar.getAvailableLocales()));}}
Output:
[, nds, ti_ET, ta_SG, lv, en_NU, zh_SG_#Hans, ff_LR_#Adlm, en_JM, kkj, sd__#Arab, es_BO, dz_BT, mni, dsb_DE, en_LR, ar_TD, cs, el, af, ff_MR_#Latn, sw_UG, smn, tk_TM, sr_ME_#Cyrl, ar_EG, dsb, yo_NG, se_NO, khq, vo_001, en_PW, pl_PL, sr_CS, ne_IN, ji, ar_EH, bs_BA_#Latn, nds_DE, nb_SJ, es_US, en_US_POSIX, pt_MO, zh__#Hans, lb_LU, so_KE, dje_NE, ff_GH_#Latn, fr_PM, ar_KM, no_NO_NY, agq_CM, teo, tr_TR, eu, ar_MR, es_DO, ru, az, su__#Latn, fa, kl_GL, en_NR, nd, kk, hy, en_AU, en_CY, ti_ER, nus_SS, en_RW, ksb, luo, lb, su, ln_CD, nnh_CM, no, ar_IL, mgh, or_IN, az__#Latn, ta, lag, ar_SY, ksf_CM, bo, tt_RU, om_KE, en_AS, fr_VU, zh_TW, sd_IN, kln, mai, pt_MZ, fr_NE, ksb_TZ, en_JE, ln_CF, en_CX, en_AT, gl, sr__#Cyrl, yue_CN_#Hans, ff__#Adlm, kn_IN, ga, qu, en_TZ, en_PR, mua, jv, in, ps, sn, km, zgh, fr_NC, jgo, es, gd_GB, gsw, fr_CM, pa_IN_#Guru, teo_UG, ceb, en_NL, ln_CG, te, mr_IN, el_CY, ku_TR, ha, sl, lrc_IR, gsw_FR, es_HN, hu_HU, ff_SN, sbp, sq_MK, sr_BA_#Cyrl, et_EE, sw, ar_OM, fy_NL, nmg, tr_CY, uz_UZ_#Latn, lrc_IQ, dua_CM, de_IT, vai__#Vaii, fr_TN, sr_RS, de_CH, fr_PF, pt_GQ, gu, vun_TZ, jmc_TZ, en_TV, lo, en_PN, zh_HK_#Hans, cu_RU, nl_NL, en_GY, bs__#Latn, dyo_SN, os, nl_CW, ar_DZ, pt_CH, fr_GQ, am, en_NG, fr_CI, ki_KE, ia_001, en_PK, zh_CN, en_LC, rw, brx_IN, ff_BF_#Adlm, iw, gv_IM, mk_MK, en_TT, dav, sl_SI, ses, xh_ZA, fr_BE, jgo_CM, ff_NE_#Adlm, es_VE, mer_KE, mg, mr, en_BM, nb_NO, seh, kea_CV, mgo, vi_VN, en_US, mfe_MU, fr_BF, pa__#Guru, it_SM, fr_YT, gu_IN, ff_CM_#Latn, ast, fi_FI, yue__#Hans, ca_FR, sr_BA_#Latn, fr_DJ, ks__#Arab, ff_GW_#Adlm, ha_GH, de_BE, ff_GW_#Latn, cgg, nyn_UG, ms_MY, ta_LK, ksf, cy, ceb_PH, tg_TJ, fr, sq, qu_PE, es_EC, de, ff_CM_#Adlm, lg_UG, ff_NE_#Latn, zu_ZA, su_ID_#Latn, cgg_UG, ksh_DE, lg, ru_RU, pcm_NG, en_DM, sd, en_BI, ga_IE, en_WS, fr_LU, so, mi_NZ, ar_ER, kab, nus, prg, sn_ZW, iw_IL, es_EA, ga_GB, th_TH_TH_#u-nu-thai, hi, fr_SC, en_SL, ff_NG_#Latn, no_NO, ff_NG_#Adlm, zh_MO_#Hant, en_SH, vai, sd_PK_#Arab, de_LU, mi, mt, de_DE, en_DK, yav, so_DJ, lt_LT, kam, ro, eo_001, ps_PK, ee, en_UM, en_SI, vai_LR_#Vaii, lo_LA, chr, ar_LB, af_ZA, ff_GN, in_ID, es_BZ, ar_AE, hr_HR, rof_TZ, as, it, ks_IN, my_MM, mn_MN, ur_PK, da_DK, en_FM, en_BE, ii, fr_WF, mzn_IR, naq, en_SG, kln_KE, tzm, ff_GM_#Latn, fur, om, bez_TZ, ff_GN_#Latn, en_SD, ja_JP_JP_#u-ca-japanese, es_SV, pt_BR, mni_IN_#Beng, ml_IN, en_FK, is_IS, en_DG, pt_ST, hr, ak_GH, lt, uz_AF_#Arab, ccp, en_SE, zh_CN_#Hans, es_419, guz_KE, en, gsw_LI, ccp_BD, es_IC, ca, ar_TN, bm_ML, kw_GB, ug_CN, es_BR, khq_ML, en_SB, chr_US, rw_RW, shi_MA_#Tfng, ar_IQ, nyn, sat, mk, pa__#Arab, en_DE, ro_MD, bs, en_FI, fy, th, dav_KE, en_SC, en_UG, dje, en_NZ, es_UY, mas_KE, mni_IN, ru_UA, sg_CF, en_FJ, de_LI, en_BB, smn_FI, hr_BA, de_AT, lu_CD, ar_001, so_SO, lv_LV, ckb, ar_KW, sr_RS_#Cyrl, bem, da, wae, en_LS, ig, en_HK, ce_RU, ka_GE, sw_TZ, fr_RW, mg_MG, cu, os_RU, sr_RS_#Latn, ky_KG, ki, nb, kok, ewo, nn, ar_JO, bg, kea, zu, am_ET, fr_DZ, bo_CN, hsb, qu_EC, en_MS, en_GG, vo, sat_IN, sv_SE, sr_ME, pcm, sah, mer, en_ZM, fr_ML, ha_NG, br, ar_SA, fa_AF, sk, os_GE, ml, en_MT, en_GH, en_IL, sv, tzm_MA, ses_ML, lkt_US, sd__#Deva, vai_LR_#Latn, ji_001, ku, sw_CD, ff_MR_#Adlm, fil_PH, it_VA, es_PH, es_ES, es_CO, bg_BG, en_VC, agq, hsb_DE, en_150, ar_SD, ha_NE, en_KN, ebu, ro_RO, sr_ME_#Latn, es_GT, ff_LR_#Latn, bas_CM, fr_MG, es_CL, mn, kam_KE, fa_IR, en_MO, wo, shi__#Tfng, en_BZ, sq_AL, twq_NE, nmg_CM, az__#Cyrl, en_MP, en_GD, tk, shi__#Latn, en_BW, kab_DZ, kde_TZ, ta_MY, sv_FI, nd_ZW, mni__#Beng, ne, en_IE, zh_SG, en_KI, om_ET, ja_JP, my, ka, ff_GH_#Adlm, fr_MF, ms_ID, shi, kl, en_SZ, rwk_TZ, zh, es_PE, mgh_MZ, saq, en_GB, zh_HK_#Hant, sat_IN_#Olck, kk_KZ, es_PA, ar_PS, bez, fr_MC, kw, vai__#Latn, ksh, ur_IN, ln, gsw_CH, luy_KE, pt, kkj_CM, es_GQ, ar_YE, to, en_SX, ru_KZ, et, ko_KP, nl_SR, rof, en_BS, be, gv, dua, nl_BQ, ff_GN_#Adlm, uz_UZ_#Cyrl, guz, en_KE, mfe, asa_TZ, ja, fr_SN, or, brx, fr_MA, pt_LU, ff_GM_#Adlm, fr_BL, mgo_CM, mai_IN, ko_KR, es_MX, fi, uz, bs__#Cyrl, sr__#Latn, en_SS, bo_IN, rm, en_MG, fr_BI, bn, kn, nnh, bn_BD, en_ZA, fr_FR, en_MH, fr_BJ, zh__#Hant, sah_RU, ps_AF, ky, mas, bs_BA_#Cyrl, sk_SK, xh, wo_SN, fr_HT, te_IN, nl_SX, lrc, ce, fr_CG, mt_MT, ko, nds_NL, ak, kde, dz, en_VU, ia, to_TO, ff_SL_#Latn, seh_MZ, ff_SN_#Adlm, su_ID, ii_CN, pa_PK_#Arab, fr_RE, bn_IN, fr_GP, pa, zgh_MA, rwk, uk_UA, rn, tg, en_NF, fr_CH, hu, twq, sr_XK_#Cyrl, bm, ar_SS, en_GU, nl_AW, en_AI, xog_UG, en_CM, cs_CZ, ca_ES, tr, rm_CH, ru_MD, ff_SN_#Latn, en_TO, ff_SL_#Adlm, en_PG, fr_CF, pt_TL, en_ER, sr_BA, es_PY, kok_IN, fr_TG, sr_XK_#Latn, en_PH, ig_NG, fr_GN, prg_001, zh_MO_#Hans, sat__#Olck, se_FI, ff, en_CK, ar_MA, en_AG, fr_TD, ebu_KE, bem_ZM, xog, ewo_CM, fr_CD, rn_BI, en_NA, ms, ug, ca_IT, lag_TZ, teo_KE, ca_AD, qu_BO, haw_US, vi, fr_CA, sq_XK, dyo, en_KY, it_CH, si_LK, luo_KE, en_AE, eo, it_IT, ar_SO, en_ZW, nn_NO, fr_MU, se_SE, pl, en_TK, mua_CM, ur, uz__#Arab, saq_KE, pt_GW, se, ms_SG, ee_TG, ln_AO, be_BY, yue__#Hant, luy, pt_CV, uk, es_PR, mzn, wae_CH, tt, ru_BY, fo_DK, ee_GH, ar_BH, hi_IN, en_CH, asa, fo_FO, yo_BJ, ast_ES, fr_KM, fr_MQ, es_AR, ff__#Latn, en_MY, sbp_TZ, uz__#Cyrl, fil, yue_HK_#Hant, hy_AM, en_GM, fo, ne_NP, fur_IT, ta_IN, fr_GF, lkt, is, pt_AO, si, en_001, jv_ID, ru_KG, fr_MR, ks, ff_BF_#Latn, zh_TW_#Hant, as_IN, zh_HK, sw_KE, th_TH, jmc, yue, en_MW, naq_NA, en_IO, ar_QA, en_CC, pt_PT, az_AZ_#Cyrl, ckb_IQ, shi_MA_#Latn, es_CU, ar, en_VI, haw, eu_ES, bas, uz__#Latn, el_GR, yav_CM, sg, da_GL, km_KH, ckb_IR, nl, ca_ES_VALENCIA, sd_IN_#Deva, es_CR, fr_GA, ar_LY, sr, en_MU, gl_ES, az_AZ_#Latn, en_IM, en_GI, gd, en_CA, fr_SY, so_ET, nl_BE, ar_DJ, cy_GB, en_VG, en_TC, sv_AX, af_NA, vun, en_IN, lu, yo, es_NI, sd_PK, mas_TZ, ti, ms_BN, ccp_IN, br_FR]
No comments:
Post a Comment