Class AnyPriorTime

  • All Implemented Interfaces:

    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

      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 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