Package org.javlo.helper
Class BusinessHelper
- java.lang.Object
-
- org.javlo.helper.BusinessHelper
-
public class BusinessHelper extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BusinessHelper.TVAInfo
-
Constructor Summary
Constructors Constructor Description BusinessHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
checkTVA(String country, String tva)
static String[][]
getTimeArray(I18nAccess i18nAccess)
get a array for same precalculed date in the past (one day later, one week later...)static String[][]
getTimeArrayInView(I18nAccess i18nAccess)
get a array for same precalculed date in the past (one day later, one week later...)static BusinessHelper.TVAInfo
getTVAInfo(String country, String tva)
static void
main(String[] args)
-
-
-
Method Detail
-
checkTVA
public static boolean checkTVA(String country, String tva) throws IOException
- Throws:
IOException
-
getTVAInfo
public static BusinessHelper.TVAInfo getTVAInfo(String country, String tva) throws IOException
- Throws:
IOException
-
main
public static void main(String[] args)
-
getTimeArray
public static String[][] getTimeArray(I18nAccess i18nAccess)
get a array for same precalculed date in the past (one day later, one week later...)- Parameters:
i18nAccess
- a access to translation- Returns:
- a array of string and date (date as string)
-
getTimeArrayInView
public static String[][] getTimeArrayInView(I18nAccess i18nAccess)
get a array for same precalculed date in the past (one day later, one week later...)- Parameters:
i18nAccess
- a access to translation- Returns:
- a array of string and date (date as string)
-
-