src/Alg/Validation/Predicates.php
public static function isFutureOrNow( $string )
	{
		$string	= Alg_TimeConverter::complementMonthDate( $string, 1 );
		$time	= strtotime( $string );
		if( $time === false )
			throw new InvalidArgumentException( 'Given Date "'.$string.'" could not been parsed.' );
		return $time > time();
	}
public static function isFutureOrNow( $string )
	{
		$string	= Alg_TimeConverter::complementMonthDate( $string, 1 );
		$time	= strtotime( $string );
		if( $time === false )
			throw new InvalidArgumentException( 'Given Date "'.$string.'" could not been parsed.' );
		return $time > time();
	}
public static function isFutureOrNow ( $ string ) { $ string = Alg_TimeConverter :: complementMonthDate ( $ string , 1 ) ; $ time = strtotime ( $ string ) ; if ( $ time === false ) throw new InvalidArgumentException ( 'Given Date "' . $ string . '" could not been parsed.' ) ; return $ time > time ( ) ; }
Indicates whether a String is time formated and is in future, including the actual month
@access		public
@static
@param		string		$string		String to be checked
@return		bool
@todo		test this unit
Indicates whether a String is time formated and is in future including the actual month