mirror of
https://github.com/Halofreak1990/XFXFramework
synced 2024-12-26 13:49:34 +01:00
Began transforming of current API to represent XNA 4.0, which is cleaner. Dictionary<TKey, TValue> should now work (sort of-- need to implement resizing and enumerating) Currently hunting down GraphicsDevice initialization Up next: (hopefully successful) rendering of primitives
32 lines
794 B
C++
32 lines
794 B
C++
#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;
|
|
int GetType() const;
|
|
|
|
bool operator !=(const DaylightTime& right) const;
|
|
bool operator ==(const DaylightTime& right) const;
|
|
};
|
|
}
|
|
}
|
|
|
|
#endif //_SYSTEM_GLOBALIZATION_DAYLIGHTTIME_
|