CountDown

	CountDown(void)
	Generates an instance of CountDown.


Properties

	CountDown.date: Boolean = true
	If true Indicates that the counter will be based on a Date object, otherwise an Integer containing the seconds.


Methods

	CountDown.start(start: Object, end: Object, [time: Number]): void
	
		Starts the counter.
		
			start determines the origin of the counter, if the "date" property is true, it should be passed a Date, otherwise the number of seconds
			end determines the end of the counter, if the "date" property is true, it should be passed a Date, otherwise the number of seconds
			time atualization interval in seconds
		
	
	CountDown.pause([seconds: Number]): void
	
		Pauses the counter.
		
			seconds Number of seconds that it will stay paused. After that the counter restarts.
		
	
	CountDown.stop(void): void
	Stops the counter.


Events

	CountDown.onStart(counter: Integer): void
	
		Called when the counter starts.
		
			counter Current value in miliseconds. If the "date" property is false the value is a decimal
		
	
	CountDown.onPause(counter: Integer): void
	
		Called when the counter is paused.
		
			counter Current value in miliseconds. If the "date" property is false the value is a decimal
		
	
	CountDown.onResume(counter: Integer): void
	
		Called when the counter is restarted after a pause.
		
			counter Current value in miliseconds. If the "date" property is false the value is a decimal
		
	
	CountDown.onStop(counter: Integer): void
	
		Called when the counter is stopped.
		
			counter Current value in miliseconds. If the "date" property is false the value is a decimal
		
	
	CountDown.onUpdate(counter: Integer): void
	
		Called on each atualization of the counter.
		
			counter Current value in miliseconds. If the "date" property is false the value is a decimal
		
	
