ESMF_CalendarCalAndKindEQ Function

private impure elemental function ESMF_CalendarCalAndKindEQ(calendar, calkindflag)

Arguments

Type IntentOptional Attributes Name
type(ESMF_Calendar), intent(in) :: calendar
type(ESMF_CalKind_Flag), intent(in) :: calkindflag

Return Value logical


Source Code

      impure elemental function ESMF_CalendarCalAndKindEQ(calendar, calkindflag)
! 
! !RETURN VALUE:
      logical :: ESMF_CalendarCalAndKindEQ

! !ARGUMENTS:
      type(ESMF_Calendar),     intent(in) :: calendar
      type(ESMF_CalKind_Flag), intent(in) :: calkindflag

! !DESCRIPTION:
!     This method overloads the (==) operator for the {\tt ESMF\_Calendar}
!     class.  See "interface operator(==)" above for complete description.
!             
!EOPI

      integer :: localrc

      ! Initialize output value in case of error
      ESMF_CalendarCalAndKindEQ = .false.

      ! check input
      ESMF_INIT_CHECK_DEEP(ESMF_CalendarGetInit,calendar,localrc)

      ! invoke C to C++ entry point
      call c_ESMC_CalendarCalAndKindEQ(calendar, calkindflag, &
                                       ESMF_CalendarCalAndKindEQ)

      end function ESMF_CalendarCalAndKindEQ