<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de">
	<id>https://ccwiki.digitalcampusvorarlberg.at/index.php?action=history&amp;feed=atom&amp;title=DCV_2023_03%2FStrukturierte_Programmierung_Uebungen%2FKalender</id>
	<title>DCV 2023 03/Strukturierte Programmierung Uebungen/Kalender - Versionsgeschichte</title>
	<link rel="self" type="application/atom+xml" href="https://ccwiki.digitalcampusvorarlberg.at/index.php?action=history&amp;feed=atom&amp;title=DCV_2023_03%2FStrukturierte_Programmierung_Uebungen%2FKalender"/>
	<link rel="alternate" type="text/html" href="https://ccwiki.digitalcampusvorarlberg.at/index.php?title=DCV_2023_03/Strukturierte_Programmierung_Uebungen/Kalender&amp;action=history"/>
	<updated>2026-04-14T07:39:14Z</updated>
	<subtitle>Versionsgeschichte dieser Seite in CCWiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://ccwiki.digitalcampusvorarlberg.at/index.php?title=DCV_2023_03/Strukturierte_Programmierung_Uebungen/Kalender&amp;diff=2904&amp;oldid=prev</id>
		<title>Drlue: /* Aufgabe: Mein Geburtstag */</title>
		<link rel="alternate" type="text/html" href="https://ccwiki.digitalcampusvorarlberg.at/index.php?title=DCV_2023_03/Strukturierte_Programmierung_Uebungen/Kalender&amp;diff=2904&amp;oldid=prev"/>
		<updated>2023-04-13T05:16:40Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Aufgabe: Mein Geburtstag&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;de&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version vom 13. April 2023, 05:16 Uhr&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l8&quot;&gt;Zeile 8:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 8:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Aufgabe: Mein Geburtstag ===&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Aufgabe: Mein Geburtstag ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Erstelle &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;einen &lt;/del&gt;Programm, das &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;der &lt;/del&gt;Anwender nach &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;seiner &lt;/del&gt;Geburtstag fragt und mit Hilfe {{JSL|SimpleDateFormat.parse()}} &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;aufarbeitet&lt;/del&gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Erstelle &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;ein &lt;/ins&gt;Programm, das &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;den &lt;/ins&gt;Anwender nach &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;seinem &lt;/ins&gt;Geburtstag fragt und mit Hilfe &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;von &lt;/ins&gt;{{JSL|SimpleDateFormat.parse()}} &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;verarbeitet&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Als Ergebnis soll das Programm zurückgeben, was für &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;ein &lt;/del&gt;Wochentag &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;es &lt;/del&gt;war. &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Du kannst das &lt;/del&gt;{{JSL|GregorianCalendar}} &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;verwenden&lt;/del&gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Als Ergebnis soll das Programm zurückgeben, &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;an &lt;/ins&gt;was für &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;einem &lt;/ins&gt;Wochentag &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;der Geburtstag des Anwenders &lt;/ins&gt;war. &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Hierbei kann &lt;/ins&gt;{{JSL|GregorianCalendar}} &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;verwendet werden&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Aufgabe: Wann ist Sonntag? ===&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Aufgabe: Wann ist Sonntag? ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Drlue</name></author>
	</entry>
	<entry>
		<id>https://ccwiki.digitalcampusvorarlberg.at/index.php?title=DCV_2023_03/Strukturierte_Programmierung_Uebungen/Kalender&amp;diff=2903&amp;oldid=prev</id>
		<title>Drlue: /* Aufgabe: Wann und wo? */</title>
		<link rel="alternate" type="text/html" href="https://ccwiki.digitalcampusvorarlberg.at/index.php?title=DCV_2023_03/Strukturierte_Programmierung_Uebungen/Kalender&amp;diff=2903&amp;oldid=prev"/>
		<updated>2023-04-13T05:15:24Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Aufgabe: Wann und wo?&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;de&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version vom 13. April 2023, 05:15 Uhr&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l2&quot;&gt;Zeile 2:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 2:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Aufgabe: Wann und wo? ===&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Aufgabe: Wann und wo? ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Erstelle &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;einen &lt;/del&gt;Programm, das &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;die &lt;/del&gt;aktuelle Datum &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;/ &lt;/del&gt;Uhrzeit &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;ausdruckt&lt;/del&gt;. Verwende 3 {{JSL|SimpleDateFormat}} und erstelle 3 &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Zeilen&lt;/del&gt;:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Erstelle &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;ein &lt;/ins&gt;Programm, das &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;das &lt;/ins&gt;aktuelle Datum &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;und &lt;/ins&gt;Uhrzeit &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;ausgibt&lt;/ins&gt;. Verwende 3 &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;verschiedene &lt;/ins&gt;{{JSL|SimpleDateFormat}} und erstelle &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;eine &lt;/ins&gt;3 &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Zeilige Ausgabe&lt;/ins&gt;:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#. Zeile --&amp;gt; Nur das Datum&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#. Zeile --&amp;gt; Nur das Datum&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#. Zeile --&amp;gt; Nur die Uhrzeit&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#. Zeile --&amp;gt; Nur die Uhrzeit&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Drlue</name></author>
	</entry>
	<entry>
		<id>https://ccwiki.digitalcampusvorarlberg.at/index.php?title=DCV_2023_03/Strukturierte_Programmierung_Uebungen/Kalender&amp;diff=2898&amp;oldid=prev</id>
		<title>Gyula: Die Seite wurde neu angelegt: „Im folgenden sollen einige Funktionen der {{JSL|Calendar}} Api erlernt werden.  === Aufgabe: Wann und wo? === Erstelle einen Programm, das die aktuelle Datum / Uhrzeit ausdruckt. Verwende 3 {{JSL|SimpleDateFormat}} und erstelle 3 Zeilen: #. Zeile --&gt; Nur das Datum #. Zeile --&gt; Nur die Uhrzeit #. Zeile --&gt; Datum und Uhrzeit  === Aufgabe: Mein Geburtstag === Erstelle einen Programm, das der Anwender nach seiner Geburtstag fragt und mit Hilfe {{JSL|SimpleDat…“</title>
		<link rel="alternate" type="text/html" href="https://ccwiki.digitalcampusvorarlberg.at/index.php?title=DCV_2023_03/Strukturierte_Programmierung_Uebungen/Kalender&amp;diff=2898&amp;oldid=prev"/>
		<updated>2023-04-12T07:56:49Z</updated>

		<summary type="html">&lt;p&gt;Die Seite wurde neu angelegt: „Im folgenden sollen einige Funktionen der {{JSL|Calendar}} Api erlernt werden.  === Aufgabe: Wann und wo? === Erstelle einen Programm, das die aktuelle Datum / Uhrzeit ausdruckt. Verwende 3 {{JSL|SimpleDateFormat}} und erstelle 3 Zeilen: #. Zeile --&amp;gt; Nur das Datum #. Zeile --&amp;gt; Nur die Uhrzeit #. Zeile --&amp;gt; Datum und Uhrzeit  === Aufgabe: Mein Geburtstag === Erstelle einen Programm, das der Anwender nach seiner Geburtstag fragt und mit Hilfe {{JSL|SimpleDat…“&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Neue Seite&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Im folgenden sollen einige Funktionen der {{JSL|Calendar}} Api erlernt werden.&lt;br /&gt;
&lt;br /&gt;
=== Aufgabe: Wann und wo? ===&lt;br /&gt;
Erstelle einen Programm, das die aktuelle Datum / Uhrzeit ausdruckt. Verwende 3 {{JSL|SimpleDateFormat}} und erstelle 3 Zeilen:&lt;br /&gt;
#. Zeile --&amp;gt; Nur das Datum&lt;br /&gt;
#. Zeile --&amp;gt; Nur die Uhrzeit&lt;br /&gt;
#. Zeile --&amp;gt; Datum und Uhrzeit&lt;br /&gt;
&lt;br /&gt;
=== Aufgabe: Mein Geburtstag ===&lt;br /&gt;
Erstelle einen Programm, das der Anwender nach seiner Geburtstag fragt und mit Hilfe {{JSL|SimpleDateFormat.parse()}} aufarbeitet.&lt;br /&gt;
Als Ergebnis soll das Programm zurückgeben, was für ein Wochentag es war. Du kannst das {{JSL|GregorianCalendar}} verwenden.&lt;br /&gt;
&lt;br /&gt;
=== Aufgabe: Wann ist Sonntag? ===&lt;br /&gt;
Erstelle eine neue {{JSL|GregorianCalendar}} Instanz und gib das Datum des nächsten &amp;#039;&amp;#039;&amp;#039;Sonntags&amp;#039;&amp;#039;&amp;#039; aus.&lt;br /&gt;
&lt;br /&gt;
=== Aufgabe: Wieviele Sonntage hat der Monat? ===&lt;br /&gt;
Erstelle eine Methode welche als Parameter das Jahr und den Monat nimmt und die Anzahl der &amp;#039;&amp;#039;&amp;#039;Sonntage&amp;#039;&amp;#039;&amp;#039; zurückgibt. Teste diese Methode in der {{JSL|main}} Methode. Wie dieses Problem gelöst wird, steht dir völlig frei.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Aufruf:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
{{JSL|System.out.println(getSundays(2021, 10));}}&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Ausgabe:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
{{BSL|5}}&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Aufruf:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
{{JSL|System.out.println(getSundays(2021, 9));}}&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Ausgabe:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
{{BSL|4}}&lt;br /&gt;
&lt;br /&gt;
=== Aufgabe: Wieviele Arbeitstage? ===&lt;br /&gt;
Erstelle eine Methode welche als Parameter das Jahr und den Monat nimmt und die Anzahl der &amp;#039;&amp;#039;&amp;#039;Arbeitstage&amp;#039;&amp;#039;&amp;#039; zurückgibt (Mo-Fr). Teste diese Methode in der {{JSL|main}} Methode. Wie dieses Problem gelöst wird, steht dir völlig frei.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Aufruf:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
{{JSL|System.out.println(getWorkdays(2021, 6));}}&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Ausgabe:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
{{BSL|22}}&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Aufruf:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
{{JSL|System.out.println(getWorkdays(2021, 3));}}&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Ausgabe:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
{{BSL|23}}&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Aufruf:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
{{JSL|System.out.println(getWorkdays(2021, 2));}}&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Ausgabe:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
{{BSL|20}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Aufgabe: Kalender ===&lt;br /&gt;
Erstelle ein Programm, welches einen Kalender korrekt darstellt. Verwende {{JSL|Calendar}} und {{JSL|Date}} dafür, der aktuelle Tag soll speziell markiert werden.&lt;br /&gt;
&lt;br /&gt;
Achte darauf, dass&lt;br /&gt;
* Der aktuellen Tag ist mit Stern gekennzeichnet ist&lt;br /&gt;
* Nicht jeder Monat am Montag beginnt&lt;br /&gt;
* Nicht jeder Monat am Sonntag endet&lt;br /&gt;
&lt;br /&gt;
Zum Testen sollst du verschiedene Tage als &amp;quot;heute&amp;quot; mit der Hilfe von {{JSL|Calendar}} verwenden.&lt;br /&gt;
&lt;br /&gt;
Die Ausgabe sollte wie folgt sein:&lt;br /&gt;
&lt;br /&gt;
 2022 April&lt;br /&gt;
 | Mo | Di | Mi | Do | Fr | Sa | So |&lt;br /&gt;
 |    |    |    |    |  1 |  2 |  3 |&lt;br /&gt;
 |  4*|  5 |  6 |  7 |  8 |  9 | 10 |&lt;br /&gt;
 | 11 | 12 | 13 | 14 | 15 | 16 | 17 |&lt;br /&gt;
 | 18 | 19 | 20 | 21 | 22 | 23 | 24 |&lt;br /&gt;
 | 25 | 26 | 27 | 28 | 29 | 30 |    |&lt;br /&gt;
&lt;br /&gt;
=== Bonusaufgabe: Kalender Regionsunabhängig ===&lt;br /&gt;
Die Leute in Thailand sind traurig weil die Ausgabe deines Kalenderprogramms aus der vorhergehenden Aufgabe nicht korrekt ist, da ihre Woche am Sonntag beginnt. Ändere dein Programm so ab, dass es Kalenderunabhängig den richtigen Wochenstart verwendet. Verwende dafür {{JSL|calendar.getStartOfWeek()}}. Teste dein Programm mit verschiedenen {{JSL|Locales}} in der {{JSL|main()}} Methode.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Aufruf&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
{{JML|code=&lt;br /&gt;
//Locale wird auf Thailand gesetzt, hier wird der Buddistische Kalender verwendet&lt;br /&gt;
Locale.setDefault(new Locale.Builder().setRegion(&amp;quot;TH&amp;quot;).setLanguage(&amp;quot;th&amp;quot;).build());&lt;br /&gt;
printCalendar(2565, 4);&lt;br /&gt;
&lt;br /&gt;
//Locale wird auf Deutschland gesetzt, hier wird der Gregorianische Kalender verwendet&lt;br /&gt;
Locale.setDefault(Locale.GERMANY);&lt;br /&gt;
printCalendar(2022, 4);&lt;br /&gt;
}}&lt;br /&gt;
&amp;#039;&amp;#039;Ausgabe&amp;#039;&amp;#039;&lt;br /&gt;
 2022 04&lt;br /&gt;
 | Mo | Di | Mi | Do | Fr | Sa | So |&lt;br /&gt;
 |    |    |    |    |  1 |  2 |  3 |&lt;br /&gt;
 |  4*|  5 |  6 |  7 |  8 |  9 | 10 |&lt;br /&gt;
 | 11 | 12 | 13 | 14 | 15 | 16 | 17 |&lt;br /&gt;
 | 18 | 19 | 20 | 21 | 22 | 23 | 24 |&lt;br /&gt;
 | 25 | 26 | 27 | 28 | 29 | 30 |    |&lt;br /&gt;
 &lt;br /&gt;
 2565 04&lt;br /&gt;
 | So | Mo | Di | Mi | Do | Fr | Sa |&lt;br /&gt;
 |    |    |    |    |    |  1 |  2 |&lt;br /&gt;
 |  3 |  4*|  5 |  6 |  7 |  8 |  9 |&lt;br /&gt;
 | 10 | 11 | 12 | 13 | 14 | 15 | 16 |&lt;br /&gt;
 | 17 | 18 | 19 | 20 | 21 | 22 | 23 |&lt;br /&gt;
 | 24 | 25 | 26 | 27 | 28 | 29 | 30 |&lt;/div&gt;</summary>
		<author><name>Gyula</name></author>
	</entry>
</feed>