timespan::get-hours

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.90.3780.0)