Class AnyPriorTime

  • All Implemented Interfaces:
    PriorTime, java.io.Serializable

    public class AnyPriorTime
    extends java.lang.Object
    implements PriorTime
    An implementation that allows to set any time with any description.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      AnyPriorTime​(@NonNull org.joda.time.DateTime time, @NonNull java.lang.String description)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String description()  
      org.joda.time.DateTime time()  
      • Methods inherited from class java.lang.Object

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

      • AnyPriorTime

        public AnyPriorTime​(@NonNull
                            @NonNull org.joda.time.DateTime time,
                            @NonNull
                            @NonNull java.lang.String description)
    • Method Detail

      • time

        public org.joda.time.DateTime time()
        Specified by:
        time in interface PriorTime
      • description

        public java.lang.String description()
        Specified by:
        description in interface PriorTime