Sign in Join
FPDoc Onlineexperiment

IsValidTime function

In unit DateUtils

Check whether a set of values is a valid time indication.

Declaration

pascal
function IsValidTime(const AHour: Word; const AMinute: Word; 
 const ASecond: Word; const AMilliSecond: Word)
: Boolean

Arguments

AHour

Hour of the day.

AMinute

Minute in the hour.

ASecond

Second in the minute.

AMilliSecond

Milliseconds in the second.

Function result

True if the given values form a valid time, False if not.

Description

Nothing more than the line above yet.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.