DotNetDupe 4.0.6
C++17/20 Implementation of the .NET Base Class Library (BCL)
Loading...
Searching...
No Matches
DaylightTime.h
Go to the documentation of this file.
1
5
6#pragma once
7
8#include "Common.h"
9#include "System/Object.h"
10#include "System/TimeSpan.h"
12
13namespace DotNetDupe {
14 namespace System {
15
21 class DaylightTime : public Object {
22 public:
28
32
36
40
41 private:
42 DateTimeOffset _start;
43 DateTimeOffset _end;
44 TimeSpan _delta;
45 };
46
47 }
48}
Defines common cross-platform macros, export decorators, and fundamental types.
#define DOTNETDUPE_API
Platform-specific linkage decoration for exporting or importing library symbols.
Definition Common.h:20
Represents a point in time, typically expressed as a date and time of day, relative to Coordinated Un...
Base object class for DotNetDupe mirroring .NET System.Object.
Represents a time interval.
Represents a point in time, typically expressed as a date and time of day, relative to Coordinated Un...
TimeSpan GetDelta() const
Gets the time interval that represents the difference between standard time and daylight saving time.
DaylightTime(DateTimeOffset start, DateTimeOffset end, TimeSpan delta)
Initializes a new instance of the DaylightTime class with specified start, end, and time delta.
DateTimeOffset GetEnd() const
Gets the date and time when the daylight saving period ends.
DateTimeOffset GetStart() const
Gets the date and time when the daylight saving period begins.
Supports all classes in the DotNetDupe class hierarchy.
Definition Object.h:18
Represents a time interval (duration of time or elapsed time) measured as a positive or negative numb...
Definition TimeSpan.h:20