Robot Framework
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 425 of file robottime.py.

Constructor & Destructor Documentation

◆ __init__()

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

Definition at line 427 of file robottime.py.

Member Function Documentation

◆ _cache_timestamp()

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

Definition at line 455 of file robottime.py.

◆ _cached_timestamp()

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

Definition at line 450 of file robottime.py.

◆ _get_epoch()

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

Definition at line 442 of file robottime.py.

◆ _use_cache()

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

Definition at line 445 of file robottime.py.

◆ get_timestamp()

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

Definition at line 432 of file robottime.py.

Member Data Documentation

◆ _previous_secs

robot.utils.robottime.TimestampCache._previous_secs
private

Definition at line 428 of file robottime.py.

◆ _previous_separators

robot.utils.robottime.TimestampCache._previous_separators
private

Definition at line 429 of file robottime.py.

◆ _previous_timestamp

robot.utils.robottime.TimestampCache._previous_timestamp
private

Definition at line 430 of file robottime.py.


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