DurationCalculator - isAfter(GlideDateTime dt, String tm)

Checks if a time occurs after a specified time of day.

Table 1. Parameters
Name Type Description
dt GlideDateTime The Datetime to compare to.
tm String The test datetime.
Table 2. Returns
TypeDescription
BooleanTrue if tm is after dt.

var dc = new DurationCalculator();
gs.print(dc.isAfter("2012-04-10 08:00:00", "07:00:00"));

*** Script: true