throw new IllegalArgumentException("Time is not in proper format " + timeString);\r
\r
}\r
+ \r
+ @Override\r
+ public String toString() {\r
+ return (hours<10?"0":"")+hours+ ":" + (minutes<10?"0":"")+ minutes + ":"+(seconds<10?"0":"")+seconds;\r
+ }\r
\r
}\r