8 references to Subtract
mscorlib (1)
system\datetimeoffset.cs (1)
658
return new DateTimeOffset(ClockDateTime.
Subtract
(value), Offset);
System.IdentityModel (2)
System\IdentityModel\SecurityUtils.cs (2)
170
DateTime curEffectiveTime = (effectiveTime < DateTime.MinValue.Add(maxClockSkew)) ? effectiveTime : effectiveTime.
Subtract
(maxClockSkew);
171
DateTime curExpirationTime = (expirationTime > DateTime.MaxValue.
Subtract
(maxClockSkew)) ? expirationTime : expirationTime.Add(maxClockSkew);
System.ServiceModel (2)
System\ServiceModel\Security\SecurityUtils.cs (2)
328
DateTime curEffectiveTime = (effectiveTime < DateTime.MinValue.Add(maxClockSkew)) ? effectiveTime : effectiveTime.
Subtract
(maxClockSkew);
329
DateTime curExpirationTime = (expirationTime > DateTime.MaxValue.
Subtract
(maxClockSkew)) ? expirationTime : expirationTime.Add(maxClockSkew);
System.Web.ApplicationServices (1)
Security\MembershipUser.cs (1)
83
DateTime dt = DateTime.UtcNow.
Subtract
(ts);
System.Xml (2)
System\Xml\Schema\XsdDateTime.cs (2)
348
return new DateTime(dt.
Subtract
(new TimeSpan(ZoneHour, ZoneMinute, 0)).Ticks, DateTimeKind.Utc);
652
return dt.
Subtract
(new TimeSpan(ZoneHour, ZoneMinute, 0));