25#include "aextension.h"
54 bool IsValid (
int y,
int m,
int d ) ;
63 QString
ToString (
const QString & format = QString::null)
const;
65 bool SetYMD (
int y,
int m,
int d ) ;
70 int DaysTo (
const QDate& target )
const ;
aDateService()
Конструктор, который создает aDateService для работы в ананас скрипте.
Определения adateservice.cpp:36
bool IsValid() const
Returns TRUE if this date is valid; otherwise returns FALSE. .
Определения adateservice.cpp:123
aDateService * AddDays(int ndays) const
Returns a aDateService object containing a date ndays later than the date of this object (or earlier ...
Определения adateservice.cpp:371
int Day() const
Returns the day of the month (1..31) of this date. .
Определения adateservice.cpp:182
int Year() const
Returns the year (1752..8000) of this date. .
Определения adateservice.cpp:152
QString ToString(const QString &format=QString::null) const
Возвращает дату в виде строки.
Определения adateservice.cpp:313
QDate ToDate() const
Возвращает представление даты в объекте сласса QDate. .
Определения adateservice.cpp:331
int DaysInMonth() const
Returns the number of days in the month (28..31) for this date. .
Определения adateservice.cpp:224
bool IsNull() const
Returns TRUE if the date is null; otherwise returns FALSE. A null date is invalid....
Определения adateservice.cpp:109
int DayOfYear() const
Returns the day of the year (1..365) for this date. .
Определения adateservice.cpp:210
aDateService * AddMonths(int nmonths) const
Returns a aDateService object containing a date nmonths later than the date of this object (or earlie...
Определения adateservice.cpp:391
bool SetYMD(int y, int m, int d)
Sets the date's year y, month m and day d.
Определения adateservice.cpp:355
aDateService * AddYears(int nyears) const
Возвращает объект класса aDateService содержащий дату на nyears лет позднее хранимой в объекте даты (...
Определения adateservice.cpp:411
int DayOfWeek() const
Returns the weekday (Monday=1..Sunday=7) for this date. .
Определения adateservice.cpp:196
int WeekNumber() const
Returns the week number (1 to 53) for this date.
Определения adateservice.cpp:258
int DaysInYear() const
Returns the number of days in the year (365 or 366) for this date. .
Определения adateservice.cpp:238
int Month() const
Returns the month (January=1..December=12) of this date. .
Определения adateservice.cpp:168
int DaysTo(const aDateService &target) const
Возвращает количество дней до указанной даты от даты, представленной объектом.
Определения adateservice.cpp:432