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

KDECore

Public Member Functions | List of all members
KCalendarEra Class Reference

#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
Author
John Layt john@.nosp@m.layt.nosp@m..net

Definition at line 43 of file kcalendarera_p.h.

Constructor & Destructor Documentation

KCalendarEra::KCalendarEra ( )
explicit

Definition at line 28 of file kcalendarera.cpp.

KCalendarEra::~KCalendarEra ( )
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.

bool KCalendarEra::isInEra ( const QDate &  date) const

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:
  • kcalendarera_p.h
  • kcalendarera.cpp
This file is part of the KDE documentation.
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.

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
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • 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