protected Date getDateTimeFor(int i) {
return new Date(getMillisFor(1980, 0, 1, 0, 0, i));
}
public static String toString(IdBase instance) {
DatetimeAsUtilDateTypes timetype = (DatetimeAsUtilDateTypes)instance;
StringBuffer buffer = new StringBuffer("DateTimeTypes id: ");
buffer.append(timetype.getId());
buffer.append("; datetime_not_null_both: ");
buffer.append(timetype.getDatetime_not_null_both().toString());
buffer.append("; datetime_not_null_btree: ");
buffer.append(timetype.getDatetime_not_null_btree().toString());
buffer.append("; datetime_not_null_hash: ");
buffer.append(timetype.getDatetime_not_null_hash().toString());
buffer.append("; datetime_not_null_none: ");
buffer.append(timetype.getDatetime_not_null_none().toString());
return buffer.toString();
}