How to Get dates of sundays in a year Using Calendar Class In Java.util

Hi,

The requirement of my project is as such that i have to get all the dates in a year on which the sunday falls.so i would like to know how can make use of Calender Class(i.e what r all the methods that i can use) from java.util package so that i can meet the requirement of the project.

Thanq

[315 byte] By [swathij_jangama] at [2007-11-27 10:55:29]
# 1

Theres a lovely thing called an API check it out

ita6cgra at 2007-7-29 11:56:51 > top of Java-index,Java Essentials,Java Programming...
# 2

Find the first and then simply add a week. If you have to ask this you might consider a different career.

CeciNEstPasUnProgrammeura at 2007-7-29 11:56:51 > top of Java-index,Java Essentials,Java Programming...