<commit_before>#include "properties/exdate.h"

#include "parameters/value.h"

#include "core/valueparser.h"

namespace ical {
namespace properties {

void ExDate::print(std::ostream &out) const
{
    if (values.size() == 0) {
        return;
    }
    out << "EXDATE";
    if (!values.front().hasTime()) {
        out << ";VALUE=DATE";
    }
    for (auto &t : tzid) {
        t.print(out);
    }
    out << ":";
    for (std::size_t i = 0; i < values.size(); i++) {
        if (i != 0) {
            out << ",";
        }
        values[i].print(out);
    }
    out << "\r\n";
}

ExDate ExDate::parse(const core::WithPos<core::GenericProperty> &generic)
{
    bool isOnlyDate = false;

    bool valueParamSeen = false;<commit_msg>Moving things around for consistency...<commit_after>#include "properties/exdate.h"

#include "parameters/value.h"

#include "core/valueparser.h"

namespace ical {
namespace properties {

void ExDate::print(std::ostream &out) const
{
    if (values.size() == 0) {
        return;
    }
    out << "EXDATE";
    for (auto &t : tzid) {
        t.print(out);
    }
    /* DATE-TIME is default */
    if (!values.front().hasTime()) {
        out << ";VALUE=DATE";
    }
    out << ":";
    for (std::size_t i = 0; i < values.size(); i++) {
        if (i != 0) {
            out << ",";
        }
        values[i].print(out);
    }
    out << "\r\n";
}

ExDate ExDate::parse(const core::WithPos<core::GenericProperty> &generic)
{
    bool isOnlyDate = false;

    bool valueParamSeen = false;
{'fraction_non_alphanumeric': 0.18169848584595127, 'fraction_numerical': 0.003949967083607637, 'mean_word_length': 2.392857142857143, 'pattern_counts': {'":': 2, '<': 27, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6169207', 'n_tokens_mistral': 539, 'n_tokens_neox': 525, 'n_words': 114}