• Skip to content
  • Skip to link menu
KDE 4.1 API Reference
  • KDE API Reference
  • kdepim
  • Sitemap
  • Contact Us
 

libkholidays

LibKHolidays::AstroSeasons

LibKHolidays::AstroSeasons Class Reference

#include <astroseasons.h>

List of all members.


Detailed Description

Definition at line 52 of file astroseasons.h.


Public Types

enum  Season {
  JuneSolstice, DecemberSolstice, MarchEquinox, SeptemberEquinox,
  None
}

Public Member Functions

 AstroSeasons ()
Season season (const QDate &date) const
QString seasonStr (const QDate &date) const
 ~AstroSeasons ()

Static Public Member Functions

static QString seasonName (Season season)

Member Enumeration Documentation

enum LibKHolidays::AstroSeasons::Season

Enumerator:
JuneSolstice 
DecemberSolstice 
MarchEquinox 
SeptemberEquinox 
None 

Definition at line 55 of file astroseasons.h.


Constructor & Destructor Documentation

AstroSeasons::AstroSeasons (  ) 

Definition at line 27 of file astroseasons.cpp.

AstroSeasons::~AstroSeasons (  ) 

Definition at line 31 of file astroseasons.cpp.


Member Function Documentation

AstroSeasons::Season AstroSeasons::season ( const QDate &  date  )  const

Return the season for the specified Gregorian date.

The enum 'None' is returned if one of the supported seasons does not occur on the date.

Parameters:
date compute the season for the specified Gregorian date.

Definition at line 57 of file astroseasons.cpp.

QString AstroSeasons::seasonName ( AstroSeasons::Season  season  )  [static]

Return the string representation of season.

Parameters:
season astronomical season.

Definition at line 40 of file astroseasons.cpp.

QString AstroSeasons::seasonStr ( const QDate &  date  )  const

Return the season as a text string for the specified date.

A null string is returned if one of the supported seasons does not occur on the date.

Parameters:
date compute the season for the specified Gregorian date.

Definition at line 35 of file astroseasons.cpp.


The documentation for this class was generated from the following files:
  • astroseasons.h
  • astroseasons.cpp

libkholidays

Skip menu "libkholidays"
  • Main Page
  • Namespace List
  • Alphabetical List
  • Class List
  • File List
  • Class Members

kdepim

Skip menu "kdepim"
  • akonadi
  •   clients
  •   kabc
  •   kcal
  •   kcm
  • akregator
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt
  • kdgantt1
  • kjots
  • kleopatra
  • kmail
  • kmobiletools
  • knode
  • knotes
  • kontact
  • kontactinterfaces
  • korganizer
  •   korgac
  • kpilot
  • ktimetracker
  •   doc
  • libkdepim
  • libkholidays
  • libkleo
  • libkpgp
  • maildir
Generated for kdepim by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal