Return a DatetimeInterval object representing a duration of the specified hours (exactly).

Synopsis

Declared in <bdlt_datetimeintervalutil.h>

static
DatetimeInterval
makeHours(bsls::Types::Int64 hours);

Return Value

DatetimeInterval of exactly hours hours

Parameters

Name

Description

hours

number of hours in the interval

Created with MrDocs