| ... | ... | @@ -9,6 +9,7 @@ import java.time.format.DateTimeFormatter; | 
|  |  | import java.time.format.DateTimeParseException; | 
|  |  | import java.util.Calendar; | 
|  |  | import java.util.Date; | 
|  |  | import java.util.Locale; | 
|  |  |  | 
|  |  |  | 
|  |  | /** | 
| ... | ... | @@ -540,4 +541,23 @@ public final class DateUtil { | 
|  |  |  | 
|  |  | return time; | 
|  |  | } | 
|  |  |  | 
|  |  | /** | 
|  |  | * 格式化航班日期类型 | 
|  |  | * @param dateStr | 
|  |  | * @return | 
|  |  | * @throws ParseException | 
|  |  | */ | 
|  |  | public static Date dateFormatFlight(String dateStr) throws ParseException{ | 
|  |  | SimpleDateFormat sdf = new SimpleDateFormat("ddMMMyyyy", Locale.ENGLISH); | 
|  |  | try { | 
|  |  | Date date = sdf.parse(dateStr); | 
|  |  | System.out.println(date); | 
|  |  | return date; | 
|  |  | } catch (ParseException e) { | 
|  |  | // TODO Auto-generated catch block | 
|  |  | e.printStackTrace(); | 
|  |  | } | 
|  |  | return null; | 
|  |  | } | 
|  |  | } | 
... | ... |  |