package org.bff.javampd.year;

import java.util.Collection;

/**
 * Database for year related items
 *
 * @author bill
 */
@FunctionalInterface
public interface DateDatabase {

  /**
   * Returns a {@code Collection} of dates for songs in the database. The dates are sorted from
   * least to greatest.
   *
   * @return a {@link java.util.Collection} of years
   */
  Collection<String> listAllDates();
}
