Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / 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;
}
}
}
}
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- XmlSchemaSimpleContent.cs
- GridViewColumnHeader.cs
- PropertyRecord.cs
- DataViewSetting.cs
- ToolStripActionList.cs
- StringFormat.cs
- WindowsGrip.cs
- ControlTemplate.cs
- activationcontext.cs
- RegexTree.cs
- Misc.cs
- TiffBitmapDecoder.cs
- CharacterBuffer.cs
- DateTimeStorage.cs
- ReaderOutput.cs
- RawMouseInputReport.cs
- MiniModule.cs
- ConstrainedDataObject.cs
- WindowsRebar.cs
- HostingEnvironment.cs
- ToolStripSplitButton.cs
- ReflectPropertyDescriptor.cs
- TypeHelper.cs
- ProfileSection.cs
- EntityDataSourceUtil.cs
- DiagnosticTraceSource.cs
- OwnerDrawPropertyBag.cs
- Point.cs
- StringTraceRecord.cs
- BindingsCollection.cs
- TextEncodedRawTextWriter.cs
- _UriSyntax.cs
- ResourcePart.cs
- XmlLinkedNode.cs
- StateItem.cs
- ParserContext.cs
- TextServicesContext.cs
- DefaultBinder.cs
- SecurityCriticalDataForSet.cs
- RemoteWebConfigurationHost.cs
- Converter.cs
- ColorTypeConverter.cs
- GlyphRunDrawing.cs
- ToolboxItemAttribute.cs
- BitmapFrameDecode.cs
- HtmlInputSubmit.cs
- Nodes.cs
- GPRECT.cs
- TrackBarRenderer.cs
- MruCache.cs
- DesignerToolboxInfo.cs
- AliasGenerator.cs
- Rules.cs
- CodeIndexerExpression.cs
- UIElementAutomationPeer.cs
- CodeTypeDeclarationCollection.cs
- Converter.cs
- SymmetricKey.cs
- RightsManagementEncryptedStream.cs
- WpfGeneratedKnownProperties.cs
- UiaCoreTypesApi.cs
- ClassValidator.cs
- UrlAuthFailedErrorFormatter.cs
- MD5CryptoServiceProvider.cs
- LocatorManager.cs
- EntityConnectionStringBuilder.cs
- Vector3DIndependentAnimationStorage.cs
- EventItfInfo.cs
- ErrorStyle.cs
- DecoderBestFitFallback.cs
- controlskin.cs
- BrowserInteropHelper.cs
- CommentAction.cs
- XmlSchemaException.cs
- XmlStringTable.cs
- GeneratedView.cs
- RsaSecurityTokenAuthenticator.cs
- InternalBufferOverflowException.cs
- SocketPermission.cs
- ConstrainedDataObject.cs
- ThreadInterruptedException.cs
- XsltCompileContext.cs
- ModelToObjectValueConverter.cs
- FileEnumerator.cs
- CommunicationObjectAbortedException.cs
- FormattedText.cs
- ShaperBuffers.cs
- QueryGenerator.cs
- ParameterRetriever.cs
- FormatVersion.cs
- HtmlControl.cs
- ellipse.cs
- ImpersonationContext.cs
- GeneralTransform3DCollection.cs
- HeaderedContentControl.cs
- Math.cs
- ApplicationCommands.cs
- InvalidDataException.cs
- WorkerRequest.cs
- HttpCapabilitiesSectionHandler.cs