Format类及其子类功能和使用方法具体解释 1. Format类结构: · java.lang.Object · java.text.Format · All Implemented Interfaces: Serializable, Cloneable Direct Known Subclasses: DateFormat, MessageFormat, NumberFormat public abstract class Format exte…
Date日期类 Date表示特定的时间,精确到毫秒; 构造方法: public Data() public Date(long date) 常用方法: public long getTime() public void setTime(long time) public Boolean before(Date when) public Boolean after(Date when) public int compareTo(Date anotherDate) public String toS…