A common ancestor of Clips and Targets to avoid duplicating time management.  
 More...
#include <reels.h>
|  | 
| char | time_format [128] = "%Y-%m-%d %H:%M:%S" | 
|  | Date and time format for insert_row() and define_event()  More... 
 | 
|  | 
A common ancestor of Clips and Targets to avoid duplicating time management. 
◆ TimeUtil()
  
  | 
        
          | reels::TimeUtil::TimeUtil | ( |  | ) |  |  | inline | 
 
 
◆ get_time()
Convert time as a string to a TimePoint (using the object's time_format). 
- Parameters
- 
  
    | p_t | A string containing a valid date and time in the object's time_format. |  
 
- Returns
- The TimePoint corresponding to that time or a negative value on error. 
 
 
◆ set_time_format()
  
  | 
        
          | void reels::TimeUtil::set_time_format | ( | pChar | fmt | ) |  |  | inline | 
 
Sets the public property time_format to simplify the python interface. 
- Parameters
- 
  
  
 
 
◆ time_format
      
        
          | char reels::TimeUtil::time_format[128] = "%Y-%m-%d %H:%M:%S" | 
      
 
Date and time format for insert_row() and define_event() 
 
 
The documentation for this class was generated from the following file: