public boolean isImplementationDue ( Page page ) { int version = page . getVersion ( ) ; Integer implementedVersion = getImplementedVersion ( page ) ; if ( implementedVersion != null ) version = page . getVersion ( ) == implementedVersion ? implementedVersion : implementedVersion + 1 ; Date date = getPageManager ( ) . getPageByVersion ( page , version ) . getLastModificationDate ( ) ; Period period = Period . fromTo ( date , new Date ( System . currentTimeMillis ( ) ) ) ; return period . daysCount ( ) > CRITICAL_PERIOD ; }
Verifies if the Specification has stayed to long in the WORKING state .