// Collection of code snippets by Arne Vajhøj 
// (likely posted to comp.os.vms/INFO-VAX, INFO-TPU, MACRO32, eksperten.dk, newz.dk, LinkedIn or other place sometime between 1990 and now) 
import java.util.*;
import java.text.*;

public class FindDates {
        public static void main(String[] args) {
                try {
                        DateFormat df = new SimpleDateFormat("dd-MM-yy");
                        Date start = df.parse("28-02-03");
                        Date end = df.parse("04-03-03");
                        Calendar c = new GregorianCalendar();
                        c.setTime(start);
                        Date cur;
                        do {
                                cur = c.getTime();
                                System.out.println(cur);
                                c.add(c.DAY_OF_YEAR, 1);
                        } while(cur.getTime() < end.getTime());
                } catch (ParseException e) {
                        e.printStackTrace();
                }
        }
}
