1
0
mirror of https://github.com/Halofreak1990/XFXFramework synced 2024-12-26 13:49:34 +01:00
Tom Lint 7e74ae8683 Added System::Type
Added TypeInfo for all relevant types
Added comments
Updated DependencyProperty to work with System::Type
Fixed casing on PropertyMetadata
2013-07-12 21:30:13 +02:00

40 lines
1.1 KiB
C++

/*****************************************************************************
* DaylightTime.h *
* *
* XFX System::Globalization::DaylightTime class definition file *
* Copyright (c) XFX Team. All rights reserved *
*****************************************************************************/
#ifndef _SYSTEM_GLOBALIZATION_DAYLIGHTTIME_
#define _SYSTEM_GLOBALIZATION_DAYLIGHTTIME_
#include <System/DateTime.h>
#include <System/TimeSpan.h>
namespace System
{
namespace Globalization
{
/**
* Defines the period of daylight saving time.
*/
class DaylightTime : public IEquatable<DaylightTime>, public Object
{
public:
const TimeSpan Delta;
const DateTime End;
const DateTime Start;
DaylightTime(const DateTime start, const DateTime end, const TimeSpan delta);
DaylightTime(const DaylightTime &obj);
bool Equals(const DaylightTime other) const;
static const Type& GetType();
bool operator !=(const DaylightTime& right) const;
bool operator ==(const DaylightTime& right) const;
};
}
}
#endif //_SYSTEM_GLOBALIZATION_DAYLIGHTTIME_