Package com.stimulsoft.report
Class Func.Ua
java.lang.Object
com.stimulsoft.report.Func.Ua
- Enclosing class:
Func
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringdateToStr(StiDateTime date) Returns the String representation of the date.static StringdateToStr(StiDateTime date, Boolean uppercase) Returns the String representation of the date.static StringnumToStr(BigDecimal value, int gender) static StringnumToStr(BigDecimal value, Boolean uppercase, int gender) Converts the specified value to its equivalent String representation.
-
Constructor Details
-
Ua
public Ua()
-
-
Method Details
-
numToStr
-
numToStr
Converts the specified value to its equivalent String representation.- Parameters:
value- A value to convert.uppercase- If this parameter is true then the first symbol of the resulting String will be in the uppercase.gender- A Gender parameter on which gender of the resulting value depends.- Returns:
- Returns the String representation of the long value with the first symbol in the uppercase or not. Gender depends on gender parameter.
-
dateToStr
Returns the String representation of the date.- Parameters:
date- A DateTime value containing a date to convert.- Returns:
- Returns the String representation of the date.
-
dateToStr
Returns the String representation of the date.- Parameters:
date- A DateTime value containing a date to convert.uppercase- If this parameter is true then the first symbol of the resulting String will be in the uppercase.- Returns:
- Returns the String representation of the date.
-