<commit_before>import ceylon.time.base {
    ReadableDate,
    ReadableTime
}

"Date, time, currency, and numeric formats for a certain
 [[Locale]]."
shared sealed class Formats(
    shortDateFormat, 
    mediumDateFormat, 
    longDateFormat, 
    shortTimeFormat, 
    mediumTimeFormat, 
    longTimeFormat, 
    integerFormat, 
    floatFormat, 
    percentageFormat, 
    currencyFormat,
    String[] monthNames,
    String[] monthAbbreviations,
    String[] weekdayNames,
    String[] weekdayAbbreviations,
    [String,String] ampm) {
    
    shared String shortDateFormat;
    shared String mediumDateFormat;
    shared String longDateFormat;
    
    shared String shortTimeFormat;
    shared String mediumTimeFormat;
    shared String longTimeFormat;
    
    shared String integerFormat;
    shared String floatFormat;
    shared String percentageFormat;
    shared String currencyFormat;
    
    shared String shortFormatDate(ReadableDate date) 
            => formatDate(shortDateFormat, date);
    shared String mediumFormatDate(ReadableDate date) 
            => formatDate(mediumDateFormat, date);
    shared String longFormatDate(ReadableDate date) 
            => formatDate(longDateFormat, date);<commit_msg>expose stuff useful to @chocho's calendar program<commit_after>import ceylon.time.base {
    ReadableDate,
    ReadableTime
}

"Date, time, currency, and numeric formats for a certain
 [[Locale]]."
shared sealed class Formats(
    shortDateFormat, 
    mediumDateFormat, 
    longDateFormat, 
    shortTimeFormat, 
    mediumTimeFormat, 
    longTimeFormat, 
    integerFormat, 
    floatFormat, 
    percentageFormat, 
    currencyFormat,
    monthNames,
    monthAbbreviations,
    weekdayNames,
    weekdayAbbreviations,
    ampm) {
    
    shared String shortDateFormat;
    shared String mediumDateFormat;
    shared String longDateFormat;
    
    shared String shortTimeFormat;
    shared String mediumTimeFormat;
    shared String longTimeFormat;
    
    shared String integerFormat;
    shared String floatFormat;
    shared String percentageFormat;
    shared String currencyFormat;
    
    [String,String] ampm;
    shared String am => ampm[0];
    shared String pm => ampm[1]; 
    
    shared String[] weekdayNames;
    shared String[] weekdayAbbreviations;
    shared String[] monthNames;
    shared String[] monthAbbreviations;
    
    shared String shortFormatDate(ReadableDate date) 
            => formatDate(shortDateFormat, date);
    shared String mediumFormatDate(ReadableDate date) 
            => formatDate(mediumDateFormat, date);
    shared String longFormatDate(ReadableDate date) 
            => formatDate(longDateFormat, date);
{'fraction_non_alphanumeric': 0.06582372629230197, 'fraction_numerical': 0.0007437709185570844, 'mean_word_length': 3.249605055292259, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 11, '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': '5755911', 'n_tokens_mistral': 746, 'n_tokens_neox': 694, 'n_words': 194}