timespan::get-hours

[This is preliminary documentation and subject to change.]

Returns the number of whole hours represented by the specified TimeSpan.

Usage

int timespan::get-hours(value)

Parameters

Name Type Description
value timespan A TimeSpan.

Return Value

The number of whole hours represented by the given TimeSpan.

Requirements

Assembly: NAnt.Core (0.91.4298.0)