
		/*

			Classe CDate{
				Version:		1
				Date de création:	08/09/2001
				Auteur:		CrackDebug
			}
		*/


		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 "Lundi";
					case 2:
						return "Mardi";
					case 3:
						return "Mercredi";
					case 4:
						return "Jeudi";
					case 5:
						return "Vendredi";
					case 6:
						return "Samedi";
					default:
						return "Dimanche";
				}
			}

			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 "Janvier";
					case 1:
						return "Fevrier";
					case 2:
						return "Mars";
					case 3:
						return "Avril";
					case 4:
						return "Mai";
					case 5:
						return "Juin";
					case 6:
						return "Juillet";
					case 7:
						return "Aout";
					case 8:
						return "Septembre";
					case 9:
						return "Octobre";
					case 10:
						return "Novembre";
					default:
						return "Decembre";
				}
			}

			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();
			}


		}
		
