-1

can anyone give me pointers to a library/way of getting country specific calendars. THis is because I am looking to implement Quartz and would like to use different calendars for different countries.

THank you

user1479589
  • 315
  • 1
  • 4
  • 16

3 Answers3

2

I would suggest trying Joda Time

http://joda-time.sourceforge.net/

, which has different Chronologies.

Pao
  • 843
  • 5
  • 17
1

Have a look at this ->

http://icu-project.org/docs/papers/international_calendars_in_java.html

As Joao suggested, you can use

Calendar c = Calendar.getInstance(Locale.FRANCE);

You should also look at this

Is there a way to get a timeZone with (only) a country code (valid ISO-3166 code)?

and this

non standard locale with java.util.Calendar

Else best is using Joda-Time

Community
  • 1
  • 1
Anuj Kulkarni
  • 2,261
  • 5
  • 32
  • 42
1

JodaTime is a very good api to manipulate those things.

http://joda-time.sourceforge.net/

jakcam
  • 1,789
  • 2
  • 12
  • 14