Skip to content

Commit

Permalink
fix: replace 'const' with 'constant'
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-senger committed Jul 1, 2024
1 parent e1326f0 commit 83d0893
Show file tree
Hide file tree
Showing 18 changed files with 155 additions and 155 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ package abgeltungssteuersatz
* Constant for the Capital Income Tax Rate as defined in §32d (1) EStG.
* Reference: Art. 1 G. v. 14.08.2007
*/
public const abgeltungssteuersatz: Float {
public constant abgeltungssteuersatz: Float {
from 1984-01-01 = 0.0;
from 2009-01-01 = 0.25;
}
12 changes: 6 additions & 6 deletions src/resources/builtins/parameters/arbeitslosengeld.ttsl
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ package arbeitslosengeld
* Income which is not deducted from unemployment benefit.
* § 155 SGB III, vorher § 141 (1) S. 1
*/
public const arbeitslosenGeldFreibetrag: Int {
public constant arbeitslosenGeldFreibetrag: Int {
# Art. 1 G. v. 21.07.1999 BGBl. I S. 1648
from 1999-08-01 = 161;

Expand All @@ -19,7 +19,7 @@ public const arbeitslosenGeldFreibetrag: Int {
* § 153 (1) Nr. 1 SGB III. Wird angewendet auf das Bemessungsentgelt. ACHTUNG! Beim
* Elterngeld gibt es eine ähnliche Größe.
*/
public const sozialVersicherungsPauschale: Float {
public constant sozialVersicherungsPauschale: Float {
from 1984-01-01 = 0.1727;
from 1985-01-01 = 0.1745;
from 1986-01-01 = 0.1775;
Expand Down Expand Up @@ -60,7 +60,7 @@ public const sozialVersicherungsPauschale: Float {
* §149 Nr. 2 SGB III, vorher § 129 (2) SGB III. Höhe des Arbeitslosengeldes im
* Verhältnis zum letzten Nettoentgelt bei Personen ohne Kinder im Sinne des EStG.
*/
public const satzOhneKinder: Float {
public constant satzOhneKinder: Float {
# Reference: Art. 1 G. v. 24.03.1997 BGBl. I S. 594
from 1998-08-01 = 0.6;
}
Expand All @@ -70,7 +70,7 @@ public const satzOhneKinder: Float {
* §149 Nr. 1 SGB III, vorher §129 Nr. 1 SGB III. Höhe des Arbeitslosengeldes im
* Verhältnis zum letzten Nettoentgelt bei Personen mit Kindern im Sinne des EStG
*/
public const satzMitKindern: Float {
public constant satzMitKindern: Float {
# Reference: Art. 1 G. v. 24.03.1997 BGBl. I S. 594
from 1998-08-01 = 0.67;
}
Expand All @@ -80,7 +80,7 @@ public const satzMitKindern: Float {
* §138 (3) SGB III, früher auch §102 (2) AFG. Grenze, ab der nicht mehr
* Arbeitslosigkeit unterstellt wird.
*/
public const stundengrenze: Int {
public constant stundengrenze: Int {
from 1969-07-01 = 20;
# Reference: Art. 1 G. v. 20.12.1985 BGBl I S. 2484
from 1986-01-01 = 19;
Expand All @@ -97,7 +97,7 @@ public const stundengrenze: Int {
* Dauer des Anspruchs auf ALG 1 richtet sich nach Alter und wie viele Monate
* eine Person versicherungsplichtig in den letzten 5 Jahren war.
*/
public const anspruchsdauer: Dict<Int, Int> {
public constant anspruchsdauer: Dict<Int, Int> {
from 1997-03-24 = {
nach_alter: {
0: 12
Expand Down
28 changes: 14 additions & 14 deletions src/resources/builtins/parameters/arbeitslosengeld2.ttsl
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ package arbeitslosengeld2
* § 11b (2) SGB II (neugefasst durch B. v. 13.05.2011 BGBl. I S. 850. Artikel 2
* G. v. 24.03.2011 BGBl. I S. 453).
*/
public const anrechnungsfreieEinkommensanteile: Dict<Date, Dict<Int, Dict<String, Float>>> {
public constant anrechnungsfreieEinkommensanteile: Dict<Date, Dict<Int, Dict<String, Float>>> {
# Reference: Artikel 1. G. v. 24.12.2003 BGBl. I S. 2954.
from 2005-01-01 = {
0: {
Expand Down Expand Up @@ -112,7 +112,7 @@ public const anrechnungsfreieEinkommensanteile: Dict<Date, Dict<Int, Dict<String
* II (neugefasst durch B. v. 13.05.2011 BGBl. I S. 850. Artikel 2 G. v. 24.03.2011
* BGBl. I S. 453).
*/
public const anrechnungsfreieEinkommensanteileFallsKinder: Dict<Date, Dict<Int, Dict<String, Float>>> {
public constant anrechnungsfreieEinkommensanteileFallsKinder: Dict<Date, Dict<Int, Dict<String, Float>>> {
# Reference: Artikel 1 G. v. 14.08.2005 BGBl. I S. 2407.
from 2005-10-01 = {
3: {
Expand All @@ -136,7 +136,7 @@ public const anrechnungsfreieEinkommensanteileFallsKinder: Dict<Date, Dict<Int,
* S.
* 3159.
*/
public const regelsatz: Int or Dict<Int, Int> {
public constant regelsatz: Int or Dict<Int, Int> {
from 2005-01-01 = {
scalar: 338,
reference: "Artikel 1 G. v. 24.12.2003 BGBl. I S. 2954.",
Expand Down Expand Up @@ -311,7 +311,7 @@ public const regelsatz: Int or Dict<Int, Int> {
* 2005-2010 der Regelsatz für weitere Haushaltsmitglieder wurden als Anteil
* des Standardsatzes bestimmt.
*/
public const anteilRegelsatz: Dict<String, Float> {
public constant anteilRegelsatz: Dict<String, Float> {
# Reference: Artikel 1 G. v. 24.12.2003 BGBl. I S. 2954.
from 2005-01-01 = {
zwei_erwachsene: 0.9,
Expand Down Expand Up @@ -343,7 +343,7 @@ public const anteilRegelsatz: Dict<String, Float> {
* § 21 (3) Nr. 1 SGB II.
* reference_period: Month
*/
public const mehrbedarfAnteil: Dict<String, Float> {
public constant mehrbedarfAnteil: Dict<String, Float> {
# Reference: G. v. 24.12.2003 BGBl. I S. 2954.
from 2005-01-01 = {
min_1_kind: 0.12,
Expand All @@ -359,7 +359,7 @@ public const mehrbedarfAnteil: Dict<String, Float> {
* mehr auf und ist nicht mehr relevant,
* da alle betroffenen Personen zu alt für ALG 2 sind.
*/
public const vermögensGrundfreibetragObergrenze: Dict<Int, Int> {
public constant vermögensGrundfreibetragObergrenze: Dict<Int, Int> {
# Reference: Artikel 1 G. v. 23.12.2002 BGBl. I S. 4607.
from 2005-01-01 = {
1947: 33800,
Expand Down Expand Up @@ -400,7 +400,7 @@ public const vermögensGrundfreibetragObergrenze: Dict<Int, Int> {
* von einem Jahr. Während der Karenzzeit ist ein Vermögen von 40.000 Euro für die
* erste Person einer Bedarfsgemeinschaft und 15.000 Euro für jede weitere erlaubt.
*/
public const schonvermoegenBuergergeld: Dict<String, Int> {
public constant schonvermoegenBuergergeld: Dict<String, Int> {
# Reference: G. v. 20.12.2022 BGBl. I S. 2328. (Bürgergeld-Gesetz)
from 2023-01-01 = {
während_karenzzeit: 40000,
Expand All @@ -412,7 +412,7 @@ public const schonvermoegenBuergergeld: Dict<String, Int> {
* Vermögensfreibetrag für Erstausstattung
* § 12 (2) Satz 1 Nr. 4 SGB II.
*/
public const vermoegensfreibetragAusstattung: Int {
public constant vermoegensfreibetragAusstattung: Int {
# Reference: Artikel 1 G. v. 24.12.2003 BGBl. I S. 2954.
from 2005-01-01 = 750;

Expand All @@ -424,7 +424,7 @@ public const vermoegensfreibetragAusstattung: Int {
* Vermögensgrundfreibetrag je Kind
* § 12 (2) Satz 1 Nr. 1 SGB II.
*/
public const vermoegensfreibetragKind: Int {
public constant vermoegensfreibetragKind: Int {
# Reference: Artikel 1 G. v. 24.12.2003 BGBl. I S. 2954.
from 2005-01-01 = 4100;

Expand All @@ -439,7 +439,7 @@ public const vermoegensfreibetragKind: Int {
* Altersgrenzen für Vermögensfreibetrag
* Vermögensfreibetrag ändert sich nach Geburtsjahr
*/
public const vermoegensfreibetragAlter: Dict<Int, Int> {
public constant vermoegensfreibetragAlter: Dict<Int, Int> {
2005-01-01: {
1: 1948,
2: 1958,
Expand All @@ -460,7 +460,7 @@ public const vermoegensfreibetragAlter: Dict<Int, Int> {
* .2016 BGBl. I S. 1858 entfallen. Wie entfallen?
* § 3 Alg II-V. Seit 01.01.2008 in § 6 Alg II-V.
*/
public const abzugfaehigePauschale: Dict<String, Float> {
public constant abzugfaehigePauschale: Dict<String, Float> {
# Reference: V. v. 20.10.2004 BGBl. I S. 2622
from 2005-01-01 = {
werbung: 15.33,
Expand All @@ -482,7 +482,7 @@ public const abzugfaehigePauschale: Dict<String, Float> {
* § 22 SGB II
* unit: Euro / Quadratmeter
*/
public const maxMieteProQuadratMeter: Int {
public constant maxMieteProQuadratMeter: Int {
from 1984-01-01 = 10
}

Expand All @@ -491,7 +491,7 @@ public const maxMieteProQuadratMeter: Int {
* Eine Mietwohnung darf für einen Single 45 Quadratmeter (+15 für jede weitere
* Person) groß sein.
*/
public const berechtigteWohnflaecheMiete: Dict<String, Int> {
public constant berechtigteWohnflaecheMiete: Dict<String, Int> {
from 1984-01-01 = {
single: 45,
je_weitere_person: 15
Expand All @@ -506,7 +506,7 @@ public const berechtigteWohnflaecheMiete: Dict<String, Int> {
* gestiegen und wird ab 5 Personen im Haushalt um 20 Quadratmeter pro Person
* angehoben.
*/
public const berechtigteWohnflaecheEigentum: Dict<String, Int> {
public constant berechtigteWohnflaecheEigentum: Dict<String, Int> {
from 1984-01-01 = {
1: 80,
2: 80,
Expand Down
4 changes: 2 additions & 2 deletions src/resources/builtins/parameters/einkommenssteuer.ttsl
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ package einkommenssteuer
* des Progressionsfaktors berechnet. Einzelheiten sind im docstring der Funktion
* add_progressionsfaktor beschrieben.
*/
public const einkommenssteuerTarif: Dict<Int, Dict<String, Float>> {
public constant einkommenssteuerTarif: Dict<Int, Dict<String, Float>> {

# TODO: klren wie das mit deviation_from aussieht

Expand Down Expand Up @@ -325,7 +325,7 @@ public const einkommenssteuerTarif: Dict<Int, Dict<String, Float>> {
* Diese Funktion ist hier ab 2002 angegeben. Vor 2002 das Steuersystem ist nicht
* implementiert.
*/
public const renteErtragsanteil: Dict<Int, Dict<String, Float>> {
public constant renteErtragsanteil: Dict<Int, Dict<String, Float>> {
from 2002-01-01 = {
0: {
lower_threshold: -inf,
Expand Down
Loading

0 comments on commit 83d0893

Please sign in to comment.