package org.enso.table.parsing;

import java.time.LocalTime;
import java.util.Locale;
import org.enso.table.data.column.builder.Builder;
import org.enso.table.data.column.builder.TimeOfDayBuilder;

public class TimeOfDayParser extends BaseTimeParser {
  public TimeOfDayParser(String[] formats, Locale locale) {
    super(formats, locale, LocalTime::parse);
  }

  @Override
  protected Builder makeBuilderWithCapacity(int capacity) {
    return new TimeOfDayBuilder(capacity);
  }
}
