Class Util
java.lang.Object
com.twelfthmile.yuga.utils.Util
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringaddDaysToDate(Date date, int days) static DateaddHoursToJavaUtilDate(Date date, int hours) static StringaddTimeStampSuffix(String hour) static booleancheckForNumRange(String val) static booleancheckForTimeRange(String val) checkNonEngMonth(int i, String word, String type) checkTypes(RootTrie root, String type, String word) static StringgetcallFrwrdCode(String str, int i) static DategetDateObject(String dateStr) static booleanhasISDCodePrefix(String str, int i) static booleanhrsTimeAhead(String str, int i) static booleanisAlpha(char c) static booleanstatic booleanisAlphaNumeric(String str) static booleanisDateOperator(char c) static booleanisDelimiter(char c) static booleanisHour(char c1, char c2) static booleanisLowerAlpha(char c) static booleanisLowerAlpha(String str) static booleanisNumber(char c) static booleanstatic booleanisTimeOperator(char c) static booleanisTypeEnd(char ch) static booleanisUpperAlpha(char c) static booleanisUpperAlpha(String str) static Triestatic booleanmeridienTimeAhead(String str, int i) static IntegerparseStrToInt(String text) static booleanpossibleTimeAhead(String str, int i)
-
Constructor Details
-
Util
public Util()
-
-
Method Details
-
isHour
public static boolean isHour(char c1, char c2) -
hasISDCodePrefix
-
possibleTimeAhead
-
isNumber
public static boolean isNumber(char c) -
isNumber
-
isDateOperator
public static boolean isDateOperator(char c) -
isDelimiter
public static boolean isDelimiter(char c) -
meridienTimeAhead
-
hrsTimeAhead
-
isTimeOperator
public static boolean isTimeOperator(char c) -
checkTypes
-
checkNonEngMonth
-
isTypeEnd
public static boolean isTypeEnd(char ch) -
isAlpha
public static boolean isAlpha(char c) -
isUpperAlpha
public static boolean isUpperAlpha(char c) -
isLowerAlpha
public static boolean isLowerAlpha(char c) -
isUpperAlpha
-
isAlphaNumeric
-
isLowerAlpha
-
isAlpha
-
loadTokens
-
parseStrToInt
-
checkForTimeRange
-
checkForNumRange
-
addHoursToJavaUtilDate
-
addDaysToDate
-
getDateObject
-
addTimeStampSuffix
-
getcallFrwrdCode
-