Time helpers.  
 More...
|  | 
| static string | FloatToTimeString (float t, bool displayHours=false, bool displayMinutes=true, bool displaySeconds=true, bool displayMilliseconds=false) | 
|  | Turns a float (expressed in seconds) into a string displaying hours, minutes, seconds and hundredths optionnally. 
 | 
| static float | TimeStringToFloat (string timeInStringNotation) | 
|  | Takes a hh:mm:ss:SSS string and turns it into a float value expressed in seconds. 
 | 
◆ FloatToTimeString()
  
  | 
        
          | string MoreMountains.Tools.MMTime.FloatToTimeString | ( | float | t, |  
          |  |  | bool | displayHours = false, |  
          |  |  | bool | displayMinutes = true, |  
          |  |  | bool | displaySeconds = true, |  
          |  |  | bool | displayMilliseconds = false ) |  | static | 
 
Turns a float (expressed in seconds) into a string displaying hours, minutes, seconds and hundredths optionnally. 
- Parameters
- 
  
    | t |  |  | displayHours |  |  | displayMinutes |  |  | displaySeconds |  |  | displayHundredths |  |  
 
- Returns
 
 
◆ TimeStringToFloat()
  
  | 
        
          | float MoreMountains.Tools.MMTime.TimeStringToFloat | ( | string | timeInStringNotation | ) |  |  | static | 
 
Takes a hh:mm:ss:SSS string and turns it into a float value expressed in seconds. 
- Returns
- a number of seconds.
- Parameters
- 
  
    | timeInStringNotation | Time in string notation to decode. |  
 
 
 
The documentation for this class was generated from the following file:
- H:/Code/MoreMountains/InventoryEngineStore/Assets/InventoryEngine/MMTools/Core/MMHelpers/MMTime.cs