
		/*

			Classe CDate{
				Version:		1
				Date de création:	08/09/2001
				Auteur:		
			}
		*/


		function CDate(){
			//	Méthodes publiques
			this.getWeekDay		= _getWeekDay;
			this.getWeekDayStr	= _getWeekDayStr;
			this.getMonthDay		= _getMonthDay;
			this.getMonthDayStr	= _getMonthDayStr;
			this.getMonth		= _getMonth;
			this.getMonthStr		= _getMonthStr;
			this.getYear		= _getYear;
			this.getYearStr		= _getYearStr;
			this.getDate		= _getDate;
			this.getDateStr		= _getDateStr;
			this.getHours		= _getHours;
			this.getHoursStr		= _getHoursStr;
			this.getMinutes		= _getMinutes;
			this.getMinutesStr		= _getMinutesStr;
			this.getSeconds		= _getSeconds;
			this.getSecondsStr		= _getSecondsStr;
			this.getTimeStr		= _getTimeStr;
			

			function _getWeekDay(){
				var d = new Date();
				return d.getDay();
			}

			function _getMonthDay(){
				var d = new Date();
				return d.getDate();
			}
			
			function _getMonth(){
				var d = new Date();
				return d.getMonth();
			}

			function _getYear(){
				var d = new Date();
				return d.getYear();
			}

			function _getDate(){
				return Date();
			}

			function _getHours(){
				var d = new Date();
				return d.getHours();
			}

			function _getMinutes(){
				var d = new Date();
				return d.getMinutes();
			}

			function _getSeconds(){
				var d = new Date();
				return d.getSeconds();
			}

			function _getWeekDayStr(){
				var d = new Date();
				
				switch(d.getDay()){
					case 1:
						return "Monday";
					case 2:
						return "Tuesday";
					case 3:
						return "Wednesday";
					case 4:
						return "Thursday";
					case 5:
						return "Friday";
					case 6:
						return "Saturday";
					default:
						return "Sunday";
				}
			}

			function _getMonthDayStr(){
				var d = new Date();
				var l = d.getSeconds();
				var s = l.toString();

				if(s.length == 1) s = "0" + s;
				return s;
			}

			function _getMonthStr(){
				var d = new Date();

				switch(d.getMonth()){
					case 0:
						return "January";
					case 1:
						return "February";
					case 2:
						return "Mars";
					case 3:
						return "April";
					case 4:
						return "May";
					case 5:
						return "June";
					case 6:
						return "July";
					case 7:
						return "August";
					case 8:
						return "September";
					case 9:
						return "October";
					case 10:
						return "November";
					default:
						return "December";
				}
			}

			function _getYearStr(){
				var d = new Date();
				var l = d.getYear();

				return l.toString();
			}

			function _getDateStr(){
				return this.getWeekDayStr() + " " + this.getMonthDay() + " " + this.getMonthStr() + " " + this.getYear();
			}

			function _getHoursStr(){
				var d = new Date();
				var l = d.getHours();
				var s = l.toString();

				if(s.length == 1) s = "0" + s;
				return s;
			}

			function _getMinutesStr(){
				var d = new Date();
				var l = d.getMinutes();
				var s = l.toString();

				if(s.length == 1) s = "0" + s;
				return s;
			}

			function _getSecondsStr(){
				var d = new Date();
				var l = d.getSeconds();
				var s = l.toString();

				if(s.length == 1) s = "0" + s;
				return s;
			}
			
			function _getTimeStr(){
				return this.getHoursStr() + ":" + this.getMinutesStr() + ":" + this.getSecondsStr();
			}


		}