Пример #1
0
 /** parse a date time token in local format (i.e. ending with a Z) */
 private static Date parselocalDateFormat(String dateTimeToken) throws Exception {
   subparse(localCal, dateTimeToken);
   return localCal.getTime();
 }
Пример #2
0
 /** parse a date time token in UTC format (i.e. ending with a Z) */
 private static Date parseutcDateFormat(String dateTimeToken) throws Exception {
   subparse(utcCal, dateTimeToken);
   return utcCal.getTime();
 }