/** * Sets the date in this cell, taking the timezone into account * * @param d the date * @param a adjust for timezone */ protected void setDate(Date d, GMTDate a) { date = d; calculateValue(false); }
/** * Sets the date in this cell * * @param d the date */ protected void setDate(Date d) { date = d; calculateValue(true); }
/** * Sets the date in this cell, taking the timezone into account * * @param d the date * @param a adjust for timezone */ protected void setDate(Date d, GMTDate a) { date = d; calculateValue(false); }
/** * Sets the date in this cell * * @param d the date */ protected void setDate(Date d) { date = d; calculateValue(true); }
/** * Constructor invoked from the user API * * @param c the column * @param r the row * @param st the format for the date * @param d the date */ protected DateRecord(int c, int r, Date d, CellFormat st) { super(Type.NUMBER, c, r,st); date = d; calculateValue(true); }
/** * Constructor invoked from the user API * * @param c the column * @param r the row * @param st the format for the date * @param d the date */ protected DateRecord(int c, int r, Date d, CellFormat st) { super(Type.NUMBER, c, r,st); date = d; calculateValue(true); }
/** * Constructor invoked from the user API * * @param c the column * @param r the row * @param st the format for the date * @param d the date * @param a adjust for the timezone */ protected DateRecord(int c, int r, Date d, CellFormat st, GMTDate a) { super(Type.NUMBER, c, r, st); date = d; calculateValue(false); }
/** * Constructor invoked from the user API * * @param c the column * @param r the row * @param st the format for the date * @param d the date * @param a adjust for the timezone */ protected DateRecord(int c, int r, Date d, CellFormat st, GMTDate a) { super(Type.NUMBER, c, r, st); date = d; calculateValue(false); }
/** * Constructor invoked from the API * * @param c the column * @param r the row * @param st the date format * @param tim time indicator * @param d the date */ protected DateRecord(int c, int r, Date d, CellFormat st, boolean tim) { super(Type.NUMBER, c, r, st); date = d; time = tim; calculateValue(false); }
/** * Constructor invoked from the API * * @param c the column * @param r the row * @param st the date format * @param tim time indicator * @param d the date */ protected DateRecord(int c, int r, Date d, CellFormat st, boolean tim) { super(Type.NUMBER, c, r, st); date = d; time = tim; calculateValue(false); }
/** * Constructor invoked when copying a readable spreadsheet * * @param dc the date to copy */ protected DateRecord(DateCell dc) { super(Type.NUMBER, dc); date = dc.getDate(); time = dc.isTime(); calculateValue(false); }
/** * Constructor invoked when copying a readable spreadsheet * * @param dc the date to copy */ protected DateRecord(DateCell dc) { super(Type.NUMBER, dc); date = dc.getDate(); time = dc.isTime(); calculateValue(false); }