Class ResourceTimeUtils


  • public class ResourceTimeUtils
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String getDuration​(double ms)  
      static java.lang.String getDurationPadded​(long ms)  
      static java.lang.String getResource​(org.deckfour.xes.model.XEvent event)  
      static java.lang.String getTimePerUnitString​(double ms, java.lang.String otherUnit)  
      static java.lang.Long getTimestamp​(org.deckfour.xes.model.XEvent event)  
      static java.lang.String getTimeUnitWithoutMeasure​(double ms, java.lang.String otherUnit)  
      static java.lang.String timeToString​(java.lang.Long timestamp)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ResourceTimeUtils

        public ResourceTimeUtils()
    • Method Detail

      • getResource

        public static java.lang.String getResource​(org.deckfour.xes.model.XEvent event)
      • getTimestamp

        public static java.lang.Long getTimestamp​(org.deckfour.xes.model.XEvent event)
      • getDuration

        public static final java.lang.String getDuration​(double ms)
      • getDurationPadded

        public static final java.lang.String getDurationPadded​(long ms)
      • getTimePerUnitString

        public static final java.lang.String getTimePerUnitString​(double ms,
                                                                  java.lang.String otherUnit)
      • getTimeUnitWithoutMeasure

        public static final java.lang.String getTimeUnitWithoutMeasure​(double ms,
                                                                       java.lang.String otherUnit)
      • timeToString

        public static java.lang.String timeToString​(java.lang.Long timestamp)