Robot Framework Integrated Development Environment (RIDE)
robotide.lib.robot.libraries.DateTime.Time Class Reference

Public Member Functions

def __add__ (self, other)
 
def __init__ (self, time)
 
def __sub__ (self, other)
 
def convert (self, format, millis=True)
 

Public Attributes

 seconds
 

Properties

 timedelta = property
 

Private Member Functions

def _convert_time_to_seconds (self, time)
 
def _convert_to_compact (self, seconds, millis=True)
 
def _convert_to_number (self, seconds, millis=True)
 
def _convert_to_timedelta (self, seconds, millis=True)
 
def _convert_to_timer (self, seconds, millis=True)
 
def _convert_to_verbose (self, seconds, millis=True)
 
def timedelta (self)
 

Detailed Description

Definition at line 632 of file DateTime.py.

Constructor & Destructor Documentation

◆ __init__()

def robotide.lib.robot.libraries.DateTime.Time.__init__ (   self,
  time 
)

Definition at line 634 of file DateTime.py.

Member Function Documentation

◆ __add__()

def robotide.lib.robot.libraries.DateTime.Time.__add__ (   self,
  other 
)

Definition at line 671 of file DateTime.py.

◆ __sub__()

def robotide.lib.robot.libraries.DateTime.Time.__sub__ (   self,
  other 
)

Definition at line 676 of file DateTime.py.

◆ _convert_time_to_seconds()

def robotide.lib.robot.libraries.DateTime.Time._convert_time_to_seconds (   self,
  time 
)
private

Definition at line 637 of file DateTime.py.

◆ _convert_to_compact()

def robotide.lib.robot.libraries.DateTime.Time._convert_to_compact (   self,
  seconds,
  millis = True 
)
private

Definition at line 662 of file DateTime.py.

◆ _convert_to_number()

def robotide.lib.robot.libraries.DateTime.Time._convert_to_number (   self,
  seconds,
  millis = True 
)
private

Definition at line 656 of file DateTime.py.

◆ _convert_to_timedelta()

def robotide.lib.robot.libraries.DateTime.Time._convert_to_timedelta (   self,
  seconds,
  millis = True 
)
private

Definition at line 668 of file DateTime.py.

◆ _convert_to_timer()

def robotide.lib.robot.libraries.DateTime.Time._convert_to_timer (   self,
  seconds,
  millis = True 
)
private

Definition at line 665 of file DateTime.py.

◆ _convert_to_verbose()

def robotide.lib.robot.libraries.DateTime.Time._convert_to_verbose (   self,
  seconds,
  millis = True 
)
private

Definition at line 659 of file DateTime.py.

◆ convert()

def robotide.lib.robot.libraries.DateTime.Time.convert (   self,
  format,
  millis = True 
)

Definition at line 648 of file DateTime.py.

◆ timedelta()

def robotide.lib.robot.libraries.DateTime.Time.timedelta (   self)
private

Definition at line 645 of file DateTime.py.

Member Data Documentation

◆ seconds

robotide.lib.robot.libraries.DateTime.Time.seconds

Definition at line 635 of file DateTime.py.

Property Documentation

◆ timedelta

robotide.lib.robot.libraries.DateTime.Time.timedelta = property
static

Definition at line 643 of file DateTime.py.


The documentation for this class was generated from the following file: