Class ISODateComponent.AMPMComponent

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

public static class ISODateComponent.AMPMComponent
extends ISODateComponent
Component handling AM/PM.
  • 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.