@Test(expected = IllegalArgumentException.class) public void dateTimeFailTest() { byte[] data = "2017-10-".getBytes(); DateTimeUtil.parseDate(data, 0, data.length); }
public static long parseDate(byte[] data) { return parseDate(data, 0, data.length); }
DateTimeUtil { public static long parseDate(byte[] data) { return parseDate(data, 0, data.length); } }
DateTimeUtil { public static long parseDate(byte[] data) { return parseDate(data, 0, data.length); }  }
DateTimeUtil { public static long parseDate(byte[] data) { return parseDate(data, 0, data.length); }  static LocalDate getLocalDate(long epochMillis); static LocalTime getLocalTime(long epochMillis); static LocalDateTime getLocalDateTime(long epochMillis); static Date getJavaSQLDate(long epochMillis); static Timestamp getJavaSQLTimeStamp(long epochMillis); static long getEpochMillisecond(Date date); static long getEpochMillisecond(Timestamp timestamp); static long parseDate(byte[] data); static long parseDate(byte[] data, int offset, int len); static int parseTime(byte[] data); static int parseTime(byte[] data, int offset, int len); static long parseDateTime(byte[] data); static long parseDateTime(byte[] data, int offset, int len); }
DateTimeUtil { public static long parseDate(byte[] data) { return parseDate(data, 0, data.length); }  static LocalDate getLocalDate(long epochMillis); static LocalTime getLocalTime(long epochMillis); static LocalDateTime getLocalDateTime(long epochMillis); static Date getJavaSQLDate(long epochMillis); static Timestamp getJavaSQLTimeStamp(long epochMillis); static long getEpochMillisecond(Date date); static long getEpochMillisecond(Timestamp timestamp); static long parseDate(byte[] data); static long parseDate(byte[] data, int offset, int len); static int parseTime(byte[] data); static int parseTime(byte[] data, int offset, int len); static long parseDateTime(byte[] data); static long parseDateTime(byte[] data, int offset, int len); static final int HOURS_PER_DAY; static final int MINUTES_PER_HOUR; static final int MINUTES_PER_DAY; static final int SECONDS_PER_MINUTE; static final int SECONDS_PER_HOUR; static final int SECONDS_PER_DAY; static final long MILLIS_PER_DAY; static final int DAYS_PER_CYCLE; static final long DAYS_0000_TO_1970; static final DateTimeFormatter DATE_FORMATTER; static final DateTimeFormatter TIME_FORMATTER; static final DateTimeFormatter DATETIME_FORMATTER; }