Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / clr / src / BCL / System / Globalization / DaylightTime.cs / 1 / DaylightTime.cs
// ==++==
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// ==--==
namespace System.Globalization {
using System;
// This class represents a starting/ending time for a period of daylight saving time.
[Serializable]
[System.Runtime.InteropServices.ComVisible(true)]
public class DaylightTime
{
internal DateTime m_start;
internal DateTime m_end;
internal TimeSpan m_delta;
private DaylightTime() {
}
public DaylightTime(DateTime start, DateTime end, TimeSpan delta) {
m_start = start;
m_end = end;
m_delta = delta;
}
// The start date of a daylight saving period.
public DateTime Start {
get {
return m_start;
}
}
// The end date of a daylight saving period.
public DateTime End {
get {
return m_end;
}
}
// Delta to stardard offset in ticks.
public TimeSpan Delta {
get {
return m_delta;
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// ==++==
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// ==--==
namespace System.Globalization {
using System;
// This class represents a starting/ending time for a period of daylight saving time.
[Serializable]
[System.Runtime.InteropServices.ComVisible(true)]
public class DaylightTime
{
internal DateTime m_start;
internal DateTime m_end;
internal TimeSpan m_delta;
private DaylightTime() {
}
public DaylightTime(DateTime start, DateTime end, TimeSpan delta) {
m_start = start;
m_end = end;
m_delta = delta;
}
// The start date of a daylight saving period.
public DateTime Start {
get {
return m_start;
}
}
// The end date of a daylight saving period.
public DateTime End {
get {
return m_end;
}
}
// Delta to stardard offset in ticks.
public TimeSpan Delta {
get {
return m_delta;
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ImportCatalogPart.cs
- ExtendedTransformFactory.cs
- WindowsIdentity.cs
- XamlTypeMapper.cs
- Imaging.cs
- CodeCompiler.cs
- BezierSegment.cs
- SessionPageStatePersister.cs
- StatusInfoItem.cs
- HelpKeywordAttribute.cs
- _NTAuthentication.cs
- ScriptingWebServicesSectionGroup.cs
- ProfileManager.cs
- TreeNode.cs
- CallbackCorrelationInitializer.cs
- ServerIdentity.cs
- EncodingDataItem.cs
- GuidTagList.cs
- Literal.cs
- WsiProfilesElementCollection.cs
- StringAttributeCollection.cs
- ActivityXRefConverter.cs
- OperandQuery.cs
- FrameworkElement.cs
- DocumentStream.cs
- StylusEditingBehavior.cs
- TreeView.cs
- TransformerInfoCollection.cs
- Quaternion.cs
- SessionPageStatePersister.cs
- NameObjectCollectionBase.cs
- SqlRowUpdatingEvent.cs
- DataGridViewColumnHeaderCell.cs
- SurrogateSelector.cs
- COMException.cs
- XmlConvert.cs
- ChunkedMemoryStream.cs
- TypeSystem.cs
- CodeSnippetExpression.cs
- CustomActivityDesigner.cs
- APCustomTypeDescriptor.cs
- AuthenticationModulesSection.cs
- ResponseStream.cs
- DateTimeConverter.cs
- ResourceDisplayNameAttribute.cs
- FileDialog_Vista.cs
- EdmTypeAttribute.cs
- TagPrefixInfo.cs
- ConnectionStringsExpressionBuilder.cs
- VerticalAlignConverter.cs
- ObjectSecurityT.cs
- SettingsBase.cs
- ListViewSelectEventArgs.cs
- NameSpaceExtractor.cs
- PrimitiveCodeDomSerializer.cs
- SafeNativeMethods.cs
- ServiceThrottlingBehavior.cs
- WindowsServiceElement.cs
- shaperfactoryquerycacheentry.cs
- DeviceFilterDictionary.cs
- CollectionBuilder.cs
- ItemAutomationPeer.cs
- MailMessage.cs
- ScrollData.cs
- SelectorItemAutomationPeer.cs
- TerminateSequence.cs
- CodeAccessSecurityEngine.cs
- Transform.cs
- DesignerActionVerbList.cs
- Point3DKeyFrameCollection.cs
- QueryInterceptorAttribute.cs
- DataGridViewDesigner.cs
- ObjectStateEntryBaseUpdatableDataRecord.cs
- CardSpaceSelector.cs
- DrawListViewSubItemEventArgs.cs
- BamlStream.cs
- ActivityPreviewDesigner.cs
- FirewallWrapper.cs
- BuilderInfo.cs
- MarkupExtensionParser.cs
- Adorner.cs
- Misc.cs
- ObjectHelper.cs
- XmlNamespaceMapping.cs
- ThreadExceptionEvent.cs
- SelectedGridItemChangedEvent.cs
- HandleRef.cs
- VarRefManager.cs
- CompositeCollection.cs
- EdmRelationshipRoleAttribute.cs
- DataBoundControl.cs
- NamedPipeProcessProtocolHandler.cs
- RequestUriProcessor.cs
- CollectionViewProxy.cs
- ListBox.cs
- BinHexDecoder.cs
- FixedSOMLineRanges.cs
- PenLineJoinValidation.cs
- ObjectQueryProvider.cs
- WebPartManagerInternals.cs