}
/** Test main. */
public static void main(String[] args) {
SiteDesc site = ElevationPlotUtil.MAUNA_KEA;
TimeZone tz = site.getTimeZone();
Calendar cal = Calendar.getInstance(tz);
cal.set(2005, Calendar.MARCH, 8, 12, 0, 0);
Date date = cal.getTime();
SunRiseSet srs = new SunRiseSet(date, site);
System.out.println("Date = " + _fmt(date, tz) + ", site = " + site.getName());
System.out.println("Sunset = " + _fmt(srs.getSunset(), tz));
System.out.println("Sunrise = " + _fmt(srs.getSunrise(), tz));
System.out.println("CivilTwilight Start = " + _fmt(srs.getCivilTwilightStart(), tz));
System.out.println("Civil Twilight End = " + _fmt(srs.getCivilTwilightEnd(), tz));
System.out.println("NauticalTwilight Start = " + _fmt(srs.getNauticalTwilightStart(), tz));
System.out.println("NauticalTwilight End = " + _fmt(srs.getNauticalTwilightEnd(), tz));
System.out.println("Astronomical Twilight Start = " + _fmt(srs.getAstronomicalTwilightStart(), tz));
System.out.println("AstronomicalTwilight End = " + _fmt(srs.getAstronomicalTwilightEnd(), tz));
System.out.println();
cal.set(2005, Calendar.MARCH, 9, 12, 0, 0);
date = cal.getTime();
srs = new SunRiseSet(date, site);
tz = site.getTimeZone();
System.out.println("Date = " + _fmt(date, tz) + ", site = " + site.getName());
System.out.println("Sunset = " + _fmt(srs.getSunset(), tz));
System.out.println("Sunrise = " + _fmt(srs.getSunrise(), tz));
System.out.println("CivilTwilight Start = " + _fmt(srs.getCivilTwilightStart(), tz));
System.out.println("Civil Twilight End = " + _fmt(srs.getCivilTwilightEnd(), tz));
System.out.println("NauticalTwilight Start = " + _fmt(srs.getNauticalTwilightStart(), tz));