use of org.frameworkset.util.FastDateFormat in project bboss-elastic by bbossgroups.
the class ESTest method testFastDateFormat.
@Test
public void testFastDateFormat() throws ParseException {
String data = "2005-01-10 12:00:00";
String format = "yyyy-MM-dd HH:mm:ss";
FastDateFormat df = FastDateFormat.getInstance(format, TimeZone.getTimeZone("Asia/Shanghai"));
Object ojb = df.parseObject(data);
System.out.println();
}
Aggregations