mirror of
https://github.com/Halofreak1990/XFXFramework
synced 2024-12-26 13:49:34 +01:00
Added TypeInfo for all relevant types Added comments Updated DependencyProperty to work with System::Type Fixed casing on PropertyMetadata
35 lines
989 B
C++
35 lines
989 B
C++
/*****************************************************************************
|
|
* Calendar.h *
|
|
* *
|
|
* XFX System::Globalization::Calendar class definition file *
|
|
* Copyright (c) XFX Team. All Rights Reserved *
|
|
*****************************************************************************/
|
|
#ifndef _SYSTEM_GLOBALIZATION_CALENDAR_
|
|
#define _SYSTEM_GLOBALIZATION_CALENDAR_
|
|
|
|
#include <System/Object.h>
|
|
|
|
namespace System
|
|
{
|
|
struct DateTime;
|
|
|
|
namespace Globalization
|
|
{
|
|
/**
|
|
* Represents time in divisions, such as weeks, months, and years.
|
|
*/
|
|
class Calendar : public Object
|
|
{
|
|
public:
|
|
DateTime AddDays(DateTime time, int days);
|
|
DateTime AddHours(DateTime time, int hours);
|
|
DateTime AddMilliseconds(DateTime time, double milliseconds);
|
|
DateTime AddMinutes(DateTime time, int minutes);
|
|
DateTime AddMonths(DateTime time, int months);
|
|
static const Type& GetType();
|
|
};
|
|
}
|
|
}
|
|
|
|
#endif //_SYSTEM_GLOBALIZATION_CALENDAR_
|