Check If Holiday Date

Checks whether a given date is a public holiday according to the specified holiday name.


⬅️INPUT

Parameter

Type

Required

Description

HolidayName

String

✅ Yes

Holiday name to check (e.g. "Eid al-Fitr")

Date

DateTime

✅ Yes

Date to check


➡️OUTPUT

Parameter

Type

Description

IsCheckIsHolidayDateSuccessful

Boolean

Whether the operation succeeded

CheckIsHolidayDateMessage

String

Operation result message

IsHoliday

Boolean

Whether the date is a holiday (true / false)


⬇️MISC

Parameter

Type

Default

Description

ThrowException

Boolean

❌No

Whether to throw an exception on error