Class Property.DurationProperty

    • Constructor Detail

      • DurationProperty

        public DurationProperty​(java.lang.String name)
      • DurationProperty

        public DurationProperty​(java.lang.String name,
                                java.time.Duration def)
    • Method Detail

      • toStorage

        protected java.lang.Object toStorage​(java.time.Duration value)
        Overrides:
        toStorage in class Property.BaseProperty<java.time.Duration>
      • fromStorage

        protected java.time.Duration fromStorage​(java.lang.Object value)
        Specified by:
        fromStorage in class Property.BaseProperty<java.time.Duration>