\section{KCalendar\-System\-Factory Class Reference}
\label{classKCalendarSystemFactory}\index{KCalendarSystemFactory@{KCalendarSystemFactory}}
Factory class for calendar types.  


{\tt \#include $<$kcalendarsystemfactory.h$>$}

\subsection*{Static Public Member Functions}
\begin{CompactItemize}
\item 
static {\bf KCalendar\-System} $\ast$ {\bf create} (const {\bf QString} \&cal\-Type={\bf QString::from\-Latin1}(\char`\"{}gregorian\char`\"{}), const {\bf KLocale} $\ast$locale=0)
\item 
static {\bf QString\-List} {\bf calendar\-Systems} ()
\end{CompactItemize}


\subsection{Detailed Description}
Factory class for calendar types. 

\begin{Desc}
\item[Author:]Carlos Moro $<${\tt cfmoro@correo.uniovi.es}$>$ \end{Desc}
\begin{Desc}
\item[Since:]3.2 \end{Desc}




Definition at line 36 of file kcalendarsystemfactory.h.

\subsection{Member Function Documentation}
\index{KCalendarSystemFactory@{KCalendar\-System\-Factory}!create@{create}}
\index{create@{create}!KCalendarSystemFactory@{KCalendar\-System\-Factory}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf KCalendar\-System} $\ast$ KCalendar\-System\-Factory::create (const {\bf QString} \& {\em cal\-Type} = {\tt {\bf QString::from\-Latin1}(\char`\"{}gregorian\char`\"{})}, const {\bf KLocale} $\ast$ {\em locale} = {\tt 0})\hspace{0.3cm}{\tt  [static]}}\label{classKCalendarSystemFactory_e0}


Gets specific calendar type number of days in previous month for a given date. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em cal\-Type}]string identification of the specific calendar type to be constructed \item[{\em locale}]Locale used for translations. Use the global locale when 0 is specified. \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]a {\bf KCalendar\-System}{\rm (p.\,\pageref{classKCalendarSystem})} object \end{Desc}


Definition at line 43 of file kcalendarsystemfactory.cpp.

References endl().

Referenced by KLocale::calendar().\index{KCalendarSystemFactory@{KCalendar\-System\-Factory}!calendarSystems@{calendarSystems}}
\index{calendarSystems@{calendarSystems}!KCalendarSystemFactory@{KCalendar\-System\-Factory}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf QString\-List} KCalendar\-System\-Factory::calendar\-Systems ()\hspace{0.3cm}{\tt  [static]}}\label{classKCalendarSystemFactory_e1}


Gets list of names of supported calendar systems. 

\begin{Desc}
\item[Returns:]A {\bf QString\-List} object \end{Desc}


Definition at line 61 of file kcalendarsystemfactory.cpp.

The documentation for this class was generated from the following files:\begin{CompactItemize}
\item 
kcalendarsystemfactory.h\item 
kcalendarsystemfactory.cpp\end{CompactItemize}
