• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdelibs API Reference
  • KDE Home
  • Contact Us
 

KDECore

Public Member Functions | Public Attributes | List of all members
KCalendarSystemGregorianPrivate Class Reference

#include <kcalendarsystemgregorianprivate_p.h>

Inheritance diagram for KCalendarSystemGregorianPrivate:
Inheritance graph
[legend]

Public Member Functions

 KCalendarSystemGregorianPrivate (KCalendarSystemGregorian *q)
 
virtual ~KCalendarSystemGregorianPrivate ()
 
virtual KLocale::CalendarSystem calendarSystem () const
 
virtual int daysInMonth (int year, int month) const
 
virtual int daysInWeek () const
 
virtual int daysInYear (int year) const
 
virtual int earliestValidYear () const
 
virtual bool hasLeapMonths () const
 
virtual bool hasYearZero () const
 
virtual bool isLeapYear (int year) const
 
virtual int latestValidYear () const
 
virtual void loadDefaultEraList ()
 
virtual int maxDaysInWeek () const
 
virtual int maxMonthsInYear () const
 
virtual QString monthName (int month, int year, KLocale::DateTimeComponentFormat format, bool possessive) const
 
virtual int monthsInYear (int year) const
 
virtual QString weekDayName (int weekDay, KLocale::DateTimeComponentFormat format) const
 
- Public Member Functions inherited from KCalendarSystemPrivate
 KCalendarSystemPrivate (KCalendarSystem *q)
 
virtual ~KCalendarSystemPrivate ()
 
void addEra (char direction, int offset, const QDate &startDate, int startYear, const QDate &endDate, const QString &name, const QString &shortName, const QString &format)
 
int addYears (int startYear, int yearsToAdd) const
 
int applyShortYearWindow (int inputYear) const
 
KSharedConfig::Ptr config ()
 
virtual void dateDifference (const QDate &fromDate, const QDate &toDate, int *yearsDiff, int *monthsDiff, int *daysDiff, int *direction) const
 
int dayOfWeek (const QDate &date) const
 
int dayOfYear (const QDate &date) const
 
int differenceYearNumbers (int fromYear, int toYear) const
 
KCalendarEra era (const QDate &eraDate) const
 
KCalendarEra era (const QString &eraName, int yearInEra) const
 
QList< KCalendarEra > * eraList () const
 
QDate firstDayOfMonth (int year, int month) const
 
QDate firstDayOfYear (int year) const
 
virtual int integerFromString (const QString &string, int maxLength, int &readLength) const
 
QDate invalidDate () const
 
virtual int isoWeekNumber (const QDate &date, int *yearNum) const
 
virtual int isoWeeksInYear (int year) const
 
QDate lastDayOfMonth (int year, int month) const
 
QDate lastDayOfYear (int year) const
 
void loadConfig (const QString &calendarType)
 
void loadEraList (const KConfigGroup &cg)
 
void loadShortYearWindowStartYear (const KConfigGroup &cg)
 
const KLocale * locale () const
 
virtual int monthsDifference (const QDate &fromDate, const QDate &toDate) const
 
virtual int regularWeekNumber (const QDate &date, int weekStartDay, int firstWeekNumber, int *weekYear) const
 
virtual int regularWeeksInYear (int year, int weekStartDay, int firstWeekNumber) const
 
bool setAnyDate (QDate &date, int year, int month, int day) const
 
int shortYearWindowStartYear () const
 
QString simpleDateString (const QString &str) const
 
virtual int simpleWeekNumber (const QDate &date, int *yearNum) const
 
virtual int simpleWeeksInYear (int year) const
 
virtual QString stringFromInteger (int number, int padWidth=0, QChar padChar=QLatin1Char('0')) const
 
virtual QString stringFromInteger (int number, int padWidth, QChar padChar, KLocale::DigitSet digitSet) const
 
virtual int week (const QDate &date, KLocale::WeekNumberSystem weekNumberSystem, int *yearNum) const
 
virtual int weeksInYear (int year, KLocale::WeekNumberSystem weekNumberSystem) const
 
virtual int yearsDifference (const QDate &fromDate, const QDate &toDate) const
 

Public Attributes

bool m_useCommonEra
 
- Public Attributes inherited from KCalendarSystemPrivate
KSharedConfig::Ptr m_config
 
QList< KCalendarEra > * m_eraList
 
const KLocale * m_locale
 
int m_shortYearWindowStartYear
 
const KCalendarSystem * q
 

