49 references to DateTime
mscorlib (19)
system\datetimeoffset.cs (1)
132
m_dateTime = ValidateDate(new
DateTime
(year, month, day, hour, minute, second, millisecond), offset);
system\globalization\chineselunisolarcalendar.cs (1)
46
internal static DateTime maxDate = new DateTime((new
DateTime
(MAX_GREGORIAN_YEAR, MAX_GREGORIAN_MONTH, MAX_GREGORIAN_DAY, 23, 59, 59, 999)).Ticks + 9999);
system\globalization\eastasianlunisolarcalendar.cs (1)
247
return new
DateTime
(gy, gm, gd, hour, minute, second, millisecond);
system\globalization\gregoriancalendar.cs (1)
570
return new
DateTime
(year, month, day, hour, minute, second, millisecond);
system\globalization\hebrewcalendar.cs (2)
299
internal static readonly DateTime calendarMaxValue = new DateTime((new
DateTime
(2239, 9, 29, 23, 59, 59, 999)).Ticks + 9999);
1003
return (new
DateTime
(gregorianYear, 1, 1, hour, minute, second, millisecond));
system\globalization\japaneselunisolarcalendar.cs (1)
46
internal static DateTime maxDate = new DateTime((new
DateTime
(MAX_GREGORIAN_YEAR, MAX_GREGORIAN_MONTH, MAX_GREGORIAN_DAY, 23, 59, 59, 999)).Ticks + 9999);
system\globalization\koreanlunisolarcalendar.cs (1)
47
internal static DateTime maxDate = new DateTime((new
DateTime
(MAX_GREGORIAN_YEAR, MAX_GREGORIAN_MONTH, MAX_GREGORIAN_DAY, 23, 59, 59, 999)).Ticks + 9999);
system\globalization\taiwanlunisolarcalendar.cs (1)
52
internal static DateTime maxDate = new DateTime((new
DateTime
(MAX_GREGORIAN_YEAR, MAX_GREGORIAN_MONTH, MAX_GREGORIAN_DAY, 23, 59, 59, 999)).Ticks + 9999);
system\globalization\umalquracalendar.cs (1)
259
internal static DateTime maxDate = new DateTime((new
DateTime
(2077, 11, 16, 23, 59, 59, 999)).Ticks + 9999);
system\runtime\remoting\soapinteroptypes.cs (1)
450
set {_value = new
DateTime
(1, 1, 1, value.Hour, value.Minute, value.Second, value.Millisecond);}
system\timezoneinfo.cs (8)
2146
new
DateTime
(1, /* year */
2159
new
DateTime
(1, /* year */
2176
new
DateTime
(1, /* year */
2189
new
DateTime
(1, /* year */
2219
value = new
DateTime
(year, transitionTime.Month, (day < transitionTime.Day) ? day : transitionTime.Day,
2227
value = new
DateTime
(year, transitionTime.Month, 1,
2246
value = new
DateTime
(year, transitionTime.Month, daysInMonth,
4080
timeOfDay = new
DateTime
(1, 1, 1, timeOfDay.Hour,timeOfDay.Minute,timeOfDay.Second, timeOfDay.Millisecond);
System (2)
net\System\Net\_FtpControlStream.cs (1)
921
dateTime = new
DateTime
(year, month, day, hour, minute, second, millisecond);
net\System\Net\_HTTPDateParse.cs (1)
425
dtOut = new
DateTime
(year, month, day, hour, minute, second, millisecond);
System.Core (2)
System\Diagnostics\Eventing\Reader\NativeWrapper.cs (2)
1202
return new
DateTime
(sysTime.Year, sysTime.Month, sysTime.Day, sysTime.Hour, sysTime.Minute, sysTime.Second, sysTime.Milliseconds);
1367
array[i] = new
DateTime
(sysTime.Year, sysTime.Month, sysTime.Day, sysTime.Hour, sysTime.Minute, sysTime.Second, sysTime.Milliseconds);
System.Data (6)
fx\src\data\Microsoft\SqlServer\Server\SmiMetaData.cs (2)
78
internal static readonly DateTime MaxSmallDateTime = new
DateTime
(2079, 06, 06, 23, 59, 29, 998);
79
internal static readonly DateTime MinSmallDateTime = new
DateTime
(1899, 12, 31, 23, 59, 29, 999);
fx\src\data\Microsoft\SqlServer\Server\ValueUtilsSmi.cs (2)
2418
private static readonly DateTime x_dtSmallMax = new
DateTime
(2079, 06, 06, 23, 59, 29, 998);
2419
private static readonly DateTime x_dtSmallMin = new
DateTime
(1899, 12, 31, 23, 59, 29, 999);
fx\src\data\System\Data\Sql\SqlMetaData.cs (2)
1446
private static readonly DateTime x_dtSmallMax = new
DateTime
(2079, 06, 06, 23, 59, 29, 998);
1447
private static readonly DateTime x_dtSmallMin = new
DateTime
(1899, 12, 31, 23, 59, 29, 999);
System.Data.Entity (2)
System\Data\Common\EntitySql\AST\Literal.cs (2)
521
DateTime dateTime = new
DateTime
(year, month, day, hour, minute, second, 0);
561
DateTime dateTime = new
DateTime
(year, month, day, hour, minute, second, 0);
System.Management (2)
ManagementDatetime.cs (2)
194
datetime = new System.
DateTime
(year, month, day, hour, minute, second, millisec);
294
DateTime dtTemp = new
DateTime
(date.Year ,date.Month,date.Day ,date.Hour ,date.Minute ,date.Second,0);
System.ServiceModel.Web (1)
System\ServiceModel\Web\HttpDateParse.cs (1)
431
dtOut = new
DateTime
(year, month, day, hour, minute, second, millisecond);
System.Web.DataVisualization (7)
Common\DataManager\DataPoint.cs (4)
2128
DateTime time = new
DateTime
(
2140
DateTime time = new
DateTime
(
2296
DateTime date = new
DateTime
(
2317
DateTime time = new
DateTime
(
Common\General\ChartElement.cs (3)
1050
newStartDate = new
DateTime
(newStartDate.Year,
1061
newStartDate = new
DateTime
(newStartDate.Year,
1232
roundedDateValue = new
DateTime
(dateValue.Year,
System.Windows.Forms.DataVisualization (7)
Common\DataManager\DataPoint.cs (4)
2128
DateTime time = new
DateTime
(
2140
DateTime time = new
DateTime
(
2296
DateTime date = new
DateTime
(
2317
DateTime time = new
DateTime
(
Common\General\ChartElement.cs (3)
1050
newStartDate = new
DateTime
(newStartDate.Year,
1061
newStartDate = new
DateTime
(newStartDate.Year,
1232
roundedDateValue = new
DateTime
(dateValue.Year,
WindowsBase (1)
Base\MS\Internal\Security\RightsManagement\NativeRightsManagementAPIsStructures.cs (1)
107
return new
DateTime
(Year, Month, Day,