Hello All.

Can someone tell me how I can set the first day of the year in the Java Calender?

For example, if the first day of the year was 16th September 2007, then that would be week 1. so the 24th september 2007 would lie in second week,so on

please reply ASAP

I don't believe you can. You would probably have to create your own Calendar implementation (in the way GregorianCalendar is an implementation of Calendar).

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.