ArgChecker.isNotNull(dtformat, "dtformat");
DateFormatterFactory dff = DateFormatterFactory.getInstance();
DateFormatter df = dff.getDateFormatter(dtformat);
final int len = jsArray.length();
ChronoDate chronoDate = ChronoDate.get(2000, 0, 1);
double aVal[] = new double[len];
for (int i = 0; i < len; i++) {
javaDate.setTime((long) df.parse(jsArray.get(i)));
chronoDate.set().year(javaDate.getYear() + 1900)
.month(javaDate.getMonth()).day(javaDate.getDate())
.hour(javaDate.getHours()).min(javaDate.getMinutes())
.sec(javaDate.getSeconds()).done();
aVal[i] = chronoDate.getTime();
}
return aVal;
}