DotNetDupe
4.0.6
C++17/20 Implementation of the .NET Base Class Library (BCL)
Toggle main menu visibility
Loading...
Searching...
No Matches
DaylightTime.cpp
Go to the documentation of this file.
1
#include "
pch.h
"
2
#include "
System/DaylightTime.h
"
3
4
namespace
DotNetDupe
{
5
namespace
System
{
6
DaylightTime::DaylightTime
(
DateTimeOffset
start,
DateTimeOffset
end,
TimeSpan
delta)
7
: _start(start), _end(end), _delta(delta) {
9
}
10
11
DateTimeOffset
DaylightTime::GetStart
()
const
{
13
return
_start;
14
}
15
16
DateTimeOffset
DaylightTime::GetEnd
()
const
{
18
return
_end;
19
}
20
21
TimeSpan
DaylightTime::GetDelta
()
const
{
23
return
_delta;
24
}
25
}
26
}
27
DaylightTime.h
Defines the period of daylight saving time.
DotNetDupe::System::DateTimeOffset
Represents a point in time, typically expressed as a date and time of day, relative to Coordinated Un...
Definition
DateTimeOffset.h:22
DotNetDupe::System::DaylightTime::GetDelta
TimeSpan GetDelta() const
Gets the time interval that represents the difference between standard time and daylight saving time.
Definition
DaylightTime.cpp:21
DotNetDupe::System::DaylightTime::DaylightTime
DaylightTime(DateTimeOffset start, DateTimeOffset end, TimeSpan delta)
Initializes a new instance of the DaylightTime class with specified start, end, and time delta.
Definition
DaylightTime.cpp:6
DotNetDupe::System::DaylightTime::GetEnd
DateTimeOffset GetEnd() const
Gets the date and time when the daylight saving period ends.
Definition
DaylightTime.cpp:16
DotNetDupe::System::DaylightTime::GetStart
DateTimeOffset GetStart() const
Gets the date and time when the daylight saving period begins.
Definition
DaylightTime.cpp:11
DotNetDupe::System::TimeSpan
Represents a time interval (duration of time or elapsed time) measured as a positive or negative numb...
Definition
TimeSpan.h:20
DotNetDupe::System
Definition
Action.h:11
DotNetDupe
Definition
IServiceCollection.h:7
pch.h
DotNetDupe
DaylightTime.cpp
Generated by
1.18.0