Module |
|
Header |
/Engine/Source/Runtime/Core/Public/Misc/DateTime.h |
Include |
#include "Misc/DateTime.h" |
Source |
/Engine/Source/Runtime/Core/Private/Misc/DateTime.cpp |
Checks whether the given year is a leap year.
A leap year is a year containing one additional day in order to keep the calendar synchronized with the astronomical year. All years divisible by 4, but not divisible by 100 - except if they are also divisible by 400 - are leap years.
true if the year is a leap year, false otherwise.
Parameter |
Description |
---|---|
Year |
The year to check. |