/*
|
Zeitrechnung - a class library to determine calendar events
|
Copyright (c) 1984-2023 Ulrich Hilger, http://uhilger.de
|
|
This program is free software: you can redistribute it and/or modify
|
it under the terms of the GNU Affero General Public License as published by
|
the Free Software Foundation, either version 3 of the License, or
|
(at your option) any later version.
|
|
This program is distributed in the hope that it will be useful,
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
GNU Affero General Public License for more details.
|
|
You should have received a copy of the GNU Affero General Public License
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
*/
|
package de.uhilger.zeitrechnung;
|
|
/**
|
* Einfache Klasse fuer ein Datum bestehend aus
|
* Jahr, Monat und Tag.
|
*
|
* @author Ulrich Hilger
|
*/
|
public class Datum {
|
|
private long jahr;
|
private int monat;
|
private int tag;
|
|
public Datum() {
|
super();
|
}
|
|
public Datum(long jahr, int monat, int tag) {
|
this.jahr = jahr;
|
this.monat = monat;
|
this.tag = tag;
|
}
|
|
public long getJahr() {
|
return jahr;
|
}
|
|
public void setJahr(long jahr) {
|
this.jahr = jahr;
|
}
|
|
public int getMonat() {
|
return monat;
|
}
|
|
public void setMonat(int monat) {
|
this.monat = monat;
|
}
|
|
public int getTag() {
|
return tag;
|
}
|
|
public void setTag(int tag) {
|
this.tag = tag;
|
}
|
|
}
|