/** * Constructor, which adjusts the specified date to take timezone * considerations into account. The date passed in will be displayed with * date and time components using the default date format * * @param c the column * @param r the row * @param d the date * @param a dummy overload */ public ExcelDateTime(int c, int r, DateTime d, GMTDate a) : base(c, r, d, a) { }
/** * Constructor, which adjusts the specified date to take timezone * considerations into account * * @param c the column * @param r the row * @param d the date * @param st the cell format * @param a the cummy overload */ public ExcelDateTime(int c, int r, DateTime d, CellFormat st, GMTDate a) : base(c, r, d, st, a) { }
/** * Sets the date for this cell, performing the necessary timezone adjustments * * @param d the date * @param a the dummy overload */ public override void setDate(DateTime d, GMTDate a) { base.setDate(d, a); }
/** * 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, DateTime d, CellFormat st, GMTDate a) : base(CSharpJExcel.Jxl.Biff.Type.NUMBER, c, r, st) { date = new CSharpJExcel.Interop.Date(d); calculateValue(false); }
/** * Sets the date in this cell, taking the timezone into account * * @param d the date * @param a adjust for timezone */ public virtual void setDate(DateTime d, GMTDate a) { date = new CSharpJExcel.Interop.Date(d); calculateValue(false); }
/** * Constructor invoked by the user API * * @param c the column * @param r the row * @param d the date * @param a adjust timezone */ protected DateRecord(int c, int r, DateTime d, GMTDate a) : this(c, r, d, defaultDateFormat, false) { }
/** * Constructor, which adjusts the specified date to take timezone * considerations into account. The date passed in will be displayed with * date and time components using the default date format * * @param c the column * @param r the row * @param d the date * @param a dummy overload */ public ExcelDateTime(int c,int r,DateTime d,GMTDate a) : base(c,r,d,a) { }
/** * Sets the date for this cell, performing the necessary timezone adjustments * * @param d the date * @param a the dummy overload */ public override void setDate(DateTime d, GMTDate a) { base.setDate(d,a); }
/** * Constructor, which adjusts the specified date to take timezone * considerations into account * * @param c the column * @param r the row * @param d the date * @param st the cell format * @param a the cummy overload */ public ExcelDateTime(int c, int r, DateTime d, CellFormat st, GMTDate a) : base(c,r,d,st,a) { }