API Time.GetLeapYear

From Flowcode Help
Jump to navigationJump to search

<sidebar>API Contents</sidebar> Returns true if the given year is a leap year, else false

Class hierarchy

Time

GetLeapYear

Parameters

LONG Year

The year to check for a leap-year


Return value

BOOL

Returns true if the given year is a leap year, else false


Detailed description

No additional information


Examples

Calling in a calculation

  • Declare a variable 'result' of type BOOL
  • Add to a calculation icon:
    result = ::Time.GetLeapYear(year)

No additional examples