KDECore
#include <kcalendarera_p.h>
Public Member Functions | |
| KCalendarEra () | |
| virtual | ~KCalendarEra () | 
| int | direction () const | 
| QDate | endDate () const | 
| QString | format () const | 
| bool | isInEra (const QDate &date) const | 
| bool | isValid () const | 
| QString | name (KLocale::DateTimeComponentFormat format=KLocale::DefaultComponentFormat) const | 
| int | offset () const | 
| int | sequence () const | 
| QDate | startDate () const | 
| int | year (int yearInEra) const | 
| int | yearInEra (int year) const | 
Detailed Description
Class to hold details of a Calendar Era. Internal for now, but may later be made public if user configuration of Era formatting via System Settings is required, in which case a d-ptr will be needed. Details based on POSIX LC_TIME format.
license GNU-LGPL v.2 or later
- See also
 - KCalendarSystem
 
Definition at line 43 of file kcalendarera_p.h.
Constructor & Destructor Documentation
      
  | 
  explicit | 
Definition at line 28 of file kcalendarera.cpp.
      
  | 
  virtual | 
Definition at line 32 of file kcalendarera.cpp.
Member Function Documentation
| int KCalendarEra::direction | ( | ) | const | 
Definition at line 69 of file kcalendarera.cpp.
| QDate KCalendarEra::endDate | ( | ) | const | 
Definition at line 50 of file kcalendarera.cpp.
| QString KCalendarEra::format | ( | ) | const | 
Definition at line 64 of file kcalendarera.cpp.
Definition at line 74 of file kcalendarera.cpp.
| bool KCalendarEra::isValid | ( | ) | const | 
Definition at line 36 of file kcalendarera.cpp.
| QString KCalendarEra::name | ( | KLocale::DateTimeComponentFormat | format = KLocale::DefaultComponentFormat | ) | const | 
Definition at line 55 of file kcalendarera.cpp.
| int KCalendarEra::offset | ( | ) | const | 
| int KCalendarEra::sequence | ( | ) | const | 
| QDate KCalendarEra::startDate | ( | ) | const | 
Definition at line 45 of file kcalendarera.cpp.
| int KCalendarEra::year | ( | int | yearInEra | ) | const | 
Definition at line 88 of file kcalendarera.cpp.
| int KCalendarEra::yearInEra | ( | int | year | ) | const | 
Definition at line 83 of file kcalendarera.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:22:12 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.
    KDE API Reference