Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / Globalization / DaylightTime.cs / 1305376 / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- EmptyCollection.cs
- cookie.cs
- TraceContext.cs
- Pointer.cs
- BufferModesCollection.cs
- ViewSimplifier.cs
- COM2IDispatchConverter.cs
- TraceHandler.cs
- MaxMessageSizeStream.cs
- IDReferencePropertyAttribute.cs
- DataBoundControlDesigner.cs
- InstanceOwner.cs
- ToolStripProfessionalLowResolutionRenderer.cs
- UshortList2.cs
- Regex.cs
- CanExecuteRoutedEventArgs.cs
- InfoCardMasterKey.cs
- DataBinder.cs
- QuaternionIndependentAnimationStorage.cs
- Registry.cs
- mediaeventargs.cs
- _AutoWebProxyScriptEngine.cs
- ScriptHandlerFactory.cs
- XmlToDatasetMap.cs
- EntityDataSource.cs
- ListControl.cs
- PropertyConverter.cs
- RoutedPropertyChangedEventArgs.cs
- SqlConnectionHelper.cs
- DataGridViewTextBoxCell.cs
- ValidationErrorCollection.cs
- ComponentEditorForm.cs
- RichTextBoxDesigner.cs
- SortDescription.cs
- DataSourceSelectArguments.cs
- DelegatingConfigHost.cs
- Char.cs
- XsdValidatingReader.cs
- PropertyFilterAttribute.cs
- TrackingMemoryStreamFactory.cs
- Grant.cs
- HMACSHA512.cs
- DataGridColumn.cs
- Stylesheet.cs
- MappingException.cs
- RepeatInfo.cs
- TdsParserSessionPool.cs
- ConfigXmlCDataSection.cs
- ToolStripDropTargetManager.cs
- XmlCodeExporter.cs
- ThrowHelper.cs
- ContractDescription.cs
- SystemIPv6InterfaceProperties.cs
- InvariantComparer.cs
- ToolTipService.cs
- CapabilitiesAssignment.cs
- DataServiceEntityAttribute.cs
- RotationValidation.cs
- BaseTemplateParser.cs
- PrintDialog.cs
- BaseParaClient.cs
- localization.cs
- MailMessage.cs
- ObjectDataSourceChooseTypePanel.cs
- OleDbException.cs
- SerializationBinder.cs
- DataGridViewMethods.cs
- GacUtil.cs
- TextRangeEdit.cs
- SqlSupersetValidator.cs
- AppDomainManager.cs
- DbProviderManifest.cs
- ProxyAttribute.cs
- TrustLevelCollection.cs
- IdnElement.cs
- DataFieldEditor.cs
- HotSpotCollection.cs
- CoreSwitches.cs
- CqlLexerHelpers.cs
- BinaryCommonClasses.cs
- TextBox.cs
- LookupBindingPropertiesAttribute.cs
- InternalUserCancelledException.cs
- Point3DCollection.cs
- MustUnderstandBehavior.cs
- ProgressiveCrcCalculatingStream.cs
- ClientBuildManager.cs
- TraceSwitch.cs
- TabControl.cs
- WebPartDescription.cs
- ByteStack.cs
- XPathDocumentIterator.cs
- DataGridViewImageCell.cs
- SQLBinary.cs
- TextSearch.cs
- DataGridViewColumnTypeEditor.cs
- SchemaNotation.cs
- MsmqChannelFactoryBase.cs
- BuildTopDownAttribute.cs
- BufferedWebEventProvider.cs