Skip to main content
Table of Contents

TTMSFNCGanttTimeSpan.PassesMidnight Method

Returns whether the span starts on one day and ends after midnight.

API unit family: TMSFNCGanttClasses Declaring type: TTMSFNCGanttTimeSpan

Syntax

FMX.TMSFNCGanttClasses.hppPascalC++
function PassesMidnight: Boolean;
bool __fastcall PassesMidnight();

Returns

True when the end time is earlier than the start time; otherwise False.