| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- //
- // System.Globalization.DaylightTime
- //
- // Author:
- // Chris Hynes ([email protected])
- //
- // (C) 2001 Chris Hynes
- //
- using System.Globalization;
- namespace System.Globalization
- {
- [Serializable]
- public class DaylightTime
- {
- DateTime start, end;
- TimeSpan delta;
- public DaylightTime(DateTime start, DateTime end, TimeSpan delta)
- {
- this.start = start;
- this.end = end;
- this.delta = delta;
- }
- public DateTime Start
- {
- get
- {
- return start;
- }
- }
- public DateTime End
- {
- get
- {
- return end;
- }
- }
- public TimeSpan Delta
- {
- get
- {
- return delta;
- }
- }
- }
- }
|