time_duration

This a python binding to the C++ class Mantid::Kernel::time_duration.

class mantid.kernel.time_duration
__init__()

Raises an exception This class cannot be instantiated from Python

hours((time_duration)self) → int :

Returns the normalized number of hours

minutes((time_duration)self) → int :

Returns the normalized number of minutes +/-(0..59)

seconds((time_duration)self) → int :

Returns the normalized number of seconds +/-(0..59)

total_microseconds((time_duration)self) → int :

Get the total number of microseconds truncating any remaining digits

total_milliseconds((time_duration)self) → int :

Get the total number of milliseconds truncating any remaining digits

total_nanoseconds((time_duration)self) → int :

Get the total number of nanoseconds truncating any remaining digits

total_seconds((time_duration)self) → int :

Get the total number of seconds truncating any fractional seconds