272 references to MinValue
mscorlib (46)
system\convert.cs (2)
1717
return value == null? DateTime.
MinValue
: ((IConvertible)value).ToDateTime(null);
1721
return value == null? DateTime.
MinValue
: ((IConvertible)value).ToDateTime(provider);
system\currenttimezone.cs (2)
200
m_CachedDaylightChanges.Add(objYear, new DaylightTime(DateTime.
MinValue
, DateTime.
MinValue
, TimeSpan.Zero));
system\datetime.cs (2)
716
offsetTicks = TimeZoneInfo.GetLocalUtcOffset(DateTime.
MinValue
, TimeZoneInfoOptions.NoThrowOnInvalidTime).Ticks;
1657
result = DateTime.
MinValue
;
system\globalization\calendar.cs (2)
106
return (DateTime.
MinValue
);
767
result = DateTime.
MinValue
;
system\globalization\datetimeparse.cs (7)
76
result = DateTime.
MinValue
;
87
result = DateTime.
MinValue
;
154
result = DateTime.
MinValue
;
170
result = DateTime.
MinValue
;
2301
result = DateTime.
MinValue
;
2312
result = DateTime.
MinValue
;
2742
result.parsedDate = DateTime.
MinValue
;
system\globalization\gregoriancalendar.cs (2)
86
return (DateTime.
MinValue
);
579
result = DateTime.
MinValue
;
system\globalization\juliancalendar.cs (1)
60
return (DateTime.
MinValue
);
system\globalization\koreancalendar.cs (1)
58
return (DateTime.
MinValue
);
system\globalization\thaibuddhistcalendar.cs (1)
49
return (DateTime.
MinValue
);
system\runtime\remoting\soapinteroptypes.cs (8)
205
dt = DateTime.
MinValue
;
396
DateTime _value = DateTime.
MinValue
;
476
DateTime _value = DateTime.
MinValue
.Date;
560
DateTime _value = DateTime.
MinValue
;
644
DateTime _value = DateTime.
MinValue
;
727
DateTime _value = DateTime.
MinValue
;
784
DateTime _value = DateTime.
MinValue
;
841
DateTime _value = DateTime.
MinValue
;
system\security\cryptography\x509certificates\x509certificate.cs (4)
609
m_notBefore = DateTime.
MinValue
;
610
m_notAfter = DateTime.
MinValue
;
683
if (m_notAfter == DateTime.
MinValue
) {
697
if (m_notBefore == DateTime.
MinValue
) {
system\timezoneinfo.cs (14)
1099
AdjustmentRule rule = CreateAdjustmentRuleFromTimeZoneInformation(regZone, DateTime.
MinValue
.Date, DateTime.MaxValue.Date, zone.Bias);
1335
else if (ticks < DateTime.
MinValue
.Ticks) {
1336
utcConverted = DateTime.
MinValue
;
1349
else if (ticks < DateTime.
MinValue
.Ticks) {
1350
localConverted = DateTime.
MinValue
;
1380
TransitionTime.CreateFixedDateRule(DateTime.
MinValue
, 1, 1),
1381
TransitionTime.CreateFixedDateRule(DateTime.
MinValue
.AddMilliseconds(1), 1, 1),
1562
if (rule.IsStartDateMarkerForBeginningOfYear() && daylightTime.Start.Year > DateTime.
MinValue
.Year) {
2064
rule = zone.GetAdjustmentRuleForTime(DateTime.
MinValue
);
2322
defaultTimeZoneInformation, DateTime.
MinValue
.Date, DateTime.MaxValue.Date, defaultBaseUtcOffset);
2362
AdjustmentRule rule = CreateAdjustmentRuleFromTimeZoneInformation(dtzi, DateTime.
MinValue
.Date, DateTime.MaxValue.Date, defaultBaseUtcOffset);
2380
DateTime.
MinValue
.Date, // MinValue
3058
this.DaylightTransitionStart.TimeOfDay != DateTime.
MinValue
||
3059
this.DaylightTransitionEnd.TimeOfDay != DateTime.
MinValue
.AddMilliseconds(1);
PresentationCore (4)
Core\CSharp\System\Windows\Interop\HwndTarget.cs (4)
298
_lastWakeOrUnlockEvent = DateTime.
MinValue
;
1333
_lastWakeOrUnlockEvent = DateTime.
MinValue
;
1372
_lastWakeOrUnlockEvent = DateTime.
MinValue
;
1437
_lastWakeOrUnlockEvent = DateTime.
MinValue
;
PresentationFramework (10)
src\Framework\System\Windows\Annotations\Annotation.cs (4)
95
_created = DateTime.
MinValue
;
96
_modified = DateTime.
MinValue
;
703
if (_created.Equals(DateTime.
MinValue
))
707
if (_modified.Equals(DateTime.
MinValue
))
src\Framework\System\Windows\Controls\Calendar.cs (2)
204
new FrameworkPropertyMetadata(DateTime.
MinValue
, FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnDisplayDateChanged, CoerceDisplayDate));
681
return this.DisplayDateStart.GetValueOrDefault(DateTime.
MinValue
);
src\Framework\System\Windows\Controls\CalendarBlackoutDatesCollection.cs (1)
44
this.Add(new CalendarDateRange(DateTime.
MinValue
, DateTime.Today.AddDays(-1)));
src\Framework\System\Windows\Controls\CalendarDateRange.cs (1)
26
this(DateTime.
MinValue
, DateTime.MaxValue)
src\Framework\System\Windows\Controls\Primitives\CalendarItem.cs (2)
1050
bool isMinMonth = DateTimeHelper.CompareYearMonth(firstDayOfMonth, DateTime.
MinValue
) <= 0;
1254
if (year <= DateTime.MaxValue.Year && year >= DateTime.
MinValue
.Year)
SMDiagnostics (1)
System\ServiceModel\Diagnostics\LegacyDiagnosticTrace.cs (1)
131
this.LastFailure = DateTime.
MinValue
;
System (75)
compmod\system\componentmodel\DateTimeConverter.cs (2)
60
return DateTime.
MinValue
;
94
if (dt == DateTime.
MinValue
) {
compmod\system\diagnostics\TraceEventCache.cs (2)
22
private DateTime dateTime = DateTime.
MinValue
;
48
if (dateTime == DateTime.
MinValue
)
net\System\Net\_Connection.cs (3)
849
m_IdleSinceUtc != DateTime.
MinValue
&&
881
m_IdleSinceUtc = DateTime.
MinValue
;
2931
m_IdleSinceUtc = DateTime.
MinValue
;
net\System\Net\_FtpControlStream.cs (1)
228
m_LastModified = DateTime.
MinValue
;
net\System\Net\Cache\_Rfc2616CacheValidators.cs (20)
225
if (ctx.CacheDate != DateTime.
MinValue
&&
226
ctx.ResponseDate != DateTime.
MinValue
&&
274
(ctx.ResponseExpires != DateTime.
MinValue
&&
512
if (date != DateTime.
MinValue
) {
516
else if (ctx.CacheEntry.LastSynchronizedUtc != DateTime.
MinValue
) {
593
if (date == DateTime.
MinValue
) {
598
if (ctx.CacheExpires != DateTime.
MinValue
&& ctx.CacheExpires < expiresDate) {
603
if (expiresDate != DateTime.
MinValue
&& date != DateTime.
MinValue
&& ctx.CacheAge != TimeSpan.MinValue) {
613
if (expiresDate != DateTime.
MinValue
) {
645
if (lastModifiedDate != DateTime.
MinValue
) {
734
if (ctx.ResponseDate != DateTime.
MinValue
&& ctx.CacheDate != DateTime.
MinValue
) {
791
if (ctx.ResponseLastModified == DateTime.
MinValue
&& ctx.Response.Headers.ETag == null) {
897
if (ctx.Policy.InternalCacheSyncDateUtc != DateTime.
MinValue
)
1205
if (ctx.ResponseLastModified != DateTime.
MinValue
) {
1208
if (ctx.ResponseExpires != DateTime.
MinValue
) {
1211
if (ctx.ResponseDate != DateTime.
MinValue
) {
1603
if (ctx.CacheEntry.LastModifiedUtc != DateTime.
MinValue
) {
1665
if (ctx.CacheEntry.LastModifiedUtc != DateTime.
MinValue
)
net\System\Net\Cache\FtpRequestCacheValidator.cs (6)
41
m_LastModified = DateTime.
MinValue
;
141
if (CacheEntry.ExpiresUtc != DateTime.
MinValue
)
153
if(CacheEntry.LastSynchronizedUtc != DateTime.
MinValue
)
162
if (CacheEntry.LastModifiedUtc != DateTime.
MinValue
)
442
if (CacheEntry.LastModifiedUtc != DateTime.
MinValue
&& resp.LastModified.ToUniversalTime() != CacheEntry.LastModifiedUtc)
462
if (resp.LastModified != DateTime.
MinValue
)
net\System\Net\Cache\HttpRequestCacheValidator.cs (8)
77
Date = DateTime.
MinValue
;
78
Expires = DateTime.
MinValue
;
79
LastModified = DateTime.
MinValue
;
515
if (ResponseExpires != DateTime.
MinValue
) {
519
if (ResponseLastModified != DateTime.
MinValue
)
735
DateTime date = DateTime.
MinValue
;
749
date = DateTime.
MinValue
;
763
date = DateTime.
MinValue
;
net\System\Net\Cache\IERequestCache.cs (5)
409
if (expiresUtc != DateTime.
MinValue
&& expiresUtc > s_MinDateTimeUtcForFileTimeUtc) {
414
if (lastModifiedUtc != DateTime.
MinValue
&& lastModifiedUtc > s_MinDateTimeUtcForFileTimeUtc) {
524
if (expiresUtc != DateTime.
MinValue
&& expiresUtc > s_MinDateTimeUtcForFileTimeUtc) {
530
if (lastModifiedUtc != DateTime.
MinValue
&& lastModifiedUtc > s_MinDateTimeUtcForFileTimeUtc) {
536
if (lastSynchronizedUtc != DateTime.
MinValue
&& lastSynchronizedUtc > s_MinDateTimeUtcForFileTimeUtc) {
net\System\Net\Cache\RequestCacheEntry.cs (9)
47
m_ExpiresUtc = m_LastAccessedUtc = m_LastModifiedUtc = m_LastSynchronizedUtc = DateTime.
MinValue
;
56
m_ExpiresUtc = (entry.Info.ExpireTime.IsNull? DateTime.
MinValue
: DateTime.FromFileTimeUtc(entry.Info.ExpireTime.ToLong()));
58
m_LastAccessedUtc= (entry.Info.LastAccessTime.IsNull? DateTime.
MinValue
: DateTime.FromFileTimeUtc(entry.Info.LastAccessTime.ToLong()));
59
m_LastModifiedUtc= (entry.Info.LastModifiedTime.IsNull? DateTime.
MinValue
: DateTime.FromFileTimeUtc(entry.Info.LastModifiedTime.ToLong()));
60
m_LastSynchronizedUtc= (entry.Info.LastSyncTime.IsNull? DateTime.
MinValue
: DateTime.FromFileTimeUtc(entry.Info.LastSyncTime.ToLong()));
90
sb.Append("\r\nExpires = ").Append(ExpiresUtc == DateTime.
MinValue
? "": ExpiresUtc.ToString("r", CultureInfo.CurrentCulture));
91
sb.Append("\r\nLastAccessed = ").Append(LastAccessedUtc == DateTime.
MinValue
? "": LastAccessedUtc.ToString("r", CultureInfo.CurrentCulture));
92
sb.Append("\r\nLastModified = ").Append(LastModifiedUtc == DateTime.
MinValue
? "": LastModifiedUtc.ToString("r", CultureInfo.CurrentCulture));
93
sb.Append("\r\nLastSynchronized = ").Append(LastSynchronizedUtc == DateTime.
MinValue
? "": LastSynchronizedUtc.ToString("r", CultureInfo.CurrentCulture));
net\System\Net\Cache\RequestCachePolicy.cs (3)
149
private DateTime m_LastSyncDateUtc = DateTime.
MinValue
;
242
if (m_LastSyncDateUtc == DateTime.
MinValue
|| m_LastSyncDateUtc == DateTime.MaxValue) {
278
(CacheSyncDate==DateTime.
MinValue
? string.Empty: " CacheSyncDate:" + CacheSyncDate.ToString(CultureInfo.CurrentCulture));
net\System\Net\cookie.cs (3)
68
DateTime m_expires = DateTime.
MinValue
;
220
return (m_expires != DateTime.
MinValue
) && (m_expires.ToLocalTime() <= DateTime.Now);
791
if (Expires != DateTime.
MinValue
) {
net\System\Net\cookiecollection.cs (2)
35
DateTime m_TimeStamp = DateTime.
MinValue
;
180
m_TimeStamp = DateTime.
MinValue
;
net\System\Net\FtpWebRequest.cs (2)
2082
ctx.CacheEntry.LastModifiedUtc == DateTime.
MinValue
? DateTime.Now: ctx.CacheEntry.LastModifiedUtc.ToLocalTime(),
2149
ctx.CacheEntry.LastModifiedUtc == DateTime.
MinValue
? DateTime.Now: ctx.CacheEntry.LastModifiedUtc.ToLocalTime(),
net\System\Net\HttpWebRequest.cs (2)
2987
return DateTime.
MinValue
; // MinValue means header is not present
2999
if (dateTime == DateTime.
MinValue
)
net\System\Net\mail\ContentDisposition.cs (1)
93
return DateTime.
MinValue
;
net\System\Net\NetWebProxyFinder.cs (2)
284
DateTime lastModified = DateTime.
MinValue
;
299
if (scriptInstance != null && lastModified != DateTime.
MinValue
&& scriptInstance.LastModified == lastModified)
security\system\security\cryptography\x509\x509certificate2.cs (4)
712
if (m_notAfter == DateTime.
MinValue
) {
733
if (m_notBefore == DateTime.
MinValue
) {
1115
m_notBefore = DateTime.
MinValue
;
1116
m_notAfter = DateTime.
MinValue
;
System.Configuration (2)
System\Configuration\Internal\InternalConfigHost.cs (2)
114
DateTime utcCreationTime = DateTime.
MinValue
;
115
DateTime utcLastWriteTime = DateTime.
MinValue
;
System.Data (11)
fx\src\data\System\Data\Common\DateTimeStorage.cs (2)
18
private static readonly DateTime defaultValue = DateTime.
MinValue
;
45
DateTime max = DateTime.
MinValue
;
fx\src\data\System\Data\ProviderBase\DbConnectionPoolAuthenticationContext.cs (1)
57
Debug.Assert(expirationTime > DateTime.
MinValue
&& expirationTime < DateTime.MaxValue);
fx\src\data\System\Data\SqlClient\SqlBuffer.cs (4)
182
return DateTime.
MinValue
.AddDays(_value._int32);
867
_value._int32 = date.Subtract(DateTime.
MinValue
).Days;
903
_value._dateTime2Info.date = dateTime.Subtract(DateTime.
MinValue
).Days;
924
_value._dateTimeOffsetInfo.dateTime2Info.date = utcDateTime.Subtract(DateTime.
MinValue
).Days;
fx\src\data\System\Data\SqlClient\TdsParser.cs (2)
6250
long days = value.Subtract(DateTime.
MinValue
).Days;
6255
long days = value.Subtract(DateTime.
MinValue
).Days;
fx\src\data\System\Data\SqlClient\TdsValueSetter.cs (2)
516
int days = value.Subtract(DateTime.
MinValue
).Days;
586
int days = utcDateTime.Subtract(DateTime.
MinValue
).Days;
System.Data.Services.Client (1)
System\Data\Services\Client\Epm\EpmSyndicationContentSerializer.cs (1)
116
atomDateConstruct ? ClientConvert.ToString(DateTime.
MinValue
, atomDateConstruct) :
System.IdentityModel (6)
System\IdentityModel\DateTimeUtil.cs (2)
27
if (timespan <= TimeSpan.Zero && DateTime.
MinValue
- time >= timespan)
59
return new DateTime(DateTime.
MinValue
.Ticks, kind);
System\IdentityModel\SecurityUtils.cs (2)
65
return new DateTime(DateTime.
MinValue
.Ticks + TimeSpan.TicksPerDay, DateTimeKind.Utc);
170
DateTime curEffectiveTime = (effectiveTime < DateTime.
MinValue
.Add(maxClockSkew)) ? effectiveTime : effectiveTime.Subtract(maxClockSkew);
System\IdentityModel\Tokens\Saml2SecurityToken.cs (1)
98
return DateTime.
MinValue
;
System\IdentityModel\Tokens\SamlSecurityTokenHandler.cs (1)
48
static DateTime WCFMinValue = new DateTime(DateTime.
MinValue
.Ticks + TimeSpan.TicksPerDay, DateTimeKind.Utc);
System.Management (7)
ManagementDatetime.cs (7)
112
int year = DateTime.
MinValue
.Year;
113
int month = DateTime.
MinValue
.Month;
114
int day = DateTime.
MinValue
.Day;
115
int hour = DateTime.
MinValue
.Hour;
116
int minute = DateTime.
MinValue
.Minute;
117
int second = DateTime.
MinValue
.Second;
120
DateTime datetime = DateTime.
MinValue
;
System.Runtime.Caching (1)
System\Caching\MemoryCacheStatistics.cs (1)
195
_lastTrimTime = DateTime.
MinValue
;
System.Runtime.Serialization (2)
System\Runtime\Serialization\Json\JsonWriterDelegator.cs (1)
214
if ((tickCount > DateTime.MaxValue.Ticks) || (tickCount < DateTime.
MinValue
.Ticks))
System\Xml\XmlConverter.cs (1)
834
hourDelta < 0 && (value > DateTime.
MinValue
- ts))
System.Security (2)
system\security\cryptography\pkcs\recipientinfo.cs (2)
273
if (m_date == DateTime.
MinValue
) {
363
m_date = DateTime.
MinValue
;
System.ServiceModel (2)
System\ServiceModel\Security\SecurityUtils.cs (2)
328
DateTime curEffectiveTime = (effectiveTime < DateTime.
MinValue
.Add(maxClockSkew)) ? effectiveTime : effectiveTime.Subtract(maxClockSkew);
383
return new DateTime(DateTime.
MinValue
.Ticks + TimeSpan.TicksPerDay, DateTimeKind.Utc);
System.ServiceModel.Activation (1)
System\ServiceModel\ServiceHostingEnvironment.cs (1)
47
static DateTime insufficientMemoryLogStartInterval = DateTime.
MinValue
;
System.ServiceModel.Internals (3)
System\Runtime\Diagnostics\DiagnosticTraceBase.cs (1)
44
this.LastFailure = DateTime.
MinValue
;
System\Runtime\TimeoutHelper.cs (2)
88
if (timeout <= TimeSpan.Zero && DateTime.
MinValue
- time >= timeout)
90
return DateTime.
MinValue
;
System.ServiceModel.Web (1)
System\ServiceModel\Web\OutgoingWebResponseContext.cs (1)
68
return DateTime.
MinValue
;
System.Web (57)
Cache\CacheDependency.cs (4)
333
_utcLastModified = DateTime.
MinValue
;
469
DateTime utcNow = DateTime.
MinValue
;
481
if (utcNow == DateTime.
MinValue
) {
960
DateTime utcLastModified = DateTime.
MinValue
;
Cache\SqlCacheDependency.cs (1)
503
_utcTablesUpdated = DateTime.
MinValue
;
Compilation\BuildResult.cs (1)
125
ret._nextUpToDateCheck = DateTime.
MinValue
;
FileChangesMonitor.cs (8)
498
utcCompletion = DateTime.
MinValue
;
990
DateTime utcLastCompletion = DateTime.
MinValue
;
1690
return DateTime.
MinValue
;
1699
return DateTime.
MinValue
;
1754
return DateTime.
MinValue
;
1786
return DateTime.
MinValue
;
1794
return DateTime.
MinValue
;
1887
return DateTime.
MinValue
;
HttpCachePolicy.cs (6)
530
_utcExpires = DateTime.
MinValue
;
538
_utcTimestampCreated = DateTime.
MinValue
;
539
_utcTimestampRequest = DateTime.
MinValue
;
543
_utcLastModified = DateTime.
MinValue
;
779
if (_utcTimestampCreated == DateTime.
MinValue
) {
1183
Debug.Assert(_utcTimestampCreated != DateTime.
MinValue
, "_utcTimestampCreated != DateTime.MinValue");
HttpCookie.cs (2)
228
return(_expirationSet ? _expires : DateTime.
MinValue
);
466
if (_expirationSet && _expires != DateTime.
MinValue
) {
HttpResponse.cs (3)
2159
_expiresAbsolute = DateTime.
MinValue
;
3565
if (_oldestDependency == DateTime.
MinValue
|| utcNow < _oldestDependency)
3623
if (_oldestDependency == DateTime.
MinValue
|| utcDepTime < _oldestDependency)
HttpRuntime.cs (1)
2228
if (_theRuntime.LastShutdownAttemptTime == DateTime.
MinValue
&& !_theRuntime._firstRequestCompleted && !_theRuntime._userForcedShutdown) {
httpserverutility.cs (2)
1514
if (dt < DateTime.MaxValue.AddDays(-1) && dt > DateTime.
MinValue
.AddDays(1))
1524
if (dt < DateTime.MaxValue.AddDays(-1) && dt > DateTime.
MinValue
.AddDays(1))
Management\BufferedWebEventProvider.cs (1)
68
DateTime.
MinValue
,
Management\SimpleMailWebEventProvider.cs (1)
201
DateTime.
MinValue
, // lastFlush
Management\SqlWebEventProvider.cs (1)
38
DateTime _retryDate = DateTime.
MinValue
; // Won't try sending unless DateTime.UtcNow is > _retryDate
Management\TemplatedMailWebEventProvider.cs (1)
154
DateTime.
MinValue
, // lastNotificationUtc
Management\webeventbuffer.cs (4)
109
DateTime _lastFlushTime = DateTime.
MinValue
;
110
DateTime _lastScheduledFlushTime = DateTime.
MinValue
;
111
DateTime _lastAdd = DateTime.
MinValue
;
112
DateTime _startTime = DateTime.
MinValue
;
Management\WebEvents.cs (3)
2040
static DateTime s_startTime = DateTime.
MinValue
;
2041
static DateTime s_lastUpdated = DateTime.
MinValue
;
2206
_lastFired = DateTime.
MinValue
;
OutputCacheModule.cs (1)
1244
DateTime utcTimestamp = (settings.UtcTimestampCreated != DateTime.
MinValue
) ? settings.UtcTimestampCreated : context.UtcTimestamp;
Security\ADMembershipProvider.cs (2)
2800
DateTime lastLogon = DateTime.
MinValue
;
2803
DateTime lastActivity = DateTime.
MinValue
;
State\InProcStateClientManager.cs (3)
300
DateTime.
MinValue
,
341
DateTime.
MinValue
,
377
DateTime.
MinValue
,
State\SessionStateModule.cs (1)
499
_rqLastPollCompleted = DateTime.
MinValue
;
State\StateRuntime.cs (1)
622
content = new CachedContent(buf, stateItem, false, DateTime.
MinValue
, timeout, lockCookieNew, extraFlags);
UI\WebControls\Calendar.cs (6)
407
return DateTime.
MinValue
;
412
if (value == DateTime.
MinValue
) {
756
return((o == null) ? DateTime.
MinValue
: (DateTime)o);
902
if (visDate.Equals(DateTime.
MinValue
)) {
1167
if (oldDate.Equals(DateTime.
MinValue
)) {
1172
if (VisibleDate == DateTime.
MinValue
) {
UI\WebParts\SqlPersonalizationProvider.cs (1)
120
DateTime lastUpdatedDate = (reader.IsDBNull(1)) ? DateTime.
MinValue
:
Util\DateTimeUtil.cs (3)
23
static readonly DateTime MinValuePlusOneDay = DateTime.
MinValue
.AddDays(1);
36
return DateTime.
MinValue
;
48
return DateTime.
MinValue
;
System.Web.Mobile (6)
UI\MobileControls\Adapters\ChtmlCalendarAdapter.cs (2)
165
if (Page.IsPostBack && Control.VisibleDate == DateTime.
MinValue
)
242
bool saveVisibleDate = visibleDate != DateTime.
MinValue
&&
UI\MobileControls\Adapters\WmlCalendarAdapter.cs (2)
147
if (Page.IsPostBack && Control.VisibleDate == DateTime.
MinValue
)
224
bool saveVisibleDate = visibleDate != DateTime.
MinValue
&&
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicCalendarAdapter.cs (2)
143
if (Page.IsPostBack && Control.VisibleDate == DateTime.
MinValue
) {
209
bool saveVisibleDate = visibleDate != DateTime.
MinValue
&&
System.Windows.Forms (6)
winforms\Managed\System\WinForms\DateTimePicker.cs (2)
106
private DateTime min = DateTime.
MinValue
;
1536
return min != MinimumDateTime && min != DateTime.
MinValue
;
winforms\Managed\System\WinForms\MonthCalendar.cs (3)
132
private DateTime minDate = DateTime.
MinValue
;
1869
MinDate = DateTime.
MinValue
;
2212
return minDate != DateTimePicker.MinimumDateTime && minDate != DateTime.
MinValue
;
winforms\Managed\System\WinForms\SelectionRange.cs (1)
32
private DateTime start = DateTime.
MinValue
.Date;
System.Workflow.Runtime (7)
Tracking\SqlTrackingQuery.cs (3)
195
if (DateTime.
MinValue
!= opt.StatusMinDateTime || DateTime.MaxValue != opt.StatusMaxDateTime)
286
private DateTime _min = DateTime.
MinValue
, _max = DateTime.MaxValue;
318
_min = DateTime.
MinValue
;
Tracking\SqlTrackingWorkflowInstance.cs (1)
618
DateTime currDT = DateTime.
MinValue
;
Tracking\TrackingRecord.cs (3)
56
private DateTime _eventDateTime = DateTime.
MinValue
;
163
private DateTime _eventDateTime = DateTime.
MinValue
;
274
private DateTime _eventDateTime = DateTime.
MinValue
;
System.Xml (6)
System\Xml\Schema\DataTypeImplementation.cs (1)
1866
DateTime dateTimeValue = DateTime.
MinValue
;
System\Xml\Schema\XsdDateTime.cs (3)
404
if (ticks < DateTime.
MinValue
.Ticks)
408
if (ticks < DateTime.
MinValue
.Ticks)
409
ticks = DateTime.
MinValue
.Ticks;
System\Xml\Serialization\Xmlcustomformatter.cs (2)
80
return XmlConvert.ToString(DateTime.
MinValue
+ value.TimeOfDay, "HH:mm:ss.fffffffZ");
84
return XmlConvert.ToString(DateTime.
MinValue
+ value.TimeOfDay, "HH:mm:ss.fffffffzzzzzz");
WindowsBase (14)
Base\MS\Internal\Security\RightsManagement\ClientSession.cs (4)
440
DateTime currentTimeStamp = ExtractIssuedTimeFromCertificateChain(currentCert, DateTime.
MinValue
);
454
DateTime newTimeStamp = ExtractIssuedTimeFromCertificateChain(newCert, DateTime.
MinValue
);
1708
DateTime timeFrom = DateTime.
MinValue
;
1746
DateTime.
MinValue
);
Base\MS\Internal\Security\RightsManagement\IssuanceLicense.cs (5)
114
if ((validFrom != DateTime.
MinValue
) || (validUntil != DateTime.MaxValue))
467
if ((grant.ValidFrom != DateTime.
MinValue
) || (grant.ValidUntil != DateTime.MaxValue))
549
validFrom = validFromSysTime.GetDateTime(DateTime.
MinValue
);
805
validFrom = DateTime.
MinValue
;
891
timeFrom = timeFromTemp.GetDateTime(DateTime.
MinValue
);
Base\System\Security\RightsManagement\Grant.cs (1)
47
: this(user, right, DateTime.
MinValue
, DateTime.MaxValue)
Base\System\Security\RightsManagement\UnsignedPublishLicense.cs (4)
78
DateTime.
MinValue
, // validFrom, - default
124
DateTime.
MinValue
, // validFrom, - default
271
DateTime.
MinValue
,
300
DateTime.
MinValue
, // validFrom, - default
XamlBuildTask (1)
Microsoft\Build\Tasks\Xaml\PartialClassGenerationTask.cs (1)
309
|| timeStamp == DateTime.
MinValue
)