jQuery in Action, 3rd edition
The moose likes JSP and the fly likes Calender & Holidays Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Calender & Holidays" Watch "Calender & Holidays" New topic

Calender & Holidays

age spets
Ranch Hand

Joined: Aug 07, 2002
Posts: 68
Have already made a calender in JSP, but would like to mark holy days red. Holy days differ from country to country though. Is there some class/method that you can set which country your from and receive back the holidays for that year your in?
Yours Age
Scott Duncan
Ranch Hand

Joined: Nov 01, 2002
Posts: 364
Locale locale = new Locale(String language, String country);
GregorianCalendar cal = new GregorianCalendar(locale);

No more rhymes! I mean it!<br /> <br />Does anybody want a peanut?
age spets
Ranch Hand

Joined: Aug 07, 2002
Posts: 68
THX for trying to help me:-) Locale does not contain Norwegian Language....
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: Calender & Holidays
It's not a secret anymore!