File indexing completed on 2025-01-19 04:46:46
0001 /* 0002 This file is part of KOrganizer. 0003 0004 SPDX-FileCopyrightText: 2003 Jonathan Singer <jsinger@leeta.net> 0005 SPDX-FileCopyrightText: 2007 Loïc Corbasson <loic.corbasson@gmail.com> 0006 0007 Calendar routines from Hebrew Calendar by Frank Yellin. 0008 Based on some GNU Emacs code (lisp/calendar/cal-hebrew.el), 0009 SPDX-FileCopyrightText: 1995, 1997 Free Software Foundation, Inc. 0010 SPDX-FileContributor: Nachum Dershowitz <nachum@cs.uiuc.edu> 0011 SPDX-FileContributor: Edward M. Reingold <reingold@cs.uiuc.edu> 0012 0013 SPDX-License-Identifier: GPL-2.0-or-later 0014 */ 0015 0016 #pragma once 0017 0018 #include <QString> 0019 0020 /** 0021 @author Jonathan Singer 0022 */ 0023 class Parsha 0024 { 0025 public: 0026 /** 0027 Find the parsha for a given day of the year. 0028 @p dayNumber is the day of the year. 0029 @p kvia and @p isLeapYear refer to the year type. 0030 */ 0031 static QString findParshaName(int dayNumber, int kvia, bool isLeapYear, bool useIsraelSettings); 0032 };