15 references to FromDays
mscorlib (1)
system\runtime\remoting\remotingconfigparser.cs (1)
1836
case "d": span = TimeSpan.
FromDays
(value); break;
System (1)
net\System\Net\Configuration\RequestCachingSection.cs (1)
150
TimeSpan.
FromDays
(1),
System.IdentityModel (2)
System\IdentityModel\Configuration\SecurityTokenServiceConfiguration.cs (1)
25
TimeSpan _maximumTokenLifetime = TimeSpan.
FromDays
(1);
System\IdentityModel\SecurityTokenService.cs (1)
505
if (DateTimeUtil.ToUniversalTime(created) > DateTimeUtil.Add(utcNow + TimeSpan.
FromDays
(1), _securityTokenServiceConfiguration.MaxClockSkew))
System.Web (1)
Handlers\AssemblyResourceLoader.cs (1)
640
cachePolicy.SetExpires(DateTime.Now + TimeSpan.
FromDays
(365));
System.Web.DataVisualization (4)
Common\General\ChartElement.cs (4)
1289
span = TimeSpan.
FromDays
(interval);
1309
span = TimeSpan.
FromDays
(7.0 * interval);
1323
span = TimeSpan.
FromDays
(30.0 * ( interval - Math.Floor(interval) ));
1336
span = TimeSpan.
FromDays
(365.0 * ( interval - Math.Floor(interval) ));
System.Web.Extensions (2)
Handlers\ScriptResourceHandler.cs (2)
254
cachePolicy.SetExpires(now + TimeSpan.
FromDays
(365));
263
cachePolicy.SetExpires(now + TimeSpan.
FromDays
(365));
System.Windows.Forms.DataVisualization (4)
Common\General\ChartElement.cs (4)
1289
span = TimeSpan.
FromDays
(interval);
1309
span = TimeSpan.
FromDays
(7.0 * interval);
1323
span = TimeSpan.
FromDays
(30.0 * ( interval - Math.Floor(interval) ));
1336
span = TimeSpan.
FromDays
(365.0 * ( interval - Math.Floor(interval) ));