61 references to ToOADate
mscorlib (2)
system\Runtime\InteropServices\Variant.cs (2)
216
*(double*)this._typeUnion._unionTypes._byref = ((DateTime)value).
ToOADate
();
611
_typeUnion._unionTypes._date = value.
ToOADate
();
PresentationCore (4)
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\CustomAttributeSerializer.cs (4)
184
bw.Write(data[i].
ToOADate
());
277
bw.Write(data.
ToOADate
());
987
writer.Write(data[i].
ToOADate
());
993
writer.Write(data.
ToOADate
());
System.Data (1)
fx\src\data\System\Data\OleDb\ColumnBinding.cs (1)
736
RowBinding.WriteDouble(ValueOffset, value.
ToOADate
());
System.Web (1)
Util\AspCompat.cs (1)
774
return _context.Response.ExpiresAbsolute.
ToOADate
();
System.Web.DataVisualization (26)
Common\Converters\AxisConverters.cs (2)
215
return valueAsDate.
ToOADate
();
430
return valueAsDate.
ToOADate
();
Common\Converters\DataManagerConverters.cs (1)
657
return valueAsSate.
ToOADate
();
Common\DataManager\DataPoint.cs (8)
1930
doubleObj = ((DateTime)obj).
ToOADate
();
2116
this._xValue = ((DateTime)xValue).
ToOADate
();
2136
this._xValue = time.
ToOADate
();
2148
this._xValue = time.
ToOADate
();
2251
this._yValue[i] = DateTime.Now.
ToOADate
();
2255
this._yValue[i] = ((DateTime)yValue[i]).
ToOADate
();
2305
this._yValue[i] = date.
ToOADate
();
2326
this._yValue[i] = time.
ToOADate
();
Common\General\AxisScrollZoom.cs (1)
1757
return valueAsDate.
ToOADate
();
Common\General\Chart.cs (1)
876
yValuesObj[i] = (((Series)seriesList[0]).IsYValueDateTime()) ? DateTime.Now.Date.
ToOADate
() : 0.0;
Common\General\ChartElement.cs (5)
995
return newStartDate.
ToOADate
();
1082
return newStartDate.
ToOADate
();
1248
if(roundedDateValue.
ToOADate
() == xValue || roundedDateValue.
ToOADate
() == xEndValue)
1340
double result = date.Add(span).
ToOADate
() - current;
Common\General\Label.cs (8)
290
labelEnd = DateTime.FromOADate(labelStart).AddMilliseconds(labelsStep).
ToOADate
();
294
labelEnd = DateTime.FromOADate(labelStart).AddSeconds(labelsStep).
ToOADate
();
298
labelEnd = DateTime.FromOADate(labelStart).AddMinutes(labelsStep).
ToOADate
();
302
labelEnd = DateTime.FromOADate(labelStart).AddHours(labelsStep).
ToOADate
();
306
labelEnd = DateTime.FromOADate(labelStart).AddDays(labelsStep).
ToOADate
();
310
labelEnd = DateTime.FromOADate(labelStart).AddDays(7 * labelsStep).
ToOADate
();
314
labelEnd = DateTime.FromOADate(labelStart).AddMonths((int)labelsStep).
ToOADate
();
318
labelEnd = DateTime.FromOADate(labelStart).AddYears((int)labelsStep).
ToOADate
();
System.Windows.Forms (1)
winforms\Managed\System\WinForms\AxHost.cs (1)
5029
return time.
ToOADate
();
System.Windows.Forms.DataVisualization (26)
Common\Converters\AxisConverters.cs (2)
215
return valueAsDate.
ToOADate
();
430
return valueAsDate.
ToOADate
();
Common\Converters\DataManagerConverters.cs (1)
657
return valueAsSate.
ToOADate
();
Common\DataManager\DataPoint.cs (8)
1930
doubleObj = ((DateTime)obj).
ToOADate
();
2116
this._xValue = ((DateTime)xValue).
ToOADate
();
2136
this._xValue = time.
ToOADate
();
2148
this._xValue = time.
ToOADate
();
2251
this._yValue[i] = DateTime.Now.
ToOADate
();
2255
this._yValue[i] = ((DateTime)yValue[i]).
ToOADate
();
2305
this._yValue[i] = date.
ToOADate
();
2326
this._yValue[i] = time.
ToOADate
();
Common\General\AxisScrollZoom.cs (1)
1757
return valueAsDate.
ToOADate
();
Common\General\Chart.cs (1)
876
yValuesObj[i] = (((Series)seriesList[0]).IsYValueDateTime()) ? DateTime.Now.Date.
ToOADate
() : 0.0;
Common\General\ChartElement.cs (5)
995
return newStartDate.
ToOADate
();
1082
return newStartDate.
ToOADate
();
1248
if(roundedDateValue.
ToOADate
() == xValue || roundedDateValue.
ToOADate
() == xEndValue)
1340
double result = date.Add(span).
ToOADate
() - current;
Common\General\Label.cs (8)
290
labelEnd = DateTime.FromOADate(labelStart).AddMilliseconds(labelsStep).
ToOADate
();
294
labelEnd = DateTime.FromOADate(labelStart).AddSeconds(labelsStep).
ToOADate
();
298
labelEnd = DateTime.FromOADate(labelStart).AddMinutes(labelsStep).
ToOADate
();
302
labelEnd = DateTime.FromOADate(labelStart).AddHours(labelsStep).
ToOADate
();
306
labelEnd = DateTime.FromOADate(labelStart).AddDays(labelsStep).
ToOADate
();
310
labelEnd = DateTime.FromOADate(labelStart).AddDays(7 * labelsStep).
ToOADate
();
314
labelEnd = DateTime.FromOADate(labelStart).AddMonths((int)labelsStep).
ToOADate
();
318
labelEnd = DateTime.FromOADate(labelStart).AddYears((int)labelsStep).
ToOADate
();