Robot Framework Integrated Development Environment (RIDE)
robotide.lib.robot.utils.robottime.TimestampCache Class Reference

Public Member Functions

def __init__ (self)
 
def get_timestamp (self, daysep='', daytimesep=' ', timesep=':', millissep='.')
 

Private Member Functions

def _cache_timestamp (self, secs, timestamp, daysep, daytimesep, timesep, millissep)
 
def _cached_timestamp (self, millis, millissep)
 
def _get_epoch (self)
 
def _use_cache (self, secs, *separators)
 

Private Attributes

 _previous_secs
 
 _previous_separators
 
 _previous_timestamp
 

Detailed Description

Definition at line 383 of file robottime.py.

Constructor & Destructor Documentation

◆ __init__()

def robotide.lib.robot.utils.robottime.TimestampCache.__init__ (   self)

Definition at line 385 of file robottime.py.

Member Function Documentation

◆ _cache_timestamp()

def robotide.lib.robot.utils.robottime.TimestampCache._cache_timestamp (   self,
  secs,
  timestamp,
  daysep,
  daytimesep,
  timesep,
  millissep 
)
private

Definition at line 413 of file robottime.py.

◆ _cached_timestamp()

def robotide.lib.robot.utils.robottime.TimestampCache._cached_timestamp (   self,
  millis,
  millissep 
)
private

Definition at line 408 of file robottime.py.

◆ _get_epoch()

def robotide.lib.robot.utils.robottime.TimestampCache._get_epoch (   self)
private

Definition at line 400 of file robottime.py.

◆ _use_cache()

def robotide.lib.robot.utils.robottime.TimestampCache._use_cache (   self,
  secs,
separators 
)
private

Definition at line 403 of file robottime.py.

◆ get_timestamp()

def robotide.lib.robot.utils.robottime.TimestampCache.get_timestamp (   self,
  daysep = '',
  daytimesep = ' ',
  timesep = ':',
  millissep = '.' 
)

Definition at line 390 of file robottime.py.

Member Data Documentation

◆ _previous_secs

robotide.lib.robot.utils.robottime.TimestampCache._previous_secs
private

Definition at line 386 of file robottime.py.

◆ _previous_separators

robotide.lib.robot.utils.robottime.TimestampCache._previous_separators
private

Definition at line 387 of file robottime.py.

◆ _previous_timestamp

robotide.lib.robot.utils.robottime.TimestampCache._previous_timestamp
private

Definition at line 388 of file robottime.py.


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