protected Date getDateFor(int i) {
return new Date(getMillisFor(1980, 0, i + 1));
}
public static String toString(IdBase instance) {
DateAsSqlDateTypes datetype = (DateAsSqlDateTypes)instance;
StringBuffer buffer = new StringBuffer("DateTypes id: ");
buffer.append(datetype.getId());
buffer.append("; date_not_null_both: ");
buffer.append(datetype.getDate_not_null_both().toString());
buffer.append("; date_not_null_btree: ");
buffer.append(datetype.getDate_not_null_btree().toString());
buffer.append("; date_not_null_hash: ");
buffer.append(datetype.getDate_not_null_hash().toString());
buffer.append("; date_not_null_none: ");
buffer.append(datetype.getDate_not_null_none().toString());
return buffer.toString();
}