Share via


RetailDiscountValidationPeriod.validateAfterMidnight Method

Validates the end time and start time.

Syntax

public boolean validateAfterMidnight(
    RetailStartingTime _startingTime, 
    RetailEndingTime _endingTime, 
    boolean _endingTimeAfterMidnight)

Run On

Called

Parameters

  • _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.

See Also

Reference

RetailDiscountValidationPeriod Table