Class StringDateWrapper

  • All Implemented Interfaces:
    java.util.function.LongFunction<java.lang.String>

    public class StringDateWrapper
    extends java.lang.Object
    implements java.util.function.LongFunction<java.lang.String>
    This function wraps an epoch time in milliseconds into a String as specified in the format. The valid formatters are documented at @see DateTimeFormat API Docs
    • Constructor Summary

      Constructors 
      Constructor Description
      StringDateWrapper​(java.lang.String format)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String apply​(long input)  
      • Methods inherited from class java.lang.Object

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

      • StringDateWrapper

        public StringDateWrapper​(java.lang.String format)
    • Method Detail

      • apply

        public java.lang.String apply​(long input)
        Specified by:
        apply in interface java.util.function.LongFunction<java.lang.String>