115 references to TimeSpan
mscorlib (10)
system\timezoneinfo.cs (6)
1094m_baseUtcOffset = new TimeSpan(0, -(zone.Bias), 0);
1382new TimeSpan(0, defaultBaseUtcOffset - timeZoneInformation.Bias, 0)); // Bias delta is all what we need from this rule
1406new TimeSpan(0, -timeZoneInformation.DaylightBias, 0),
1409new TimeSpan(0, defaultBaseUtcOffset - timeZoneInformation.Bias, 0));
2815new TimeSpan(0, -(defaultTimeZoneInformation.Bias), 0),
3902return new TimeSpan(0 /* hours */, token /* minutes */, 0 /* seconds */);
PresentationCore (1)
PresentationFramework (4)
System (14)
net\System\Net\mail\SmtpDateTime.cs (9)
96tempTimeZoneOffsetLookup.Add("EDT", new TimeSpan(-4, 0, 0)); // -0400
97tempTimeZoneOffsetLookup.Add("EST", new TimeSpan(-5, 0, 0)); // -0500
98tempTimeZoneOffsetLookup.Add("CDT", new TimeSpan(-5, 0, 0)); // -0500
99tempTimeZoneOffsetLookup.Add("CST", new TimeSpan(-6, 0, 0)); // -0600
100tempTimeZoneOffsetLookup.Add("MDT", new TimeSpan(-6, 0, 0)); // -0600
101tempTimeZoneOffsetLookup.Add("MST", new TimeSpan(-7, 0, 0)); // -0700
102tempTimeZoneOffsetLookup.Add("PDT", new TimeSpan(-7, 0, 0)); // -0700
103tempTimeZoneOffsetLookup.Add("PST", new TimeSpan(-8, 0, 0)); // -0800
391timeZone = new TimeSpan((int) hours, (int) minutes, 0);
System.AddIn (1)
System.Data (6)
System.Data.Entity (2)
System.Data.Services.Client (1)
System.IdentityModel (2)
System.Messaging (2)
System\Messaging\MessageQueue.cs (2)
120new CacheTable<string, string>("formatNameCache", 4, new TimeSpan(0, 0, 100)); // path -> formatname
123new CacheTable<QueueInfoKeyHolder, MQCacheableInfo>("queue info", 4, new TimeSpan(0, 0, 100)); // <formatname, accessMode> -> <readHandle. writeHandle, isTrans>
System.Runtime.Serialization (3)
System.Security (2)
System.ServiceModel (4)
System.ServiceModel.Web (1)
System.Web (35)
System.Web.ApplicationServices (1)
System.Web.Mobile (1)
System.Windows.Forms (1)
System.Workflow.Activities (6)
Delay.cs (6)
33public static readonly DependencyProperty TimeoutDurationProperty = DependencyProperty.Register("TimeoutDuration", typeof(TimeSpan), typeof(DelayActivity), new PropertyMetadata(new TimeSpan(0, 0, 0)));
259standardValuesCollection.Add(new TimeSpan(0, 0, 0));
260standardValuesCollection.Add(new TimeSpan(0, 1, 0));
261standardValuesCollection.Add(new TimeSpan(0, 30, 0));
262standardValuesCollection.Add(new TimeSpan(1, 0, 0));
263standardValuesCollection.Add(new TimeSpan(12, 0, 0));
System.Workflow.ComponentModel (4)
AuthoringOM\Behaviors\WorkflowTransactionOptions.cs (4)
25public static readonly DependencyProperty TimeoutDurationProperty = DependencyProperty.Register("TimeoutDuration", typeof(TimeSpan), typeof(WorkflowTransactionOptions), new PropertyMetadata(new TimeSpan(0, 0, 30), DependencyPropertyOptions.Metadata));
122standardValuesCollection.Add(new TimeSpan(0, 0, 0));
123standardValuesCollection.Add(new TimeSpan(0, 0, 15));
124standardValuesCollection.Add(new TimeSpan(0, 1, 0));
System.Workflow.Runtime (6)
System.Xml (8)
System\Xml\Schema\XsdDateTime.cs (8)
348return new DateTime(dt.Subtract(new TimeSpan(ZoneHour, ZoneMinute, 0)).Ticks, DateTimeKind.Utc);
351return new DateTime(dt.Add(new TimeSpan(ZoneHour, ZoneMinute, 0)).Ticks, DateTimeKind.Utc);
403ticks = result.Ticks - new TimeSpan(xdt.ZoneHour, xdt.ZoneMinute, 0).Ticks;
416ticks = result.Ticks + new TimeSpan(xdt.ZoneHour, xdt.ZoneMinute, 0).Ticks;
455result = new DateTimeOffset(dt, new TimeSpan(xdt.ZoneHour, xdt.ZoneMinute, 0));
458result = new DateTimeOffset(dt, new TimeSpan(-xdt.ZoneHour, -xdt.ZoneMinute, 0));
652return dt.Subtract(new TimeSpan(ZoneHour, ZoneMinute, 0));
654return dt.Add(new TimeSpan(ZoneHour, ZoneMinute, 0));