Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- boolean isLeapYear(){
- if(this.jahr % 4 == 0){
- if(this.jahr % 100 == 0){
- if(this.jahr % 400 == 0){
- return true;
- }
- } else {return true;
- }
- }
- else {
- return false;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement