Пример #1
0
 /**
  * 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)
 {
 }
Пример #2
0
 /**
  * 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)
 {
 }
Пример #3
0
 /**
  * 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);
 }
Пример #4
0
 /**
  * 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);
 }
Пример #5
0
 /**
  * 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);
 }
Пример #6
0
 /**
  * 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);
 }
Пример #7
0
 /**
  * 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)
 {
 }
Пример #8
0
 /**
  * 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);
 }
Пример #9
0
 /**
  * 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)
 {
 }
Пример #10
0
 /**
  * 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)
 {
 }
Пример #11
0
 /**
  * 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);
 }
Пример #12
0
 /**
  * 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)
 {
 }