| | |
| | | |
| | | private static DateFormat dateFormat = new SimpleDateFormat("yyyyMMddhhmmss"); |
| | | |
| | | public static final String LAST_TIME = "2038-01-01 00:00:00"; |
| | | |
| | | private static Map<String, SimpleDateFormat> formats = new HashMap(); |
| | | public static final String DATE_FORMATE_STRING_DEFAULT = "yyyyMMddHHmmss"; |
| | | public static final String DATE_FORMATE_STRING_A = "yyyy-MM-dd HH:mm:ss"; |
| | |
| | | return getFormatTimeString(new Date(), pattern); |
| | | } |
| | | |
| | | public static String getLastTime(){ |
| | | return LAST_TIME; |
| | | } |
| | | |
| | | public static String getNowII() { |
| | | return getFormatTimeString(new Date(), "yyyyMMdd"); |
| | | } |