Detailed Description

Definition at line 27 of file kcalendarsystemgregorianprivate_p.h.

Constructor & Destructor Documentation

KCalendarSystemGregorianPrivate::KCalendarSystemGregorianPrivate ( KCalendarSystemGregorian *  q)
explicit

Definition at line 36 of file kcalendarsystemgregorian.cpp.

KCalendarSystemGregorianPrivate::~KCalendarSystemGregorianPrivate ( )
virtual

Definition at line 41 of file kcalendarsystemgregorian.cpp.

Member Function Documentation

KLocale::CalendarSystem KCalendarSystemGregorianPrivate::calendarSystem ( ) const
virtual

Reimplemented from KCalendarSystemPrivate.

Definition at line 45 of file kcalendarsystemgregorian.cpp.

int KCalendarSystemGregorianPrivate::daysInMonth ( int  year,
int  month 
) const
virtual

Reimplemented from KCalendarSystemPrivate.

Definition at line 86 of file kcalendarsystemgregorian.cpp.

int KCalendarSystemGregorianPrivate::daysInWeek ( ) const
virtual

Reimplemented from KCalendarSystemPrivate.

Definition at line 112 of file kcalendarsystemgregorian.cpp.

int KCalendarSystemGregorianPrivate::daysInYear ( int  year) const
virtual

Reimplemented from KCalendarSystemPrivate.

Definition at line 103 of file kcalendarsystemgregorian.cpp.

int KCalendarSystemGregorianPrivate::earliestValidYear ( ) const
virtual

Reimplemented from KCalendarSystemPrivate.

Definition at line 154 of file kcalendarsystemgregorian.cpp.

bool KCalendarSystemGregorianPrivate::hasLeapMonths ( ) const
virtual

Reimplemented from KCalendarSystemPrivate.

Definition at line 134 of file kcalendarsystemgregorian.cpp.

bool KCalendarSystemGregorianPrivate::hasYearZero ( ) const
virtual

Reimplemented from KCalendarSystemPrivate.

Definition at line 139 of file kcalendarsystemgregorian.cpp.

bool KCalendarSystemGregorianPrivate::isLeapYear ( int  year) const
virtual

Reimplemented from KCalendarSystemPrivate.

Definition at line 117 of file kcalendarsystemgregorian.cpp.

int KCalendarSystemGregorianPrivate::latestValidYear ( ) const
virtual

Reimplemented from KCalendarSystemPrivate.

Definition at line 159 of file kcalendarsystemgregorian.cpp.

void KCalendarSystemGregorianPrivate::loadDefaultEraList ( )
virtual

Reimplemented from KCalendarSystemPrivate.

Definition at line 52 of file kcalendarsystemgregorian.cpp.

int KCalendarSystemGregorianPrivate::maxDaysInWeek ( ) const
virtual

Reimplemented from KCalendarSystemPrivate.

Definition at line 144 of file kcalendarsystemgregorian.cpp.

int KCalendarSystemGregorianPrivate::maxMonthsInYear ( ) const
virtual

Reimplemented from KCalendarSystemPrivate.

Definition at line 149 of file kcalendarsystemgregorian.cpp.

QString KCalendarSystemGregorianPrivate::monthName ( int  month,
int  year,
KLocale::DateTimeComponentFormat  format,
bool  possessive 
) const
virtual

Reimplemented from KCalendarSystemPrivate.

Definition at line 164 of file kcalendarsystemgregorian.cpp.

int KCalendarSystemGregorianPrivate::monthsInYear ( int  year) const
virtual

Reimplemented from KCalendarSystemPrivate.

Definition at line 80 of file kcalendarsystemgregorian.cpp.

QString KCalendarSystemGregorianPrivate::weekDayName ( int  weekDay,
KLocale::DateTimeComponentFormat  format 
) const
virtual

Reimplemented from KCalendarSystemPrivate.

Definition at line 323 of file kcalendarsystemgregorian.cpp.

Member Data Documentation

bool KCalendarSystemGregorianPrivate::m_useCommonEra

Definition at line 51 of file kcalendarsystemgregorianprivate_p.h.


The documentation for this class was generated from the following files:
  • kcalendarsystemgregorianprivate_p.h
  • kcalendarsystemgregorian.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:47:10 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KDECore

Skip menu "KDECore"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Modules
  • Related Pages

kdelibs API Reference

Skip menu "kdelibs API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  • kjsembed
  •   WTF
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Nepomuk-Core
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal