RetailDiscountValidationPeriod.validateAfterMidnight Method
Validates the end time and start time.
Syntax
public boolean validateAfterMidnight(
RetailStartingTime _startingTime,
RetailEndingTime _endingTime,
boolean _endingTimeAfterMidnight)
Run On
Called
Parameters
- _startingTime
Type: RetailStartingTime Extended Data Type
The starting time of the discount.
- _endingTime
Type: RetailEndingTime Extended Data Type
The ending time of the discount.
- _endingTimeAfterMidnight
Type: boolean
A Boolean value which indicates whether the ending time is after midnight.
Return Value
Type: boolean
true if start time occurs before end time or if the ending time is before midnight; otherwise, false.