java.util.DateCustom Maven / Gradle / Ivy
package java.util;
import java.time.temporal.TemporalAccessor;
import java.time.temporal.TemporalField;
public class DateCustom extends Date implements TemporalAccessor{
private static final long serialVersionUID = -8714200629831958983L;
@Override
public boolean isSupported(TemporalField field) {
return false;
}
@Override
public long getLong(TemporalField field) {
return super.getTime();
}
}