Package de.hybris.platform.util
Class QFormat
- java.lang.Object
-
- de.hybris.platform.util.QFormat
-
public class QFormat extends java.lang.Objectgood old test format methods.
-
-
Constructor Summary
Constructors Constructor Description QFormat()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.StringCurrency(double value, int len)Method Currencystatic java.lang.StringDoubleRight(double value, int len)Method DoubleRightstatic java.lang.StringgetCurrentDate()Method getCurrentDatestatic java.lang.StringNumber0(long num, int len)Method Number0static java.lang.StringNumberRight(long value, int len)Method NumberRightstatic java.lang.StringRepeatedChar(char ch, int len)Method RepeatedCharstatic java.lang.StringStringLeft(java.lang.String str, int len)Method StringLeftstatic java.lang.StringStringRight(java.lang.String str, int len)Method StringRight
-
-
-
Method Detail
-
Number0
public static java.lang.String Number0(long num, int len)Method Number0- Parameters:
num-len-
-
StringRight
public static java.lang.String StringRight(java.lang.String str, int len)Method StringRight- Parameters:
str-len-
-
StringLeft
public static java.lang.String StringLeft(java.lang.String str, int len)Method StringLeft- Parameters:
str-len-
-
NumberRight
public static java.lang.String NumberRight(long value, int len)Method NumberRight- Parameters:
value-len-
-
DoubleRight
public static java.lang.String DoubleRight(double value, int len)Method DoubleRight- Parameters:
value-len-
-
Currency
public static java.lang.String Currency(double value, int len)Method Currency- Parameters:
value-len-
-
getCurrentDate
public static java.lang.String getCurrentDate()
Method getCurrentDate
-
RepeatedChar
public static java.lang.String RepeatedChar(char ch, int len)Method RepeatedChar- Parameters:
ch-len-
-
-