Package org.moditect

Class Moditect.InstantConverter

  • All Implemented Interfaces:
    com.beust.jcommander.IStringConverter<java.time.Instant>
    Enclosing class:
    Moditect

    private static class Moditect.InstantConverter
    extends java.lang.Object
    implements com.beust.jcommander.IStringConverter<java.time.Instant>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static java.time.Instant DATE_MAX  
      private static java.time.Instant DATE_MIN  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private InstantConverter()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.time.Instant convert​(java.lang.String value)  
      private boolean isNumeric​(java.lang.String str)  
      • Methods inherited from class java.lang.Object

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

      • DATE_MIN

        private static final java.time.Instant DATE_MIN
      • DATE_MAX

        private static final java.time.Instant DATE_MAX
    • Constructor Detail

      • InstantConverter

        private InstantConverter()
    • Method Detail

      • convert

        public java.time.Instant convert​(java.lang.String value)
        Specified by:
        convert in interface com.beust.jcommander.IStringConverter<java.time.Instant>
      • isNumeric

        private boolean isNumeric​(java.lang.String str)