Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- DrawingGroupDrawingContext.cs
- DataGridTablesFactory.cs
- BinaryCommonClasses.cs
- ListViewItemCollectionEditor.cs
- DataControlImageButton.cs
- ProfileSettings.cs
- Internal.cs
- MappingModelBuildProvider.cs
- StringFreezingAttribute.cs
- GridPattern.cs
- DataPagerField.cs
- DesignParameter.cs
- dbdatarecord.cs
- SchemaContext.cs
- CachedBitmap.cs
- SerializationAttributes.cs
- InputLanguageSource.cs
- BitHelper.cs
- ChildDocumentBlock.cs
- SafeEventLogWriteHandle.cs
- XmlILOptimizerVisitor.cs
- XmlSchemaDatatype.cs
- CodeSnippetTypeMember.cs
- Block.cs
- DataObjectMethodAttribute.cs
- DbBuffer.cs
- UIElement3DAutomationPeer.cs
- OSFeature.cs
- WindowsComboBox.cs
- GroupLabel.cs
- MissingMemberException.cs
- DataRelationPropertyDescriptor.cs
- PerfCounterSection.cs
- ProviderConnectionPoint.cs
- WSTrustDec2005.cs
- XMLUtil.cs
- Double.cs
- HtmlInputButton.cs
- ToolStripDropTargetManager.cs
- AdjustableArrowCap.cs
- SerializationEventsCache.cs
- NotConverter.cs
- EditorAttribute.cs
- DataBindingList.cs
- SystemColors.cs
- SerializerDescriptor.cs
- IteratorFilter.cs
- CrossAppDomainChannel.cs
- ByteAnimationBase.cs
- WizardSideBarListControlItem.cs
- DotNetATv1WindowsLogEntrySerializer.cs
- ContentValidator.cs
- StreamInfo.cs
- IndexedString.cs
- GeneralTransform3DCollection.cs
- PropertyValueEditor.cs
- PixelFormatConverter.cs
- BinaryParser.cs
- DbBuffer.cs
- EditingScope.cs
- LocalizationParserHooks.cs
- HtmlInputImage.cs
- FamilyCollection.cs
- XmlIlTypeHelper.cs
- ListDictionary.cs
- TextServicesProperty.cs
- DefaultValueTypeConverter.cs
- DecodeHelper.cs
- SurrogateSelector.cs
- ScrollProviderWrapper.cs
- TablePatternIdentifiers.cs
- WS2007FederationHttpBindingCollectionElement.cs
- dtdvalidator.cs
- XmlSchemaSimpleContentExtension.cs
- ComponentEvent.cs
- Blend.cs
- WebConfigurationFileMap.cs
- InternalResources.cs
- MultiSelectRootGridEntry.cs
- EventEntry.cs
- Tablet.cs
- CalendarDesigner.cs
- SubstitutionList.cs
- XmlBinaryReaderSession.cs
- ButtonChrome.cs
- COSERVERINFO.cs
- BasicViewGenerator.cs
- PasswordBox.cs
- COM2ComponentEditor.cs
- FormParameter.cs
- OracleDataAdapter.cs
- InkPresenterAutomationPeer.cs
- AnnotationHighlightLayer.cs
- Transform3D.cs
- Matrix3DStack.cs
- PrintEvent.cs
- DataControlReference.cs
- ComNativeDescriptor.cs
- CommentEmitter.cs
- DataGridViewControlCollection.cs