com.stimulsoft.report
Class StiConvert
java.lang.Object
com.stimulsoft.report.StiConvert
public class StiConvert
- extends java.lang.Object
Copyright Stimulsoft
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StiConvert
public StiConvert()
changeType
public static java.lang.Object changeType(java.lang.Object value,
StiSystemType conversionType,
boolean convertNulls)
- Changes a type of the specified value.
- Parameters:
value
- A parameter which type will be changed.conversionType
- A type to which the value parameter will be converted.convertNulls
- A parameter which, when converting zero values, instead of null, returns
String.Empty, false for Boolean, ' ' for char or null for DateTime.
- Returns:
- Returns a value of the converted type.
isUseDefaultDateTimeForNullValues
public static boolean isUseDefaultDateTimeForNullValues()
- Returns:
- the useDefaultDateTimeForNullValues
setUseDefaultDateTimeForNullValues
public static void setUseDefaultDateTimeForNullValues(boolean useDefaultDateTimeForNullValues)
- Parameters:
useDefaultDateTimeForNullValues
- the useDefaultDateTimeForNullValues to set
getDefaultDateTimeForNullValues
public static StiDateTime getDefaultDateTimeForNullValues()
- Returns:
- the defaultDateTimeForNullValues
setDefaultDateTimeForNullValues
public static void setDefaultDateTimeForNullValues(StiDateTime defaultDateTimeForNullValues)
- Parameters:
defaultDateTimeForNullValues
- the defaultDateTimeForNullValues to set
toInt32
public static int toInt32(java.lang.Object value)