PyKDE - Python Bindings for KDE
class KCalendarSystem
Table of contents
Modules
kdecore Classes
All Classes
Module
kdecore
Class
KCalendarSystem
(
abstract
)
Inherits
methods
KCalendarSystem
(locale = 0)
returns
a KCalendarSystem instance
In versions KDE 3.2.0 and above only
Argument
Type
Default
locale
KLocale
0
addDays
(date, ndays) = 0
returns
(QDate)
In versions KDE 3.2.0 and above only
pure virtual
Argument
Type
Default
date
QDate
ndays
int
addMonths
(date, nmonths) = 0
returns
(QDate)
In versions KDE 3.2.0 and above only
pure virtual
Argument
Type
Default
date
QDate
nmonths
int
addYears
(date, nyears) = 0
returns
(QDate)
In versions KDE 3.2.0 and above only
pure virtual
Argument
Type
Default
date
QDate
nyears
int
calendarName
() = 0
returns
(QString)
In versions KDE 3.2.0 and above only
pure virtual
day
(date) = 0
returns
(int)
In versions KDE 3.2.0 and above only
pure virtual
Argument
Type
Default
date
QDate
dayOfWeek
(date) = 0
returns
(int)
In versions KDE 3.2.0 and above only
pure virtual
Argument
Type
Default
date
QDate
dayOfYear
(date) = 0
returns
(int)
In versions KDE 3.2.0 and above only
pure virtual
Argument
Type
Default
date
QDate
dayString
(pDate, bShort)
returns
(QString)
In versions KDE 3.2.0 and above only
Argument
Type
Default
pDate
QDate
bShort
bool
dayStringToInteger
(sNum)
returns
(int) iLength (int)
In versions KDE 3.2.0 and above only
Argument
Type
Default
sNum
QString
daysInMonth
(date) = 0
returns
(int)
In versions KDE 3.2.0 and above only
pure virtual
Argument
Type
Default
date
QDate
daysInYear
(date) = 0
returns
(int)
In versions KDE 3.2.0 and above only
pure virtual
Argument
Type
Default
date
QDate
isLunar
() = 0
returns
(bool)
In versions KDE 3.2.0 and above only
pure virtual
isLunisolar
() = 0
returns
(bool)
In versions KDE 3.2.0 and above only
pure virtual
isSolar
() = 0
returns
(bool)
In versions KDE 3.2.0 and above only
pure virtual
locale
()
returns
(KLocale)
In versions KDE 3.2.0 and above only
maxValidYear
() = 0
returns
(int)
In versions KDE 3.2.0 and above only
pure virtual
minValidYear
() = 0
returns
(int)
In versions KDE 3.2.0 and above only
pure virtual
month
(date) = 0
returns
(int)
In versions KDE 3.2.0 and above only
pure virtual
Argument
Type
Default
date
QDate
monthName
(month, year, shortName = 0) = 0
returns
(QString)
In versions KDE 3.2.0 and above only
pure virtual
Argument
Type
Default
month
int
year
int
shortName
bool
0
monthName
(date, shortName = 0) = 0
returns
(QString)
In versions KDE 3.2.0 and above only
pure virtual
Argument
Type
Default
date
QDate
shortName
bool
0
monthNamePossessive
(month, year, shortName = 0) = 0
returns
(QString)
In versions KDE 3.2.0 and above only
pure virtual
Argument
Type
Default
month
int
year
int
shortName
bool
0
monthNamePossessive
(date, shortName = 0) = 0
returns
(QString)
In versions KDE 3.2.0 and above only
pure virtual
Argument
Type
Default
date
QDate
shortName
bool
0
monthString
(pDate, bShort)
returns
(QString)
In versions KDE 3.2.0 and above only
Argument
Type
Default
pDate
QDate
bShort
bool
monthStringToInteger
(sNum)
returns
(int) iLength (int)
In versions KDE 3.2.0 and above only
Argument
Type
Default
sNum
QString
monthsInYear
(date) = 0
returns
(int)
In versions KDE 3.2.0 and above only
pure virtual
Argument
Type
Default
date
QDate
setYMD
(date, y, m, d) = 0
returns
(bool)
In versions KDE 3.2.0 and above only
pure virtual
Argument
Type
Default
date
QDate
y
int
m
int
d
int
weekDayName
(weekDay, shortName = 0) = 0
returns
(QString)
In versions KDE 3.2.0 and above only
pure virtual
Argument
Type
Default
weekDay
int
shortName
bool
0
weekDayName
(date, shortName = 0) = 0
returns
(QString)
In versions KDE 3.2.0 and above only
pure virtual
Argument
Type
Default
date
QDate
shortName
bool
0
weekDayOfPray
() = 0
returns
(int)
In versions KDE 3.2.0 and above only
pure virtual
weekNumber
(date) = 0
returns
(int) yearNum (int)
In versions KDE 3.2.0 and above only
pure virtual
Argument
Type
Default
date
QDate
weeksInYear
(year) = 0
returns
(int)
In versions KDE 3.2.0 and above only
pure virtual
Argument
Type
Default
year
int
year
(date) = 0
returns
(int)
In versions KDE 3.2.0 and above only
pure virtual
Argument
Type
Default
date
QDate
yearString
(pDate, bShort)
returns
(QString)
In versions KDE 3.2.0 and above only
Argument
Type
Default
pDate
QDate
bShort
bool
yearStringToInteger
(sNum)
returns
(int) iLength (int)
In versions KDE 3.2.0 and above only
Argument
Type
Default
sNum
QString