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