com.github.markusbernhardt.selenium2library.utils
Class TimestrHelper

java.lang.Object
  extended by com.github.markusbernhardt.selenium2library.utils.TimestrHelper

public class TimestrHelper
extends Object


Constructor Summary
TimestrHelper(double double_secs)
           
TimestrHelper(double double_secs, boolean compact)
           
 
Method Summary
protected  void addItem(int value, String compactSuffix, String longSuffix)
           
protected  int doubleSecsToMillis(double double_secs)
           
protected  int doubleSecsToSecs(double double_secs)
           
 String getValue()
           
protected  String pluralOrNot(int value)
           
protected  void secsToComponents(double double_secs)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimestrHelper

public TimestrHelper(double double_secs)

TimestrHelper

public TimestrHelper(double double_secs,
                     boolean compact)
Method Detail

getValue

public String getValue()

doubleSecsToSecs

protected int doubleSecsToSecs(double double_secs)

doubleSecsToMillis

protected int doubleSecsToMillis(double double_secs)

addItem

protected void addItem(int value,
                       String compactSuffix,
                       String longSuffix)

secsToComponents

protected void secsToComponents(double double_secs)

pluralOrNot

protected String pluralOrNot(int value)


Copyright © 2013. All Rights Reserved.