This commit is contained in:
Looly
2020-11-04 00:15:41 +08:00
parent 48f43dc34a
commit a54ce406b7
2 changed files with 7 additions and 0 deletions

View File

@@ -648,6 +648,10 @@ public class DateTime extends Date {
return new Date(this.getTime());
}
public Date writeReplace(){
return toJdkDate();
}
/**
* 转为{@link Timestamp}
*