Uses of Annotation Type
net.sf.jasperreports.functions.annotations.FunctionParameters
Packages that use FunctionParameters
-
Uses of FunctionParameters in net.sf.jasperreports.functions.standard
Methods in net.sf.jasperreports.functions.standard with annotations of type FunctionParametersModifier and TypeMethodDescriptionstatic Number
Returns the absolute value of a number.static Boolean
Returns true if all arguments are considered true, false otherwise.static String
Returns a text representation of a number, in a specified base radix.static Double
Returns the smallest (closest to negative infinity) double value that is greater than or equal to the argument and is equal to a mathematical integerstatic String
Returns a single text character, given a character code.static String
Returns a new text string without non-printable characters.static Integer
Returns the numeric code (0-255) for the first character in a string.static String
TextFunctions.CONCATENATE
(String... strings) Combines a list of strings into a single one.Creates a date object using the specified information on day, month and year.DateTimeFunctions.DATEFORMAT
(Date dateObj, String formatPattern) Format the specified date object using the chosen format pattern.Allows to create a JasperReports DateRange instance starting from either a String expression or a Date instance.Gives the corresponding numeric value (long milliseconds) for a specified date object.Returns the day of a given date.Returns the number of days between two dates.DateTimeFunctions.DAYSINMONTH
(Object dateObj) Returns the number of days in a month.DateTimeFunctions.DAYSINYEAR
(Object dateObj) Returns the number of days in a year.static Double
TextFunctions.DOUBLE_VALUE
(String textNumber) Returns a Double number representing the given text string.Returns a date a number of months away.static Boolean
Checks if the two specified objects are equal.static Boolean
Returns TRUE if the two text specified are exactly the same (case sensitive compare).static Long
Returns the factorial of a number.static Integer
Returns the character position of a string inside another text.Returns the text representing number with the specified decimal places.static Float
TextFunctions.FLOAT_VALUE
(String textNumber) Returns a Float number representing the given text string.static Double
Returns the largest (closest to positive infinity) double value that is less than or equal to the argument and is equal to a mathematical integer.Returns the hour (0-23) of the day for a given date.static Object
Returns one of two values, depending on a test condition.static Integer
TextFunctions.INTEGER_VALUE
(String textNumber) Returns an Integer number representing the given text string.static Boolean
Checks if a number is even.DateTimeFunctions.ISLEAPYEAR
(Object dateObj) Checks if the given date occurs in a leap year.static Boolean
Checks if a number is odd.static String
Returns the specified number of characters (1 by default) from the left side of the input text.static Integer
Returns the length of the specified text string.static Long
TextFunctions.LONG_VALUE
(String textNumber) Returns a Long number representing the given text string.static String
Performs the lower case conversion of the specified text string.static String
Clear a string, removing leading whitespaces.static Number
Returns the maximum of a list of numeric values.static String
Returns the text from the middle of a text string.static Number
Returns the minimum of a list of numeric values.Returns the minute (0-59) of the hour for a given date.Returns the month of a given date.Returns the number of months between two dates.DateTimeFunctions.NETWORKDAYS
(Object startDate, Object endDate) Returns the number of working days between two dates (inclusive).static Boolean
Returns the negation of the specified boolean expression.static Boolean
Returns true if any of the arguments is considered true, false otherwise.static Number
Returns the product of a list of numbers.static String
Capitalizes each words of the specified text.static Integer
MathFunctions.RANDBETWEEN
(Integer bottomRange, Integer topRange) Returns an Integer random number between bottom and top range (both inclusive).static String
Replaces parts of a text string with a different one.static String
Replicates an input text string for a specified number of times.byte[]
ReportFunctions.RESOURCE_DATA
(String location) static String
Returns the specified number of characters (1 by default) from the right side of the input text.static BigDecimal
MathFunctions.ROUND_CEILING
(Number number, int scale) Returns a BigDecimal number rounded towards positive infinity.static BigDecimal
MathFunctions.ROUND_DOWN
(Number number, int scale) Returns a BigDecimal number rounded towards zero.static BigDecimal
MathFunctions.ROUND_FLOOR
(Number number, int scale) Returns a BigDecimal number rounded towards negative infinity.static BigDecimal
MathFunctions.ROUND_HALF_DOWN
(Number number, int scale) Returns a BigDecimal number rounded towards its nearest neighbor.static BigDecimal
MathFunctions.ROUND_HALF_EVEN
(Number number, int scale) Returns a BigDecimal number rounded towards its nearest neighbor.static BigDecimal
MathFunctions.ROUND_HALF_UP
(Number number, int scale) Returns a BigDecimal number rounded towards its nearest neighbor.static BigDecimal
Returns a BigDecimal number rounded away from zero.static String
Clear a string, removing trailing whitespaces.static Integer
Returns the position of a string of text in another string.Returns the second (0-59) of the minute for a given date.static Integer
Returns the sign of a number.static Number
Returns the positive square root of a number.ReportFunctions.SUB_DATA_SOURCE
(String expression) static String
TextFunctions.SUBSTITUTE
(String originalText, String oldText, String newText) Substitutes new text for old text in a text string.static Number
Returns the sum of a list of numbers.static String
Returns the text string if the value is a string, otherwise an empty string is returned.Converts a number into a text string according to a specified format.Returns a text string representing a time value (hours, seconds and minutes).static String
Clear a string,removing leading and trailing whitespaces.static String
Performs the upper case conversion of the specified text string.Returns the day of the week for a given date.Returns the week number of a given date.Returns the number of weeks between two dates.DateTimeFunctions.WEEKSINYEAR
(Object dateObj) Returns the number of weeks in a year.Returns a date a number of workdays away.Returns the year of a given date.Returns the number of years between two dates.