Class ISODateComponent.TextComponent

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

public static class ISODateComponent.TextComponent
extends ISODateComponent
Defines a text component. Such component does nothing else that append text to the resulting regular expression.
  • 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.