Commit effb3cfe authored by sherlock's avatar sherlock

JXFP data transfer

parent 3d24912b
......@@ -192,7 +192,8 @@ public class JXFP extends FunctionBase implements FreeRefFunction {
}
private static Date strToDate(String strDate) {
SimpleDateFormat formatter = new SimpleDateFormat("yyyyMM");
strDate = strDate + 15;
SimpleDateFormat formatter = new SimpleDateFormat("yyyyMMdd");
ParsePosition pos = new ParsePosition(0);
Date strtodate = formatter.parse(strDate, pos);
return strtodate;
......
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