|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.nierbeck.timeTrack.Assert
public final class Assert
Utility Class.
Method Summary | |
---|---|
static java.lang.String |
dateValidation(java.lang.String date)
|
static void |
notNull(java.lang.Object obj)
Checks if the given Object equals "null" if so it throws an IllegalArgumentException. |
static java.lang.String |
timeValidation(java.lang.String time)
validates the given Time string. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void notNull(java.lang.Object obj)
obj
- the given Object
java.lang.IllegalArgumentException
public static java.lang.String timeValidation(java.lang.String time)
time
- - the time to validate
public static java.lang.String dateValidation(java.lang.String date)
date
- - does nothing
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |