libtime++: Date and time calculation

◆ testleap()

subroutine testleap ( integer  year)

Definition at line 472 of file testlibtime.f.

Referenced by testlibtime().

472  integer year
473  logical time_isleapyear
474  if (time_isleapyear(year)) then
475  else
476  print 50,year
477  endif
478  print 51,year
479  return
480  50 format('year ',i4,' is a leap year')
481  51 format('year ',i4,' is no leap year')
integer time_isleapyear(timeint year)
Here is the caller graph for this function: