Difference between revisions of "API Time.GetLeapYear"

From Flowcode Help
Jump to navigationJump to search
(XML import for latest API)
(No difference)

Revision as of 16:15, 12 November 2013


<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