aggiunto controllo su data null nel fromato DAte
All checks were successful
IntegryManagementSystem_Multi/pipeline/head This commit looks good
All checks were successful
IntegryManagementSystem_Multi/pipeline/head This commit looks good
This commit is contained in:
@@ -193,7 +193,8 @@ public class UtilityLocalDate {
|
||||
}
|
||||
|
||||
public static boolean isNull(LocalDate dateToCheck) {
|
||||
return dateToCheck == null || dateToCheck.equals(EmsRestConstants.LOCAL_DATE_NULL) ;
|
||||
return dateToCheck == null || dateToCheck.equals(EmsRestConstants.LOCAL_DATE_NULL) ||
|
||||
UtilityLocalDate.localDateToDate(dateToCheck) == EmsRestConstants.DATE_NULL;
|
||||
}
|
||||
|
||||
public static LocalDate isNull(LocalDate dateToCheck, LocalDate fallbackValue) {
|
||||
|
||||
Reference in New Issue
Block a user