Commit c22252c4 authored by yanzg's avatar yanzg

视频压缩

parent ec9f47e6
...@@ -315,6 +315,7 @@ public final class CheckerHelper { ...@@ -315,6 +315,7 @@ public final class CheckerHelper {
format.parse(paramVal); format.parse(paramVal);
} else { } else {
DateAutoHelper.getAutoDate(paramVal); DateAutoHelper.getAutoDate(paramVal);
formatStr = DateHelper.FORMAT_SECOND_STRING;
} }
} catch (ParseException e) { } catch (ParseException e) {
this.checkResult = language.format(PARAM_NOT_DATE, paramName, formatStr); this.checkResult = language.format(PARAM_NOT_DATE, paramName, formatStr);
......
...@@ -16,12 +16,12 @@ import java.util.Date; ...@@ -16,12 +16,12 @@ import java.util.Date;
*/ */
public class DateHelper { public class DateHelper {
private static final String FORMAT_YEAR_STRING = "yyyy-01-01"; public static final String FORMAT_YEAR_STRING = "yyyy-01-01";
private static final String FORMAT_YEAR_END_STRING = "yyyy-12-31"; public static final String FORMAT_YEAR_END_STRING = "yyyy-12-31";
private static final String FORMAT_MONTH_STRING = "yyyy-MM-01"; public static final String FORMAT_MONTH_STRING = "yyyy-MM-01";
private static final String FORMAT_DAY_STRING = "yyyy-MM-dd"; public static final String FORMAT_DAY_STRING = "yyyy-MM-dd";
private static final String FORMAT_DAY_HOUR_STRING = "yyyy-MM-dd HH:00:00"; public static final String FORMAT_DAY_HOUR_STRING = "yyyy-MM-dd HH:00:00";
private static final String FORMAT_SECOND_STRING = "yyyy-MM-dd HH:mm:ss"; public static final String FORMAT_SECOND_STRING = "yyyy-MM-dd HH:mm:ss";
private static final int MONTH_1 = 1; private static final int MONTH_1 = 1;
private static final int MONTH_2 = 2; private static final int MONTH_2 = 2;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment