1
0
mirror of https://github.com/Halofreak1990/XFXFramework synced 2024-12-26 13:49:34 +01:00

35 lines
989 B
C
Raw Normal View History

2013-07-11 20:00:07 +02:00
/*****************************************************************************
* Calendar.h *
* *
* XFX System::Globalization::Calendar class definition file *
2013-07-11 20:00:07 +02:00
* 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_