YAPC::EU 2018 Glasgow Update!
This commit is contained in:
parent
22f33d4004
commit
4e2d22a71d
1170 changed files with 15042 additions and 3047 deletions
5
Task/Leap-year/Dart/leap-year.dart
Normal file
5
Task/Leap-year/Dart/leap-year.dart
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
class Leap {
|
||||
bool leapYear(num year) {
|
||||
return (year % 400 == 0) || (( year % 100 != 0) && (year % 4 == 0));
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue