コード例 #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
ファイル: DateRecord.cs プロジェクト: morninn/PetSof
 /**
  * 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
ファイル: DateRecord.cs プロジェクト: morninn/PetSof
 /**
  * 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
ファイル: DateRecord.cs プロジェクト: morninn/PetSof
 /**
  * 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)
 {
 }