\(\renewcommand\AA{\unicode{x212B}}\)

time_duration

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

class mantid.kernel.time_duration
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)

totalNanoseconds((time_duration)self) → int :

Get the total number of nanoseconds truncating any remaining digits

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