com.stimulsoft.report
Class Func.Ua

java.lang.Object
  extended by com.stimulsoft.report.Func.Ua
Enclosing class:
Func

public static class Func.Ua
extends java.lang.Object


Constructor Summary
Func.Ua()
           
 
Method Summary
static java.lang.String dateToStr(StiDateTime date)
          Returns the String representation of the date.
static java.lang.String dateToStr(StiDateTime date, java.lang.Boolean uppercase)
          Returns the String representation of the date.
static java.lang.String numToStr(java.math.BigDecimal value, java.lang.Boolean uppercase, int gender)
          Converts the specified value to its equivalent String representation.
static java.lang.String numToStr(java.math.BigDecimal value, int gender)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Func.Ua

public Func.Ua()
Method Detail

numToStr

public static java.lang.String numToStr(java.math.BigDecimal value,
                                        int gender)

numToStr

public static java.lang.String numToStr(java.math.BigDecimal value,
                                        java.lang.Boolean uppercase,
                                        int gender)
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

public static java.lang.String dateToStr(StiDateTime date)
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

public static java.lang.String dateToStr(StiDateTime date,
                                         java.lang.Boolean uppercase)
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.