65 references to FromOADate
mscorlib (1)
system\Runtime\InteropServices\Variant.cs (1)
606
return DateTime.
FromOADate
(_typeUnion._unionTypes._date);
PresentationCore (2)
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\CustomAttributeSerializer.cs (2)
675
val[i] = DateTime.
FromOADate
(br.ReadDouble());
716
return DateTime.
FromOADate
(br.ReadDouble());
System.Data (1)
fx\src\data\System\Data\OleDb\ColumnBinding.cs (1)
730
return DateTime.
FromOADate
(RowBinding.ReadDouble(ValueOffset));
System.Web (2)
Util\AspCompat.cs (2)
682
_context.Response.Cookies[name].Expires = DateTime.
FromOADate
(dtExpires);
778
_context.Response.ExpiresAbsolute = DateTime.
FromOADate
(dtExpires);
System.Web.DataVisualization (29)
Common\Converters\AxisConverters.cs (2)
124
return DateTime.
FromOADate
((double)value).ToShortDateString();
126
return DateTime.
FromOADate
((double)value).ToString("g", System.Globalization.CultureInfo.CurrentCulture);
Common\Converters\DataManagerConverters.cs (2)
589
result += DateTime.
FromOADate
(d).ToString("g", System.Globalization.CultureInfo.InvariantCulture) + ",";
630
DateTime valueAsSate = DateTime.
FromOADate
((double)value);
Common\DataManager\DataPoint.cs (2)
2292
yDate = DateTime.
FromOADate
((Double)yValue[i]);
2313
yTime = DateTime.
FromOADate
((Double)yValue[i]);
Common\General\AxisScale.cs (2)
1374
DateTime dateTimeMin = DateTime.
FromOADate
( min );
1375
DateTime dateTimeMax = DateTime.
FromOADate
( max );
Common\General\AxisScrollZoom.cs (3)
1648
strValue = DateTime.
FromOADate
(dtValue).ToString("g", System.Globalization.CultureInfo.CurrentCulture);
1658
strValue = DateTime.
FromOADate
(dtValue).ToShortDateString();
1662
strValue = DateTime.
FromOADate
(dtValue).ToString("g", System.Globalization.CultureInfo.CurrentCulture);
Common\General\ChartAreaAxes.cs (2)
1968
DateTime date1 = DateTime.
FromOADate
(value1);
1969
DateTime date2 = DateTime.
FromOADate
(value2);
Common\General\ChartElement.cs (3)
977
DateTime newStartDate = DateTime.
FromOADate
(start);
1197
DateTime dateValue = DateTime.
FromOADate
(series.Points[pointIndex].XValue);
1284
DateTime date = DateTime.
FromOADate
(current);
Common\General\DataManipulator.cs (3)
1026
xValue = DateTime.
FromOADate
(point.XValue);
1045
yValue = DateTime.
FromOADate
(point.YValues[yIndex]);
1618
DateTime dateTimeValue = DateTime.
FromOADate
(point.XValue);
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();
Common\Utilities\ValueConverter.cs (2)
120
result = String.Format(CultureInfo.CurrentCulture, convertionFormat, DateTime.
FromOADate
(value));
131
result = String.Format(CultureInfo.CurrentCulture, convertionFormat, DateTime.
FromOADate
(value));
System.Windows.Forms (1)
winforms\Managed\System\WinForms\AxHost.cs (1)
5038
return DateTime.
FromOADate
(date);
System.Windows.Forms.DataVisualization (29)
Common\Converters\AxisConverters.cs (2)
124
return DateTime.
FromOADate
((double)value).ToShortDateString();
126
return DateTime.
FromOADate
((double)value).ToString("g", System.Globalization.CultureInfo.CurrentCulture);
Common\Converters\DataManagerConverters.cs (2)
589
result += DateTime.
FromOADate
(d).ToString("g", System.Globalization.CultureInfo.InvariantCulture) + ",";
630
DateTime valueAsSate = DateTime.
FromOADate
((double)value);
Common\DataManager\DataPoint.cs (2)
2292
yDate = DateTime.
FromOADate
((Double)yValue[i]);
2313
yTime = DateTime.
FromOADate
((Double)yValue[i]);
Common\General\AxisScale.cs (2)
1374
DateTime dateTimeMin = DateTime.
FromOADate
( min );
1375
DateTime dateTimeMax = DateTime.
FromOADate
( max );
Common\General\AxisScrollZoom.cs (3)
1648
strValue = DateTime.
FromOADate
(dtValue).ToString("g", System.Globalization.CultureInfo.CurrentCulture);
1658
strValue = DateTime.
FromOADate
(dtValue).ToShortDateString();
1662
strValue = DateTime.
FromOADate
(dtValue).ToString("g", System.Globalization.CultureInfo.CurrentCulture);
Common\General\ChartAreaAxes.cs (2)
1968
DateTime date1 = DateTime.
FromOADate
(value1);
1969
DateTime date2 = DateTime.
FromOADate
(value2);
Common\General\ChartElement.cs (3)
977
DateTime newStartDate = DateTime.
FromOADate
(start);
1197
DateTime dateValue = DateTime.
FromOADate
(series.Points[pointIndex].XValue);
1284
DateTime date = DateTime.
FromOADate
(current);
Common\General\DataManipulator.cs (3)
1026
xValue = DateTime.
FromOADate
(point.XValue);
1045
yValue = DateTime.
FromOADate
(point.YValues[yIndex]);
1618
DateTime dateTimeValue = DateTime.
FromOADate
(point.XValue);
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();
Common\Utilities\ValueConverter.cs (2)
120
result = String.Format(CultureInfo.CurrentCulture, convertionFormat, DateTime.
FromOADate
(value));
131
result = String.Format(CultureInfo.CurrentCulture, convertionFormat, DateTime.
FromOADate
(value));