Class ISODateComponent.EpochComponent

java.lang.Object
org.graphstream.util.time.ISODateComponent
org.graphstream.util.time.ISODateComponent.EpochComponent
Enclosing class:
ISODateComponent

public static class ISODateComponent.EpochComponent
extends ISODateComponent
Component handling a number of milliseconds since the epoch (january, 1st 1970).
  • Constructor Details

  • Method Details

    • set

      public void set​(String value, Calendar calendar)
      Description copied from class: ISODateComponent
      Handle the value catched with the replacement value.
      Specified by:
      set in class ISODateComponent
      Parameters:
      value - value matching the replacement string
      calendar - calendar we are working on
    • get

      public String get​(Calendar calendar)
      Description copied from class: ISODateComponent
      Get a string representation of this component for a given calendar.
      Specified by:
      get in class ISODateComponent
      Parameters:
      calendar - the calendar
      Returns:
      string representation of this component.