class OptionalTsData {

    @NonNull
    public static Builder2<LocalDate> builderByLocalDate(@NonNull ObsGathering gathering, @NonNull ObsCharacteristics... characteristics) {
        return builder(gathering, toEnumSet(characteristics), OptionalTsData::getYearMonthDay, OptionalTsData::getIdFromYearMonthDay);
    }

}