Designing and Implementing Business Process Models : Business Rules Reference : Functions Overview
Functions Overview
 
Summary of Conversion Functions
toBoolean()
toDate()
toDate()
toDate(String dateFormat)
toDouble()
toDouble()
toLong()
toLong()
toString()
toString()
toString()
toString()
toString(String dateFormat)
Summary of Date Functions
int century()
int compareDates(Date date1, Date date2)
Date date()
Date dateMinusDays(int days)
Date datePlusDays(int days)
long dateToInt()
int dayOfMonth()
int dayOfWeek()
int dayOfYear()
int daysInMonth(int month, int year)
long diffInDays(Date anotherDate)
long diffInMonths(Date anotherDate)
long diffInYears(Date anotherDate)
Date intToDate(long millis)
isLeapYear(int year)
int month()
String time()
boolean verifyDate(int year, int month, int day)
boolean verifyIntDate(long millis)
boolean verifyMonth(int month)
boolean verifyYear(int year)
int year()
Date ymdToDate(int year, int month, int day)
Summary of List and Range Functions
boolean inList(String[] list)
boolean inList(String[] list, boolean ignoreCase)
boolean inRange(Date lowerBound, Date upperBound)
boolean inRange(Date lowerBound, Date upperBound, Date[] exclusions)
boolean inRange(Date[][] listOfRanges, Date[] exclusions)
boolean inRange(Date[][] listOfRanges, boolean inclusiveLower, boolean inclusiveUpper, Date[] exclusions)
boolean inRange(Double lowerBound, Double upperBound)
boolean inRange(Double lowerBound, Double upperBound, Double[] exclusions)
boolean inRange(Double[][] listOfRanges, Double[] exclusions)
boolean inRange(Double[][] listOfRanges, boolean inclusiveLower, boolean inclusiveUpper, Double[] exclusions)
boolean inRange(Long lowerBound, Long upperBound)
boolean inRange(Long lowerBound, Long upperBound, Long[] exclusions)
boolean inRange(Long[][] listOfRanges, Long[] exclusions)
boolean inRange(Long[][] listOfRanges, boolean inclusiveLower, boolean inclusiveUpper, Long[] exclusions)
boolean inRange(String lowerBound, String upperBound)
boolean inRange(String lowerBound, String upperBound, String[] exclusions)
boolean inRange(String[][] listOfRanges, String[] exclusions)
boolean inRange(String[][] listOfRanges, boolean ignoreCase, boolean inclusiveLower, boolean inclusiveUpper, String[] exclusions)
object list createList(Object[] list)
object list appendToList(Object[] list, Object item)
object list insertIntoList(Object[] list, Object item, int position)
object list removeFromList(Object[] list, int position)
Summary of Math Functions
long abs(long value)
double abs(long double)
double acos(double val)
double asin(double val)
double atan(double val)
double ceil(double val)
double cos(double val)
double cosh(double val)
double degreesToRadians(double angdeg)
double exp(double val)
double floor(double val)
double log(double val)
long max(long val1, long val2)
double max(double val1, double val2)
long min(long val1, long val2)
double min(double val1, double val2)
long mod(long val1, long val2)
double mod(double val1, double val2)
double pi()
double pow(double base, double exponent)
double radiansToDegrees(double angrad)
long round(double val)
double round(double val, int scale)
double round(double val, int scale, int roundingMethod)
double sin(double val)
double sinh(double val)
double tan(double val)
double tanh(double val)
Summary of String Functions
concat(String str): String
contains(String str): boolean
endsWith(String suffix): boolean
equals(String anotherString): boolean
equalsIgnoreCase(String anotherString): boolean
matches(String regex): boolean
regionMatches(boolean ignoreCase, int toffset, String other, int ooffset, int len): boolean
replaceAll(String regex, String replacement): String
replaceFirst(String regex, String replacement): String
startsWith(String prefix): boolean
substring(int beginIndex): String
substring(int beginIndex, int endIndex): String
toLowerCase(): String
toUpperCase(): String
trim(): String
webMethods Rules Development provides a set of predefined functions. For detailed information about how to work with functions, see webMethods BPM Rules Development Help.
Five categories of functions exist:
*Summary of Conversion Functions.
*Summary of Date Functions.
*Summary of List and Range Functions.
*Summary of Math Functions.
*Summary of String Functions.
Copyright © 2016 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback