Joget Workflow v6 Released

Check out the latest Joget Workflow v6 for many new features and improvements in user experience (UX), app maintainability and performance.

Skip to end of metadata
Go to start of metadata

Description

  • org.joget.commons.util.DateUtil
  • Under wflow-commons module
  • Utility methods to deal with date value

Code Sample

Methods

compare
public static boolean compare(String start, String end, String format)

To check an end date is after a start date. Format following syntax of java.text.SimpleDateFormat.

validateDateFormat
public static boolean validateDateFormat(String value, String format)

To validate a date value is in correct date format. Format following syntax of java.text.SimpleDateFormat.

 

 

  • No labels