/*  Author Chris IOAKIM
 	Dated 2.12.2001
 	class to test and document a newDate class that :
 	1/ determines whether a date is valid 
 	2/ determines whether a certain year is a leap year
 	3/ determines the julian date for a speciefied date ( day between 1 - 365 / 366 )
 	4/ determines the day of the week for a specified date
 	5/ determines the number of days between two dates
*/

/* 	public boolean validDate (int day, int month, int year )
	month can only be in the range 1 - 12 and a month must have the correct number of days 
	eg 30,02,1997 is invalid because February can only have up to 8 days or 29 days if the 
	year is a leap year 
*/

/*	public bolean leap year ( int year )
	if the year can evenly be devided by 4, but not by 100 , it;s a leap year. However years
	that evenly dicisible by 400 are also leap years.
*/

/*	public int julian ( int day , int month , int year)
	the julian calender numbers each day of the year according to it's original value from 
	1 to 365 ( or in a leap year 1 - 366 )
*/

/*	public String dateName(int day , int Month , int Year)
	return the day of the week
	Zeller's formula to find the day of the week 
	
	d = ([2.6M-0.2] + D + Y + [Y/4] + [C/4] - 2C) modulo 7
	
	d = day of week (0 = Sunday, 1 = Monday)
	D = day of the month
	M = month number ( march = 1 , december = 10 January and February are month 11 and 12
	of the previous year ) 
	C = 2 most significant digits of year , EG 1987 , C = 19
	Y = least significant digits of the year . EG 1987 Y = 87
*/

/*	public int daysElasped (int day1,int month1,int year1,int day2,int month2,int year2)
	
	returnd number of days between two dates
*/

		
/*	TestNewDate is a class that introduces the user to the programm that :
	1/ prompts the user for the two dates
	2/ informs the user whether the dates is valid or invalid and if valid :
		a/ whether or not it is a leap year
		b/ it's Julian date
		c/ the day of the week it falls on 
		
	3/ if both dates are valid then the program will display the number of days 
	that have elapsed between the two dates 	
	
 