#### PyKDE - Python Bindings for KDE

# class KCalendarSystem |
Table of contents
Modules
tdecore Classes
All Classes

Module | tdecore
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 | TDELocale | 0

- addDays (date, ndays) = 0

  returns (TQDate)
  In versions KDE 3.2.0 and above only
  pure virtual
  Argument | Type | Default
  --- | --- | ---
  date | TQDate |
  ndays | int |

- addMonths (date, nmonths) = 0

  returns (TQDate)
  In versions KDE 3.2.0 and above only
  pure virtual
  Argument | Type | Default
  --- | --- | ---
  date | TQDate |
  nmonths | int |

- addYears (date, nyears) = 0

  returns (TQDate)
  In versions KDE 3.2.0 and above only
  pure virtual
  Argument | Type | Default
  --- | --- | ---
  date | TQDate |
  nyears | int |

- calendarName () = 0

  returns (TQString)
  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 | TQDate |

- dayOfWeek (date) = 0

  returns (int)
  In versions KDE 3.2.0 and above only
  pure virtual
  Argument | Type | Default
  --- | --- | ---
  date | TQDate |

- dayOfYear (date) = 0

  returns (int)
  In versions KDE 3.2.0 and above only
  pure virtual
  Argument | Type | Default
  --- | --- | ---
  date | TQDate |

- dayString (pDate, bShort)

  returns (TQString)
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  pDate | TQDate |
  bShort | bool |

- dayStringToInteger (sNum)

  returns (int) iLength (int)
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  sNum | TQString |

- daysInMonth (date) = 0

  returns (int)
  In versions KDE 3.2.0 and above only
  pure virtual
  Argument | Type | Default
  --- | --- | ---
  date | TQDate |

- daysInYear (date) = 0

  returns (int)
  In versions KDE 3.2.0 and above only
  pure virtual
  Argument | Type | Default
  --- | --- | ---
  date | TQDate |

- 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 (TDELocale)
  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 | TQDate |

- monthName (month, year, shortName = 0) = 0

  returns (TQString)
  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 (TQString)
  In versions KDE 3.2.0 and above only
  pure virtual
  Argument | Type | Default
  --- | --- | ---
  date | TQDate |
  shortName | bool | 0

- monthNamePossessive (month, year, shortName = 0) = 0

  returns (TQString)
  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 (TQString)
  In versions KDE 3.2.0 and above only
  pure virtual
  Argument | Type | Default
  --- | --- | ---
  date | TQDate |
  shortName | bool | 0

- monthString (pDate, bShort)

  returns (TQString)
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  pDate | TQDate |
  bShort | bool |

- monthStringToInteger (sNum)

  returns (int) iLength (int)
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  sNum | TQString |

- monthsInYear (date) = 0

  returns (int)
  In versions KDE 3.2.0 and above only
  pure virtual
  Argument | Type | Default
  --- | --- | ---
  date | TQDate |

- setYMD (date, y, m, d) = 0

  returns (bool)
  In versions KDE 3.2.0 and above only
  pure virtual
  Argument | Type | Default
  --- | --- | ---
  date | TQDate |
  y | int |
  m | int |
  d | int |

- weekDayName (weekDay, shortName = 0) = 0

  returns (TQString)
  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 (TQString)
  In versions KDE 3.2.0 and above only
  pure virtual
  Argument | Type | Default
  --- | --- | ---
  date | TQDate |
  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 | TQDate |

- 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 | TQDate |

- yearString (pDate, bShort)

  returns (TQString)
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  pDate | TQDate |
  bShort | bool |

- yearStringToInteger (sNum)

  returns (int) iLength (int)
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  sNum | TQString |