Class MaintenanceHelpers
- Namespace
- Geotab.Checkmate.ObjectModel.Maintenance
- Assembly
- Geotab.Checkmate.ObjectModel.dll
Helper functions for maintenance work requests and work orders
public static class MaintenanceHelpers
- Inheritance
-
MaintenanceHelpers
- Inherited Members
Methods
DoubleToTimeSpan(double, Func<double, TimeSpan>)
Converts a double value to a TimeSpan using the specified conversion function.
public static TimeSpan DoubleToTimeSpan(double value, Func<double, TimeSpan> conversionFunc)
Parameters
value
doubleThe double value to convert.
conversionFunc
Func<double, TimeSpan>The conversion function to use.
Returns
- TimeSpan
The TimeSpan representation of the double value.