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
- BindingNavigator.cs
- CodeActivityContext.cs
- XXXInfos.cs
- ServiceChannel.cs
- FormCollection.cs
- FileDialogCustomPlace.cs
- NativeWindow.cs
- MeshGeometry3D.cs
- Font.cs
- Triplet.cs
- AgileSafeNativeMemoryHandle.cs
- MessageSmuggler.cs
- OdbcException.cs
- TextCompositionEventArgs.cs
- TraceLog.cs
- DataRow.cs
- XmlSchemaAttribute.cs
- DbProviderFactory.cs
- WindowsRebar.cs
- SystemWebCachingSectionGroup.cs
- RuleSettingsCollection.cs
- CompModHelpers.cs
- PerspectiveCamera.cs
- WebPartConnectVerb.cs
- PathFigureCollection.cs
- CodeDefaultValueExpression.cs
- ExpressionTextBox.xaml.cs
- FieldMetadata.cs
- MatrixTransform.cs
- XPathDocument.cs
- ConfigErrorGlyph.cs
- CacheDict.cs
- Vector3DKeyFrameCollection.cs
- ListItemParagraph.cs
- BigInt.cs
- EventRoute.cs
- CodeActivityContext.cs
- ProcessHostMapPath.cs
- WindowsTitleBar.cs
- PropertyTabAttribute.cs
- RadioButtonRenderer.cs
- BinaryReader.cs
- Attribute.cs
- HttpContext.cs
- LinkButton.cs
- TextSimpleMarkerProperties.cs
- IpcChannel.cs
- AttachedPropertyBrowsableAttribute.cs
- HighlightComponent.cs
- EasingKeyFrames.cs
- ComboBox.cs
- DataGridViewSortCompareEventArgs.cs
- ADMembershipProvider.cs
- AuthorizationSection.cs
- Themes.cs
- BoundColumn.cs
- TextWriter.cs
- EncoderBestFitFallback.cs
- HtmlControlAdapter.cs
- TimersDescriptionAttribute.cs
- ConsoleKeyInfo.cs
- TemplatedWizardStep.cs
- AtlasWeb.Designer.cs
- ThaiBuddhistCalendar.cs
- EntityDataSourceWrapperPropertyDescriptor.cs
- ControlTemplate.cs
- FixedSOMElement.cs
- SqlStream.cs
- SqlCharStream.cs
- ConfigurationStrings.cs
- TablePattern.cs
- EmptyControlCollection.cs
- ImportCatalogPart.cs
- EmptyEnumerator.cs
- WebPartConnectionsCancelEventArgs.cs
- ObjectCloneHelper.cs
- SpecularMaterial.cs
- Button.cs
- FolderBrowserDialogDesigner.cs
- SurrogateEncoder.cs
- SponsorHelper.cs
- SyndicationSerializer.cs
- WebException.cs
- ParentUndoUnit.cs
- DateTimeConverter2.cs
- Listbox.cs
- XmlExpressionDumper.cs
- MemberInfoSerializationHolder.cs
- ValidateNames.cs
- WindowCollection.cs
- ExtenderControl.cs
- EmptyStringExpandableObjectConverter.cs
- EdmComplexPropertyAttribute.cs
- httpapplicationstate.cs
- LoadRetryConstantStrategy.cs
- MouseDevice.cs
- CircleHotSpot.cs
- WebPartRestoreVerb.cs
- AnimationClockResource.cs
- ComponentDesigner.cs