Module io.ebean.api
Package io.ebean.text

Class TimeStringParser

All Implemented Interfaces:

public final class TimeStringParser extends Object implements StringParser
Parser for TIME types that supports both HH:mm:ss and HH:mm.
  • Constructor Details

    • TimeStringParser

      public TimeStringParser()
  • Method Details

    • get

      public static TimeStringParser get()
      Return a shared instance as this is thread safe.
    • parse

      public Object parse(String value)
      Parse the String supporting both HH:mm:ss and HH:mm formats.
      Specified by:
      parse in interface StringParser