kalarm/lib
kalocale.h
Go to the documentation of this file.
42 inline int weekDay_to_localeDayInWeek(int weekDay) { return (weekDay + 7 - localeFirstDayOfWeek()) % 7; }
48 inline int localeDayInWeek_to_weekDay(int index) { return (index + localeFirstDayOfWeek() - 1) % 7 + 1; }
QString weekDayName(int day, const KLocale *locale)
Return the week day name (Monday = 1).
Definition: kalocale.cpp:47
int localeDayInWeek_to_weekDay(int index)
Definition: kalocale.h:48
int weekDay_to_localeDayInWeek(int weekDay)
Definition: kalocale.h:42
int localeFirstDayOfWeek()
Return the first day of the week for the user's locale.
Definition: kalocale.cpp:36
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:35:02 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:35:02 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.