From 0013055686c37fb36687211b8ee47b85e30f823d Mon Sep 17 00:00:00 2001 From: simonverzelen Date: Fri, 27 Dec 2024 15:41:07 +0100 Subject: [PATCH 1/6] Create nl.dart --- lib/src/codecs/text/l10n/nl.dart | 166 +++++++++++++++++++++++++++++++ 1 file changed, 166 insertions(+) create mode 100644 lib/src/codecs/text/l10n/nl.dart diff --git a/lib/src/codecs/text/l10n/nl.dart b/lib/src/codecs/text/l10n/nl.dart new file mode 100644 index 0000000..729e107 --- /dev/null +++ b/lib/src/codecs/text/l10n/nl.dart @@ -0,0 +1,166 @@ +import 'package:intl/date_symbol_data_local.dart'; +import 'package:intl/intl.dart'; +import 'package:meta/meta.dart'; + +import '../../../frequency.dart'; +import 'l10n.dart'; + +@immutable +class RruleL10nNl extends RruleL10n { + const RruleL10nNl._(); + + + static Future create() async { + await initializeDateFormatting('nl'); + return const RruleL10nNl._(); + } + + @override + String get locale => 'nl'; + + @override + String frequencyInterval(Frequency frequency, int interval) { + String plurals({required String one, required String singular}) { + return switch (interval) { + 1 => one, + 2 => 'Om de twee $singular', + _ => 'Om de $interval ${singular}s', + }; + } + + return { + Frequency.secondly: plurals(one: 'Secondelijks', singular: 'seconde'), + Frequency.minutely: plurals(one: 'Minuutlijks', singular: 'minuut'), + Frequency.hourly: plurals(one: 'Uurlijks', singular: 'uur'), + Frequency.daily: plurals(one: 'Dagelijks', singular: 'dag'), + Frequency.weekly: plurals(one: 'Wekelijks', singular: 'week'), + Frequency.monthly: plurals(one: 'Maandelijks', singular: 'maand'), + Frequency.yearly: plurals(one: 'Jaarlijks', singular: 'jaar'), + }[frequency]!; + } + + @override + String until(DateTime until, Frequency frequency) { + final untilString = formatWithIntl( + () => DateFormat('EEEE d MMMM yyyy \'om\' H:i \'uur\'', 'nl').format(until), + ); + return ', tot $untilString'; + } + + @override + String count(int count) { + return switch (count) { + 1 => ', één keer', + 2 => ', twee keer', + _ => ', $count keer', + }; + } + + @override + String onInstances(String instances) => 'op de $instances'; + + @override + String inMonths(String months, {InOnVariant variant = InOnVariant.simple}) => + '${_inVariant(variant)} $months'; + + @override + String inWeeks(String weeks, {InOnVariant variant = InOnVariant.simple}) => + '${_inVariant(variant)} week $weeks'; + + String _inVariant(InOnVariant variant) { + return switch (variant) { + InOnVariant.simple => 'in', + InOnVariant.also => 'die ook in', + InOnVariant.instanceOf => 'van', + }; + } + + @override + String onDaysOfWeek( + String days, { + bool indicateFrequency = false, + DaysOfWeekFrequency? frequency = DaysOfWeekFrequency.monthly, + InOnVariant variant = InOnVariant.simple, + }) { + assert(variant != InOnVariant.also); + + final frequencyString = + frequency == DaysOfWeekFrequency.monthly ? 'maand' : 'jaar'; + final suffix = indicateFrequency ? ' van de $frequencyString' : ''; + return '${_onVariant(variant)} $days$suffix'; + } + + @override + String? get weekdaysString => 'weekdagen'; + @override + String get everyXDaysOfWeekPrefix => 'elke '; + @override + String nthDaysOfWeek(Iterable occurrences, String daysOfWeek) { + if (occurrences.isEmpty) return daysOfWeek; + + final ordinals = list( + occurrences.map(ordinal).toList(), + ListCombination.conjunctiveShort, + ); + return 'de $ordinals $daysOfWeek'; + } + + @override + String onDaysOfMonth( + String days, { + DaysOfVariant daysOfVariant = DaysOfVariant.dayAndFrequency, + InOnVariant variant = InOnVariant.simple, + }) { + final suffix = { + DaysOfVariant.simple: '', + DaysOfVariant.day: ' dag', + DaysOfVariant.dayAndFrequency: ' dag van de maand', + }[daysOfVariant]; + return '${_onVariant(variant)} de $days$suffix'; + } + + @override + String onDaysOfYear( + String days, { + InOnVariant variant = InOnVariant.simple, + }) => + '${_onVariant(variant)} de $days dag van het jaar'; + + String _onVariant(InOnVariant variant) { + return switch (variant) { + InOnVariant.simple => 'op', + InOnVariant.also => 'die ook op', + InOnVariant.instanceOf => 'van', + }; + } + + @override + String list(List items, ListCombination combination) { + final (two, end) = switch (combination) { + ListCombination.conjunctiveShort => (' & ', ' & '), + ListCombination.conjunctiveLong => (' en ', ', en '), + ListCombination.disjunctive => (' of ', ', of '), + }; + return RruleL10n.defaultList(items, two: two, end: end); + } + + @override + String ordinal(int number) { + assert(number != 0); + if (number == -1) return 'laatste'; + + final n = number.abs(); + String string; + if (n % 10 == 1 && n % 100 != 11) { + string = '${n}ste'; + } else if (n % 10 == 2 && n % 100 != 12) { + string = '${n}de'; + } else if (n % 10 == 3 && n % 100 != 13) { + string = '${n}de'; + } else { + string = '${n}de'; + } + + return number < 0 ? '$string tot laatste' : string; + } +} From 5ff416be72761c91ed326506a39d7c4512708041 Mon Sep 17 00:00:00 2001 From: Jonas Wanke Date: Tue, 31 Dec 2024 11:33:39 +0100 Subject: [PATCH 2/6] Add missing export --- lib/src/codecs/text/l10n/l10n.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/src/codecs/text/l10n/l10n.dart b/lib/src/codecs/text/l10n/l10n.dart index cfdc3a1..ba99504 100644 --- a/lib/src/codecs/text/l10n/l10n.dart +++ b/lib/src/codecs/text/l10n/l10n.dart @@ -7,6 +7,7 @@ import '../../../utils.dart'; import 'en.dart'; export 'en.dart'; +export 'nl.dart'; /// Contains localized strings used by [RecurrenceRule.toText]. /// From d98afe3518400619eb0286f38ca4e7e3088414fa Mon Sep 17 00:00:00 2001 From: Jonas Wanke Date: Tue, 31 Dec 2024 11:51:48 +0100 Subject: [PATCH 3/6] Generate test data for dutch localization --- test/codecs/text/data.yaml | 133 ++++++++++++++++++++++++++++++++ test/codecs/text/text_test.dart | 3 +- 2 files changed, 135 insertions(+), 1 deletion(-) diff --git a/test/codecs/text/data.yaml b/test/codecs/text/data.yaml index fc4eb8b..d9f99b4 100644 --- a/test/codecs/text/data.yaml +++ b/test/codecs/text/data.yaml @@ -1,18 +1,24 @@ RRULE:FREQ=WEEKLY;BYMONTH=1,2,3,8,9;BYDAY=MO,WE,TH,FR,SU: en: "Weekly in January – March, August & September on Monday, Wednesday – Friday & Sunday" + nl: "Wekelijks in januari – maart, augustus & september op maandag, woensdag – vrijdag & zondag" RRULE:FREQ=WEEKLY;INTERVAL=2;BYMONTH=1,2,3;BYDAY=MO,TU,WE,TH,FR,SU: en: Every other week in January – March on weekdays & Sunday + nl: Om de twee week in januari – maart op weekdagen & zondag RRULE:FREQ=MONTHLY;BYDAY=MO,TU,WE,1TH,1FR,2TH,2FR,2SA,-2TH,-2FR,-2SU,-1TH,-1FR,-1SU;BYMONTHDAY=1,2,3,4,5,26,-3,-2,-1: en: "Monthly on every Monday – Wednesday, the 1st Thursday & Friday, the 2nd Thursday – Saturday, the 2nd-to-last Thursday, Friday & Sunday, and the last Thursday, Friday & Sunday that are also the 1st – 5th, 26th, or 3rd-to-last – last day of the month" + nl: "Maandelijks op elke maandag – woensdag, de 1ste donderdag & vrijdag, de 2de donderdag – zaterdag, de 2de tot laatste donderdag, vrijdag & zondag, en de laatste donderdag, vrijdag & zondag die ook op de 1ste – 5de, 26de, of 3de tot laatste – laatste dag van de maand" # Daily RRULE:FREQ=DAILY;BYDAY=MO: en: Daily on Monday + nl: Dagelijks op maandag RRULE:FREQ=DAILY;INTERVAL=2;BYDAY=MO: en: Every other day on Monday + nl: Om de twee dag op maandag RRULE:FREQ=DAILY;INTERVAL=4;BYDAY=MO: en: Every 4 days on Monday + nl: Om de 4 dags op maandag # 0/1 digits in the comment before a text function mean whether each of # bySetPositions, byMonths, byMonthDays & byWeekDays (in that order) is @@ -21,58 +27,76 @@ RRULE:FREQ=DAILY;INTERVAL=4;BYDAY=MO: # 0000 RRULE:FREQ=DAILY: en: Daily + nl: Dagelijks # 0001 RRULE:FREQ=DAILY;BYDAY=MO,TH: en: Daily on Monday & Thursday + nl: Dagelijks op maandag & donderdag # 0010 RRULE:FREQ=DAILY;BYMONTHDAY=1,-1: en: Daily on the 1st & last day of the month + nl: Dagelijks op de 1ste & laatste dag van de maand # 0011 RRULE:FREQ=DAILY;BYMONTHDAY=1,-1;BYDAY=MO,TH: en: Daily on Monday & Thursday that are also the 1st or last day of the month + nl: Dagelijks op maandag & donderdag die ook op de 1ste of laatste dag van de maand # 0100 RRULE:FREQ=DAILY;BYMONTH=1,12: en: Daily in January & December + nl: Dagelijks in januari & december # 0101 RRULE:FREQ=DAILY;BYMONTH=1,12;BYDAY=MO,TH: en: Daily in January & December on Monday & Thursday + nl: Dagelijks in januari & december op maandag & donderdag # 0110 RRULE:FREQ=DAILY;BYMONTH=1,12;BYMONTHDAY=1,-1: en: Daily in January & December on the 1st & last day of the month + nl: Dagelijks in januari & december op de 1ste & laatste dag van de maand # 0111 RRULE:FREQ=DAILY;BYMONTH=1,12;BYMONTHDAY=1,-1;BYDAY=MO,TH: en: Daily in January & December on Monday & Thursday that are also the 1st or last day of the month + nl: Dagelijks in januari & december op maandag & donderdag die ook op de 1ste of laatste dag van de maand # 1000: invalid # 1001 RRULE:FREQ=DAILY;BYSETPOS=1,-2;BYDAY=MO,TH: en: Daily on the 1st & 2nd-to-last instance of Monday & Thursday + nl: Dagelijks op de 1ste & 2de tot laatste van maandag & donderdag # 1010 RRULE:FREQ=DAILY;BYSETPOS=1,-2;BYMONTHDAY=1,-1: en: Daily on the 1st & 2nd-to-last instance of the 1st & last day of the month + nl: Dagelijks op de 1ste & 2de tot laatste van de 1ste & laatste dag van de maand # 1011 RRULE:FREQ=DAILY;BYSETPOS=1,-2;BYMONTHDAY=1,-1;BYDAY=MO,TH: en: Daily on the 1st & 2nd-to-last instance of Monday & Thursday that are also the 1st or last day of the month + nl: Dagelijks op de 1ste & 2de tot laatste van maandag & donderdag die ook op de 1ste of laatste dag van de maand # 1100 RRULE:FREQ=DAILY;BYSETPOS=1,-2;BYMONTH=1,12: en: Daily in January & December on the 1st & 2nd-to-last instance + nl: Dagelijks in januari & december op de 1ste & 2de tot laatste # 1101 RRULE:FREQ=DAILY;BYSETPOS=1,-2;BYMONTH=1,12;BYDAY=MO,TH: en: Daily in January & December on the 1st & 2nd-to-last instance of Monday & Thursday + nl: Dagelijks in januari & december op de 1ste & 2de tot laatste van maandag & donderdag # 1110 RRULE:FREQ=DAILY;BYSETPOS=1,-2;BYMONTH=1,12;BYMONTHDAY=1,-1: en: Daily in January & December on the 1st & 2nd-to-last instance of the 1st & last day of the month + nl: Dagelijks in januari & december op de 1ste & 2de tot laatste van de 1ste & laatste dag van de maand # 1111 RRULE:FREQ=DAILY;BYSETPOS=1,-2;BYMONTH=1,12;BYMONTHDAY=1,-1;BYDAY=MO,TH: en: Daily in January & December on the 1st & 2nd-to-last instance of Monday & Thursday that are also the 1st or last day of the month + nl: Dagelijks in januari & december op de 1ste & 2de tot laatste van maandag & donderdag die ook op de 1ste of laatste dag van de maand # Weekly RRULE:FREQ=WEEKLY;BYDAY=MO: en: Weekly on Monday + nl: Wekelijks op maandag RRULE:FREQ=WEEKLY;INTERVAL=2;BYDAY=MO: en: Every other week on Monday + nl: Om de twee week op maandag RRULE:FREQ=WEEKLY;INTERVAL=4;BYDAY=MO: en: Every 4 weeks on Monday + nl: Om de 4 weeks op maandag # 0/1 digits in the comment before a text function mean whether each of # bySetPositions, byMonths & byWeekDays (in that order) is included. @@ -80,38 +104,49 @@ RRULE:FREQ=WEEKLY;INTERVAL=4;BYDAY=MO: # 000 RRULE:FREQ=WEEKLY: en: Weekly + nl: Wekelijks # 001 RRULE:FREQ=WEEKLY;BYDAY=MO,TH: en: Weekly on Monday & Thursday + nl: Wekelijks op maandag & donderdag # 010 RRULE:FREQ=WEEKLY;BYMONTH=1,12: en: Weekly in January & December + nl: Wekelijks in januari & december # 011 RRULE:FREQ=WEEKLY;BYMONTH=1,12;BYDAY=MO,TH: en: Weekly in January & December on Monday & Thursday + nl: Wekelijks in januari & december op maandag & donderdag # 100: invalid # 101 RRULE:FREQ=WEEKLY;BYSETPOS=1,-2;BYDAY=MO,TH: en: Weekly on the 1st & 2nd-to-last instance of Monday & Thursday + nl: Wekelijks op de 1ste & 2de tot laatste van maandag & donderdag # 110 RRULE:FREQ=WEEKLY;BYSETPOS=1,-2;BYMONTH=1,12: en: Weekly in January & December on the 1st & 2nd-to-last instance + nl: Wekelijks in januari & december op de 1ste & 2de tot laatste # 111 RRULE:FREQ=WEEKLY;BYSETPOS=1,-2;BYMONTH=1,12;BYDAY=MO,TH: en: Weekly in January & December on the 1st & 2nd-to-last instance of Monday & Thursday + nl: Wekelijks in januari & december op de 1ste & 2de tot laatste van maandag & donderdag # Monthly RRULE:FREQ=MONTHLY;BYDAY=MO: en: Monthly on every Monday + nl: Maandelijks op elke maandag RRULE:FREQ=MONTHLY;INTERVAL=2;BYDAY=MO: en: Every other month on every Monday + nl: Om de twee maand op elke maandag RRULE:FREQ=MONTHLY;INTERVAL=4;BYDAY=MO: en: Every 4 months on every Monday + nl: Om de 4 maands op elke maandag # https://github.com/JonasWanke/rrule/issues/13 RRULE:FREQ=MONTHLY;INTERVAL=1;BYSETPOS=-1;BYDAY=MO,TU,WE,TH,FR,SA,SU: en: Monthly on the last day + nl: Maandelijks op de laatste dag # 0/1 digits in the comment before a text function mean whether each of # bySetPositions, byMonths, byMonthDays & byWeekDays (in that order) is @@ -120,58 +155,76 @@ RRULE:FREQ=MONTHLY;INTERVAL=1;BYSETPOS=-1;BYDAY=MO,TU,WE,TH,FR,SA,SU: # 0000 RRULE:FREQ=MONTHLY: en: Monthly + nl: Maandelijks # 0001 RRULE:FREQ=MONTHLY;BYDAY=MO,-1TH: en: Monthly on every Monday & the last Thursday + nl: Maandelijks op elke maandag & de laatste donderdag # 0010 RRULE:FREQ=MONTHLY;BYMONTHDAY=1,-1: en: Monthly on the 1st & last day + nl: Maandelijks op de 1ste & laatste dag # 0011 RRULE:FREQ=MONTHLY;BYMONTHDAY=1,-1;BYDAY=MO,-1TH: en: Monthly on every Monday & the last Thursday that are also the 1st or last day of the month + nl: Maandelijks op elke maandag & de laatste donderdag die ook op de 1ste of laatste dag van de maand # 0100 RRULE:FREQ=MONTHLY;BYMONTH=1,12: en: Monthly in January & December + nl: Maandelijks in januari & december # 0101 RRULE:FREQ=MONTHLY;BYMONTH=1,12;BYDAY=MO,-1TH: en: Monthly in January & December on every Monday & the last Thursday + nl: Maandelijks in januari & december op elke maandag & de laatste donderdag # 0110 RRULE:FREQ=MONTHLY;BYMONTH=1,12;BYMONTHDAY=1,-1: en: Monthly in January & December on the 1st & last day + nl: Maandelijks in januari & december op de 1ste & laatste dag # 0111 RRULE:FREQ=MONTHLY;BYMONTH=1,12;BYMONTHDAY=1,-1;BYDAY=MO,-1TH: en: Monthly in January & December on every Monday & the last Thursday that are also the 1st or last day of the month + nl: Maandelijks in januari & december op elke maandag & de laatste donderdag die ook op de 1ste of laatste dag van de maand # 1000: invalid # 1001 RRULE:FREQ=MONTHLY;BYSETPOS=1,-2;BYDAY=MO,-1TH: en: Monthly on the 1st & 2nd-to-last instance of every Monday & the last Thursday + nl: Maandelijks op de 1ste & 2de tot laatste van elke maandag & de laatste donderdag # 1010 RRULE:FREQ=MONTHLY;BYSETPOS=1,-2;BYMONTHDAY=1,-1: en: Monthly on the 1st & 2nd-to-last instance of the 1st & last day + nl: Maandelijks op de 1ste & 2de tot laatste van de 1ste & laatste dag # 1011 RRULE:FREQ=MONTHLY;BYSETPOS=1,-2;BYMONTHDAY=1,-1;BYDAY=MO,-1TH: en: Monthly on the 1st & 2nd-to-last instance of every Monday & the last Thursday that are also the 1st or last day of the month + nl: Maandelijks op de 1ste & 2de tot laatste van elke maandag & de laatste donderdag die ook op de 1ste of laatste dag van de maand # 1100 RRULE:FREQ=MONTHLY;BYSETPOS=1,-2;BYMONTH=1,12: en: Monthly in January & December on the 1st & 2nd-to-last instance + nl: Maandelijks in januari & december op de 1ste & 2de tot laatste # 1101 RRULE:FREQ=MONTHLY;BYSETPOS=1,-2;BYMONTH=1,12;BYDAY=MO,-1TH: en: Monthly in January & December on the 1st & 2nd-to-last instance of every Monday & the last Thursday + nl: Maandelijks in januari & december op de 1ste & 2de tot laatste van elke maandag & de laatste donderdag # 1110 RRULE:FREQ=MONTHLY;BYSETPOS=1,-2;BYMONTH=1,12;BYMONTHDAY=1,-1: en: Monthly in January & December on the 1st & 2nd-to-last instance of the 1st & last day + nl: Maandelijks in januari & december op de 1ste & 2de tot laatste van de 1ste & laatste dag # 1111 RRULE:FREQ=MONTHLY;BYSETPOS=1,-2;BYMONTH=1,12;BYMONTHDAY=1,-1;BYDAY=MO,-1TH: en: Monthly in January & December on the 1st & 2nd-to-last instance of every Monday & the last Thursday that are also the 1st or last day of the month + nl: Maandelijks in januari & december op de 1ste & 2de tot laatste van elke maandag & de laatste donderdag die ook op de 1ste of laatste dag van de maand # Yearly RRULE:FREQ=YEARLY;BYDAY=MO: en: Annually on every Monday + nl: Jaarlijks op elke maandag RRULE:FREQ=YEARLY;INTERVAL=2;BYDAY=MO: en: Every other year on every Monday + nl: Om de twee jaar op elke maandag RRULE:FREQ=YEARLY;INTERVAL=4;BYDAY=MO: en: Every 4 years on every Monday + nl: Om de 4 jaars op elke maandag # 0/1 digits in the comment before a text function mean whether each of # bySetPositions, byMonths, byWeeks, byYearDays, byMonthDays & byWeekDays @@ -180,229 +233,309 @@ RRULE:FREQ=YEARLY;INTERVAL=4;BYDAY=MO: # 000000 RRULE:FREQ=YEARLY: en: Annually + nl: Jaarlijks # 000001 RRULE:FREQ=YEARLY;BYDAY=MO,-1TH: en: Annually on every Monday & the last Thursday of the year + nl: Jaarlijks op elke maandag & de laatste donderdag van de jaar # 000010 RRULE:FREQ=YEARLY;BYMONTHDAY=1,-1: en: Annually on the 1st & last day of the month + nl: Jaarlijks op de 1ste & laatste dag van de maand # 000011 RRULE:FREQ=YEARLY;BYMONTHDAY=1,-1;BYDAY=MO,-1TH: en: Annually on every Monday & the last Thursday of the year that are also the 1st or last day of the month + nl: Jaarlijks op elke maandag & de laatste donderdag van de jaar die ook op de 1ste of laatste dag van de maand # 000100 RRULE:FREQ=YEARLY;BYYEARDAY=1,-1: en: Annually on the 1st & last day of the year + nl: Jaarlijks op de 1ste & laatste dag van het jaar # 000101 RRULE:FREQ=YEARLY;BYYEARDAY=1,-1;BYDAY=MO,-1TH: en: Annually on every Monday & the last Thursday of the year that are also the 1st or last day of the year + nl: Jaarlijks op elke maandag & de laatste donderdag van de jaar die ook op de 1ste of laatste dag van het jaar # 000110 RRULE:FREQ=YEARLY;BYYEARDAY=1,-1;BYMONTHDAY=1,-1: en: Annually on the 1st & last day of the month that are also the 1st or last day of the year + nl: Jaarlijks op de 1ste & laatste dag van de maand die ook op de 1ste of laatste dag van het jaar # 000111 RRULE:FREQ=YEARLY;BYYEARDAY=1,-1;BYMONTHDAY=1,-1;BYDAY=MO,-1TH: en: Annually on every Monday & the last Thursday of the year that are also the 1st or last day of the month and that are also the 1st or last day of the year + nl: Jaarlijks op elke maandag & de laatste donderdag van de jaar die ook op de 1ste of laatste dag van de maand en die ook op de 1ste of laatste dag van het jaar # 001000 RRULE:FREQ=YEARLY;BYWEEKNO=1,-1: en: Annually in the 1st & last week of the year + nl: Jaarlijks in week 1ste & laatste # 001001 RRULE:FREQ=YEARLY;BYWEEKNO=1,-1;BYDAY=MO,WE: en: Annually on every Monday & Wednesday in the 1st & last week of the year + nl: Jaarlijks op elke maandag & woensdag in week 1ste & laatste # 001010 RRULE:FREQ=YEARLY;BYWEEKNO=1,-1;BYMONTHDAY=1,-1: en: Annually on the 1st & last day of the month that are also in the 1st or last week of the year + nl: Jaarlijks op de 1ste & laatste dag van de maand die ook in week 1ste of laatste # 001011 RRULE:FREQ=YEARLY;BYWEEKNO=1,-1;BYMONTHDAY=1,-1;BYDAY=MO,WE: en: Annually on every Monday & Wednesday that are also the 1st or last day of the month and that are also in the 1st or last week of the year + nl: Jaarlijks op elke maandag & woensdag die ook op de 1ste of laatste dag van de maand en die ook in week 1ste of laatste # 001100 RRULE:FREQ=YEARLY;BYWEEKNO=1,-1;BYYEARDAY=1,-1: en: Annually on the 1st & last day of the year that are also in the 1st or last week of the year + nl: Jaarlijks op de 1ste & laatste dag van het jaar die ook in week 1ste of laatste # 001101 RRULE:FREQ=YEARLY;BYWEEKNO=1,-1;BYYEARDAY=1,-1;BYDAY=MO,WE: en: Annually on every Monday & Wednesday that are also the 1st or last day of the year and that are also in the 1st or last week of the year + nl: Jaarlijks op elke maandag & woensdag die ook op de 1ste of laatste dag van het jaar en die ook in week 1ste of laatste # 001110 RRULE:FREQ=YEARLY;BYWEEKNO=1,-1;BYYEARDAY=1,-1;BYMONTHDAY=1,-1: en: Annually on the 1st & last day of the month that are also the 1st or last day of the year and that are also in the 1st or last week of the year + nl: Jaarlijks op de 1ste & laatste dag van de maand die ook op de 1ste of laatste dag van het jaar en die ook in week 1ste of laatste # 001111 RRULE:FREQ=YEARLY;BYWEEKNO=1,-1;BYYEARDAY=1,-1;BYMONTHDAY=1,-1;BYDAY=MO,WE: en: "Annually on every Monday & Wednesday that are also the 1st or last day of the month, that are also the 1st or last day of the year, and that are also in the 1st or last week of the year" + nl: "Jaarlijks op elke maandag & woensdag die ook op de 1ste of laatste dag van de maand, die ook op de 1ste of laatste dag van het jaar, en die ook in week 1ste of laatste" # 010000 RRULE:FREQ=YEARLY;BYMONTH=1,12: en: Annually in January & December + nl: Jaarlijks in januari & december # 010001 RRULE:FREQ=YEARLY;BYMONTH=1,12;BYDAY=MO,-1TH: en: Annually on every Monday & the last Thursday of the month in January & December + nl: Jaarlijks op elke maandag & de laatste donderdag van de maand in januari & december # 010010 RRULE:FREQ=YEARLY;BYMONTH=1,12;BYMONTHDAY=1,-1: en: Annually on the 1st & last day of the month in January & December + nl: Jaarlijks op de 1ste & laatste dag van de maand in januari & december # 010011 # TODO(JonasWanke): the 1st or last day in January or December RRULE:FREQ=YEARLY;BYMONTH=1,12;BYMONTHDAY=1,-1;BYDAY=MO,-1TH: en: Annually on every Monday & the last Thursday of the year that are also the 1st or last day of the month and that are also in January or December + nl: Jaarlijks op elke maandag & de laatste donderdag van de jaar die ook op de 1ste of laatste dag van de maand en die ook in januari of december # 010100 RRULE:FREQ=YEARLY;BYMONTH=1,12;BYYEARDAY=1,-1: en: Annually on the 1st & last day of the year that are also in January or December + nl: Jaarlijks op de 1ste & laatste dag van het jaar die ook in januari of december # 010101 RRULE:FREQ=YEARLY;BYMONTH=1,12;BYYEARDAY=1,-1;BYDAY=MO,-1TH: en: Annually on every Monday & the last Thursday of the year that are also the 1st or last day of the year and that are also in January or December + nl: Jaarlijks op elke maandag & de laatste donderdag van de jaar die ook op de 1ste of laatste dag van het jaar en die ook in januari of december # 010110 RRULE:FREQ=YEARLY;BYMONTH=1,12;BYYEARDAY=1,-1;BYMONTHDAY=1,-1: en: Annually on the 1st & last day of the month that are also the 1st or last day of the year and that are also in January or December + nl: Jaarlijks op de 1ste & laatste dag van de maand die ook op de 1ste of laatste dag van het jaar en die ook in januari of december # 010111 RRULE:FREQ=YEARLY;BYMONTH=1,12;BYYEARDAY=1,-1;BYMONTHDAY=1,-1;BYDAY=MO,-1TH: en: "Annually on every Monday & the last Thursday of the year that are also the 1st or last day of the month, that are also the 1st or last day of the year, and that are also in January or December" + nl: "Jaarlijks op elke maandag & de laatste donderdag van de jaar die ook op de 1ste of laatste dag van de maand, die ook op de 1ste of laatste dag van het jaar, en die ook in januari of december" # 011000 RRULE:FREQ=YEARLY;BYMONTH=1,12;BYWEEKNO=1,-1: en: Annually in the 1st & last week of the year that are also in January or December + nl: Jaarlijks in week 1ste & laatste die ook in januari of december # 011001 RRULE:FREQ=YEARLY;BYMONTH=1,12;BYWEEKNO=1,-1;BYDAY=MO,WE: en: Annually on every Monday & Wednesday in the 1st & last week of the year that are also in January or December + nl: Jaarlijks op elke maandag & woensdag in week 1ste & laatste die ook in januari of december # 011010 RRULE:FREQ=YEARLY;BYMONTH=1,12;BYWEEKNO=1,-1;BYMONTHDAY=1,-1: en: Annually on the 1st & last day of the month that are also in the 1st or last week of the year and that are also in January or December + nl: Jaarlijks op de 1ste & laatste dag van de maand die ook in week 1ste of laatste en die ook in januari of december # 011011 RRULE:FREQ=YEARLY;BYMONTH=1,12;BYWEEKNO=1,-1;BYMONTHDAY=1,-1;BYDAY=MO,WE: en: "Annually on every Monday & Wednesday that are also the 1st or last day of the month, that are also in the 1st or last week of the year, and that are also in January or December" + nl: "Jaarlijks op elke maandag & woensdag die ook op de 1ste of laatste dag van de maand, die ook in week 1ste of laatste, en die ook in januari of december" # 011100 RRULE:FREQ=YEARLY;BYMONTH=1,12;BYWEEKNO=1,-1;BYYEARDAY=1,-1: en: Annually on the 1st & last day of the year that are also in the 1st or last week of the year and that are also in January or December + nl: Jaarlijks op de 1ste & laatste dag van het jaar die ook in week 1ste of laatste en die ook in januari of december # 011101 RRULE:FREQ=YEARLY;BYMONTH=1,12;BYWEEKNO=1,-1;BYYEARDAY=1,-1;BYDAY=MO,WE: en: "Annually on every Monday & Wednesday that are also the 1st or last day of the year, that are also in the 1st or last week of the year, and that are also in January or December" + nl: "Jaarlijks op elke maandag & woensdag die ook op de 1ste of laatste dag van het jaar, die ook in week 1ste of laatste, en die ook in januari of december" # 011110 RRULE:FREQ=YEARLY;BYMONTH=1,12;BYWEEKNO=1,-1;BYYEARDAY=1,-1;BYMONTHDAY=1,-1: en: "Annually on the 1st & last day of the month that are also the 1st or last day of the year, that are also in the 1st or last week of the year, and that are also in January or December" + nl: "Jaarlijks op de 1ste & laatste dag van de maand die ook op de 1ste of laatste dag van het jaar, die ook in week 1ste of laatste, en die ook in januari of december" # 011111 RRULE:FREQ=YEARLY;BYMONTH=1,12;BYWEEKNO=1,-1;BYYEARDAY=1,-1;BYMONTHDAY=1,-1;BYDAY=MO,WE: en: "Annually on every Monday & Wednesday that are also the 1st or last day of the month, that are also the 1st or last day of the year, that are also in the 1st or last week of the year, and that are also in January or December" + nl: "Jaarlijks op elke maandag & woensdag die ook op de 1ste of laatste dag van de maand, die ook op de 1ste of laatste dag van het jaar, die ook in week 1ste of laatste, en die ook in januari of december" # 100000: invalid # 100001 RRULE:FREQ=YEARLY;BYSETPOS=1,-2;BYDAY=MO,-1TH: en: Annually on the 1st & 2nd-to-last instance of every Monday & the last Thursday of the year + nl: Jaarlijks op de 1ste & 2de tot laatste van elke maandag & de laatste donderdag van de jaar # 100010 RRULE:FREQ=YEARLY;BYSETPOS=1,-2;BYMONTHDAY=1,-1: en: Annually on the 1st & 2nd-to-last instance of the 1st & last day of the month + nl: Jaarlijks op de 1ste & 2de tot laatste van de 1ste & laatste dag van de maand # 100011 RRULE:FREQ=YEARLY;BYSETPOS=1,-2;BYMONTHDAY=1,-1;BYDAY=MO,-1TH: en: Annually on the 1st & 2nd-to-last instance of every Monday & the last Thursday of the year that are also the 1st or last day of the month + nl: Jaarlijks op de 1ste & 2de tot laatste van elke maandag & de laatste donderdag van de jaar die ook op de 1ste of laatste dag van de maand # 100100 RRULE:FREQ=YEARLY;BYSETPOS=1,-2;BYYEARDAY=1,-1: en: Annually on the 1st & 2nd-to-last instance of the 1st & last day of the year + nl: Jaarlijks op de 1ste & 2de tot laatste van de 1ste & laatste dag van het jaar # 100101 RRULE:FREQ=YEARLY;BYSETPOS=1,-2;BYYEARDAY=1,-1;BYDAY=MO,-1TH: en: Annually on the 1st & 2nd-to-last instance of every Monday & the last Thursday of the year that are also the 1st or last day of the year + nl: Jaarlijks op de 1ste & 2de tot laatste van elke maandag & de laatste donderdag van de jaar die ook op de 1ste of laatste dag van het jaar # 100110 RRULE:FREQ=YEARLY;BYSETPOS=1,-2;BYYEARDAY=1,-1;BYMONTHDAY=1,-1: en: Annually on the 1st & 2nd-to-last instance of the 1st & last day of the month that are also the 1st or last day of the year + nl: Jaarlijks op de 1ste & 2de tot laatste van de 1ste & laatste dag van de maand die ook op de 1ste of laatste dag van het jaar # 100111 RRULE:FREQ=YEARLY;BYSETPOS=1,-2;BYYEARDAY=1,-1;BYMONTHDAY=1,-1;BYDAY=MO,-1TH: en: Annually on the 1st & 2nd-to-last instance of every Monday & the last Thursday of the year that are also the 1st or last day of the month and that are also the 1st or last day of the year + nl: Jaarlijks op de 1ste & 2de tot laatste van elke maandag & de laatste donderdag van de jaar die ook op de 1ste of laatste dag van de maand en die ook op de 1ste of laatste dag van het jaar # 101000 RRULE:FREQ=YEARLY;BYSETPOS=1,-2;BYWEEKNO=1,-1: en: Annually on the 1st & 2nd-to-last instance of the 1st & last week of the year + nl: Jaarlijks op de 1ste & 2de tot laatste van week 1ste & laatste # 101001 RRULE:FREQ=YEARLY;BYSETPOS=1,-2;BYWEEKNO=1,-1;BYDAY=MO,WE: en: Annually on the 1st & 2nd-to-last instance of every Monday & Wednesday in the 1st & last week of the year + nl: Jaarlijks op de 1ste & 2de tot laatste van elke maandag & woensdag in week 1ste & laatste # 101010 RRULE:FREQ=YEARLY;BYSETPOS=1,-2;BYWEEKNO=1,-1;BYMONTHDAY=1,-1: en: Annually on the 1st & 2nd-to-last instance of the 1st & last day of the month that are also in the 1st or last week of the year + nl: Jaarlijks op de 1ste & 2de tot laatste van de 1ste & laatste dag van de maand die ook in week 1ste of laatste # 101011 RRULE:FREQ=YEARLY;BYSETPOS=1,-2;BYWEEKNO=1,-1;BYMONTHDAY=1,-1;BYDAY=MO,WE: en: Annually on the 1st & 2nd-to-last instance of every Monday & Wednesday that are also the 1st or last day of the month and that are also in the 1st or last week of the year + nl: Jaarlijks op de 1ste & 2de tot laatste van elke maandag & woensdag die ook op de 1ste of laatste dag van de maand en die ook in week 1ste of laatste # 101100 RRULE:FREQ=YEARLY;BYSETPOS=1,-2;BYWEEKNO=1,-1;BYYEARDAY=1,-1: en: Annually on the 1st & 2nd-to-last instance of the 1st & last day of the year that are also in the 1st or last week of the year + nl: Jaarlijks op de 1ste & 2de tot laatste van de 1ste & laatste dag van het jaar die ook in week 1ste of laatste # 101101 RRULE:FREQ=YEARLY;BYSETPOS=1,-2;BYWEEKNO=1,-1;BYYEARDAY=1,-1;BYDAY=MO,WE: en: Annually on the 1st & 2nd-to-last instance of every Monday & Wednesday that are also the 1st or last day of the year and that are also in the 1st or last week of the year + nl: Jaarlijks op de 1ste & 2de tot laatste van elke maandag & woensdag die ook op de 1ste of laatste dag van het jaar en die ook in week 1ste of laatste # 101110 RRULE:FREQ=YEARLY;BYSETPOS=1,-2;BYWEEKNO=1,-1;BYYEARDAY=1,-1;BYMONTHDAY=1,-1: en: Annually on the 1st & 2nd-to-last instance of the 1st & last day of the month that are also the 1st or last day of the year and that are also in the 1st or last week of the year + nl: Jaarlijks op de 1ste & 2de tot laatste van de 1ste & laatste dag van de maand die ook op de 1ste of laatste dag van het jaar en die ook in week 1ste of laatste # 101111 RRULE:FREQ=YEARLY;BYSETPOS=1,-2;BYWEEKNO=1,-1;BYYEARDAY=1,-1;BYMONTHDAY=1,-1;BYDAY=MO,WE: en: "Annually on the 1st & 2nd-to-last instance of every Monday & Wednesday that are also the 1st or last day of the month, that are also the 1st or last day of the year, and that are also in the 1st or last week of the year" + nl: "Jaarlijks op de 1ste & 2de tot laatste van elke maandag & woensdag die ook op de 1ste of laatste dag van de maand, die ook op de 1ste of laatste dag van het jaar, en die ook in week 1ste of laatste" # 110000 RRULE:FREQ=YEARLY;BYSETPOS=1,-2;BYMONTH=1,12: en: Annually on the 1st & 2nd-to-last instance of January & December + nl: Jaarlijks op de 1ste & 2de tot laatste van januari & december # 110001 RRULE:FREQ=YEARLY;BYSETPOS=1,-2;BYMONTH=1,12;BYDAY=MO,-1TH: en: Annually on the 1st & 2nd-to-last instance of every Monday & the last Thursday of the month in January & December + nl: Jaarlijks op de 1ste & 2de tot laatste van elke maandag & de laatste donderdag van de maand in januari & december # 110010 RRULE:FREQ=YEARLY;BYSETPOS=1,-2;BYMONTH=1,12;BYMONTHDAY=1,-1: en: Annually on the 1st & 2nd-to-last instance of the 1st & last day of the month in January & December + nl: Jaarlijks op de 1ste & 2de tot laatste van de 1ste & laatste dag van de maand in januari & december # 110011 RRULE:FREQ=YEARLY;BYSETPOS=1,-2;BYMONTH=1,12;BYMONTHDAY=1,-1;BYDAY=MO,-1TH: en: Annually on the 1st & 2nd-to-last instance of every Monday & the last Thursday of the year that are also the 1st or last day of the month and that are also in January or December + nl: Jaarlijks op de 1ste & 2de tot laatste van elke maandag & de laatste donderdag van de jaar die ook op de 1ste of laatste dag van de maand en die ook in januari of december # 110100 RRULE:FREQ=YEARLY;BYSETPOS=1,-2;BYMONTH=1,12;BYYEARDAY=1,-1: en: Annually on the 1st & 2nd-to-last instance of the 1st & last day of the year that are also in January or December + nl: Jaarlijks op de 1ste & 2de tot laatste van de 1ste & laatste dag van het jaar die ook in januari of december # 110101 RRULE:FREQ=YEARLY;BYSETPOS=1,-2;BYMONTH=1,12;BYYEARDAY=1,-1;BYDAY=MO,-1TH: en: Annually on the 1st & 2nd-to-last instance of every Monday & the last Thursday of the year that are also the 1st or last day of the year and that are also in January or December + nl: Jaarlijks op de 1ste & 2de tot laatste van elke maandag & de laatste donderdag van de jaar die ook op de 1ste of laatste dag van het jaar en die ook in januari of december # 110110 RRULE:FREQ=YEARLY;BYSETPOS=1,-2;BYMONTH=1,12;BYYEARDAY=1,-1;BYMONTHDAY=1,-1: en: Annually on the 1st & 2nd-to-last instance of the 1st & last day of the month that are also the 1st or last day of the year and that are also in January or December + nl: Jaarlijks op de 1ste & 2de tot laatste van de 1ste & laatste dag van de maand die ook op de 1ste of laatste dag van het jaar en die ook in januari of december # 110111 RRULE:FREQ=YEARLY;BYSETPOS=1,-2;BYMONTH=1,12;BYYEARDAY=1,-1;BYMONTHDAY=1,-1;BYDAY=MO,-1TH: en: "Annually on the 1st & 2nd-to-last instance of every Monday & the last Thursday of the year that are also the 1st or last day of the month, that are also the 1st or last day of the year, and that are also in January or December" + nl: "Jaarlijks op de 1ste & 2de tot laatste van elke maandag & de laatste donderdag van de jaar die ook op de 1ste of laatste dag van de maand, die ook op de 1ste of laatste dag van het jaar, en die ook in januari of december" # 111000 RRULE:FREQ=YEARLY;BYSETPOS=1,-2;BYMONTH=1,12;BYWEEKNO=1,-1: en: Annually on the 1st & 2nd-to-last instance of the 1st & last week of the year that are also in January or December + nl: Jaarlijks op de 1ste & 2de tot laatste van week 1ste & laatste die ook in januari of december # 111001 RRULE:FREQ=YEARLY;BYSETPOS=1,-2;BYMONTH=1,12;BYWEEKNO=1,-1;BYDAY=MO,WE: en: Annually on the 1st & 2nd-to-last instance of every Monday & Wednesday in the 1st & last week of the year that are also in January or December + nl: Jaarlijks op de 1ste & 2de tot laatste van elke maandag & woensdag in week 1ste & laatste die ook in januari of december # 111010 RRULE:FREQ=YEARLY;BYSETPOS=1,-2;BYMONTH=1,12;BYWEEKNO=1,-1;BYMONTHDAY=1,-1: en: Annually on the 1st & 2nd-to-last instance of the 1st & last day of the month that are also in the 1st or last week of the year and that are also in January or December + nl: Jaarlijks op de 1ste & 2de tot laatste van de 1ste & laatste dag van de maand die ook in week 1ste of laatste en die ook in januari of december # 111011 RRULE:FREQ=YEARLY;BYSETPOS=1,-2;BYMONTH=1,12;BYWEEKNO=1,-1;BYMONTHDAY=1,-1;BYDAY=MO,WE: en: "Annually on the 1st & 2nd-to-last instance of every Monday & Wednesday that are also the 1st or last day of the month, that are also in the 1st or last week of the year, and that are also in January or December" + nl: "Jaarlijks op de 1ste & 2de tot laatste van elke maandag & woensdag die ook op de 1ste of laatste dag van de maand, die ook in week 1ste of laatste, en die ook in januari of december" # 111100 RRULE:FREQ=YEARLY;BYSETPOS=1,-2;BYMONTH=1,12;BYWEEKNO=1,-1;BYYEARDAY=1,-1: en: Annually on the 1st & 2nd-to-last instance of the 1st & last day of the year that are also in the 1st or last week of the year and that are also in January or December + nl: Jaarlijks op de 1ste & 2de tot laatste van de 1ste & laatste dag van het jaar die ook in week 1ste of laatste en die ook in januari of december # 111101 RRULE:FREQ=YEARLY;BYSETPOS=1,-2;BYMONTH=1,12;BYWEEKNO=1,-1;BYYEARDAY=1,-1;BYDAY=MO,WE: en: "Annually on the 1st & 2nd-to-last instance of every Monday & Wednesday that are also the 1st or last day of the year, that are also in the 1st or last week of the year, and that are also in January or December" + nl: "Jaarlijks op de 1ste & 2de tot laatste van elke maandag & woensdag die ook op de 1ste of laatste dag van het jaar, die ook in week 1ste of laatste, en die ook in januari of december" # 111110 RRULE:FREQ=YEARLY;BYSETPOS=1,-2;BYMONTH=1,12;BYWEEKNO=1,-1;BYYEARDAY=1,-1;BYMONTHDAY=1,-1: en: "Annually on the 1st & 2nd-to-last instance of the 1st & last day of the month that are also the 1st or last day of the year, that are also in the 1st or last week of the year, and that are also in January or December" + nl: "Jaarlijks op de 1ste & 2de tot laatste van de 1ste & laatste dag van de maand die ook op de 1ste of laatste dag van het jaar, die ook in week 1ste of laatste, en die ook in januari of december" # 111111 RRULE:FREQ=YEARLY;BYSETPOS=1,-2;BYMONTH=1,12;BYWEEKNO=1,-1;BYYEARDAY=1,-1;BYMONTHDAY=1,-1;BYDAY=MO,WE: en: "Annually on the 1st & 2nd-to-last instance of every Monday & Wednesday that are also the 1st or last day of the month, that are also the 1st or last day of the year, that are also in the 1st or last week of the year, and that are also in January or December" + nl: "Jaarlijks op de 1ste & 2de tot laatste van elke maandag & woensdag die ook op de 1ste of laatste dag van de maand, die ook op de 1ste of laatste dag van het jaar, die ook in week 1ste of laatste, en die ook in januari of december" # All remaining examples taken from https://github.com/jakubroztocil/rrule/blob/3dc698300e5861311249e85e0e237708702b055d/test/nlp.test.ts, # though with modified texts. RRULE:FREQ=HOURLY: en: Hourly + nl: Uurlijks RRULE:INTERVAL=4;FREQ=HOURLY: en: Every 4 hours + nl: Om de 4 uurs RRULE:FREQ=WEEKLY;COUNT=20: en: "Weekly, 20 times" + nl: "Wekelijks, 20 keer" RRULE:FREQ=WEEKLY;UNTIL=20070101T080000Z: en: "Weekly, until Monday, January 1, 2007 8:00:00 AM" + nl: "Wekelijks, tot maandag 1 januari 2007 om 8:i uur" RRULE:FREQ=WEEKLY;BYDAY=TU: en: Weekly on Tuesday + nl: Wekelijks op dinsdag RRULE:FREQ=WEEKLY;BYDAY=MO,WE: en: Weekly on Monday & Wednesday + nl: Wekelijks op maandag & woensdag RRULE:FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR: en: Weekly on weekdays + nl: Wekelijks op weekdagen RRULE:INTERVAL=2;FREQ=WEEKLY: en: Every other week + nl: Om de twee week RRULE:FREQ=MONTHLY;BYMONTHDAY=4: en: Monthly on the 4th + nl: Maandelijks op de 4de RRULE:FREQ=MONTHLY;BYMONTHDAY=-4: en: Monthly on the 4th-to-last day + nl: Maandelijks op de 4de tot laatste dag RRULE:FREQ=MONTHLY;BYDAY=+3TU: en: Monthly on the 3rd Tuesday + nl: Maandelijks op de 3de dinsdag RRULE:FREQ=MONTHLY;BYDAY=-3TU: en: Monthly on the 3rd-to-last Tuesday + nl: Maandelijks op de 3de tot laatste dinsdag RRULE:FREQ=MONTHLY;BYDAY=-1MO: en: Monthly on the last Monday + nl: Maandelijks op de laatste maandag RRULE:FREQ=MONTHLY;BYDAY=-2FR: en: Monthly on the 2nd-to-last Friday + nl: Maandelijks op de 2de tot laatste vrijdag RRULE:INTERVAL=6;FREQ=MONTHLY: en: Every 6 months + nl: Om de 6 maands RRULE:FREQ=YEARLY;BYDAY=+1FR: en: Annually on the 1st Friday of the year + nl: Jaarlijks op de 1ste vrijdag van de jaar RRULE:FREQ=YEARLY;BYDAY=+13FR: en: Annually on the 13th Friday of the year + nl: Jaarlijks op de 13de vrijdag van de jaar diff --git a/test/codecs/text/text_test.dart b/test/codecs/text/text_test.dart index ab5067a..d698510 100644 --- a/test/codecs/text/text_test.dart +++ b/test/codecs/text/text_test.dart @@ -19,7 +19,7 @@ Future main() async { .mapValues((it) => it.value.cast()); for (final MapEntry(key: locale, value: l10n) in l10n.entries) { - group('locale: $locale', () { + group(locale, () { for (final MapEntry(key: rruleString, value: text) in data.entries) { test(rruleString, () { final rrule = RecurrenceRule.fromString(rruleString); @@ -43,5 +43,6 @@ Future main() async { Future> createL10n() async { return { 'en': await RruleL10nEn.create(), + 'nl': await RruleL10nNl.create(), }; } From e87a94fddafce11c88abbde32bb2ea0f7744e53c Mon Sep 17 00:00:00 2001 From: Simon Verzelen Date: Thu, 2 Jan 2025 11:54:38 +0100 Subject: [PATCH 4/6] Correct plural Frequency and simplified ordinal for dutch localization --- lib/src/codecs/text/l10n/nl.dart | 33 +++++++++++--------------------- 1 file changed, 11 insertions(+), 22 deletions(-) diff --git a/lib/src/codecs/text/l10n/nl.dart b/lib/src/codecs/text/l10n/nl.dart index 729e107..0f09f07 100644 --- a/lib/src/codecs/text/l10n/nl.dart +++ b/lib/src/codecs/text/l10n/nl.dart @@ -9,7 +9,6 @@ import 'l10n.dart'; class RruleL10nNl extends RruleL10n { const RruleL10nNl._(); - static Future create() async { await initializeDateFormatting('nl'); return const RruleL10nNl._(); @@ -20,29 +19,29 @@ class RruleL10nNl extends RruleL10n { @override String frequencyInterval(Frequency frequency, int interval) { - String plurals({required String one, required String singular}) { + String plurals({required String one, required String singular,required String plural}) { return switch (interval) { 1 => one, 2 => 'Om de twee $singular', - _ => 'Om de $interval ${singular}s', + _ => 'Om de $interval $plural', }; } return { - Frequency.secondly: plurals(one: 'Secondelijks', singular: 'seconde'), - Frequency.minutely: plurals(one: 'Minuutlijks', singular: 'minuut'), - Frequency.hourly: plurals(one: 'Uurlijks', singular: 'uur'), - Frequency.daily: plurals(one: 'Dagelijks', singular: 'dag'), - Frequency.weekly: plurals(one: 'Wekelijks', singular: 'week'), - Frequency.monthly: plurals(one: 'Maandelijks', singular: 'maand'), - Frequency.yearly: plurals(one: 'Jaarlijks', singular: 'jaar'), + Frequency.secondly: plurals(one: 'Secondelijks', singular: 'seconde',plural: 'seconden'), + Frequency.minutely: plurals(one: 'Minuutlijks', singular: 'minuut', plural: 'minuten'), + Frequency.hourly: plurals(one: 'Uurlijks', singular: 'uur', plural: 'uren'), + Frequency.daily: plurals(one: 'Dagelijks', singular: 'dag', plural: 'dagen'), + Frequency.weekly: plurals(one: 'Wekelijks', singular: 'week', plural: 'weken'), + Frequency.monthly: plurals(one: 'Maandelijks', singular: 'maand', plural: 'maanden'), + Frequency.yearly: plurals(one: 'Jaarlijks', singular: 'jaar', plural: 'jaren'), }[frequency]!; } @override String until(DateTime until, Frequency frequency) { final untilString = formatWithIntl( - () => DateFormat('EEEE d MMMM yyyy \'om\' H:i \'uur\'', 'nl').format(until), + () => DateFormat('EEEE d MMMM yyyy om H:i uur', 'nl').format(until), ); return ', tot $untilString'; } @@ -149,17 +148,7 @@ class RruleL10nNl extends RruleL10n { assert(number != 0); if (number == -1) return 'laatste'; - final n = number.abs(); - String string; - if (n % 10 == 1 && n % 100 != 11) { - string = '${n}ste'; - } else if (n % 10 == 2 && n % 100 != 12) { - string = '${n}de'; - } else if (n % 10 == 3 && n % 100 != 13) { - string = '${n}de'; - } else { - string = '${n}de'; - } + final string = '${number.abs()}e'; return number < 0 ? '$string tot laatste' : string; } From 8aa033851a46d0b6667b062cc59b5be84bf4f465 Mon Sep 17 00:00:00 2001 From: Simon Verzelen Date: Thu, 2 Jan 2025 12:11:41 +0100 Subject: [PATCH 5/6] Correct Dutch translation after test --- lib/src/codecs/text/l10n/nl.dart | 16 ++- test/codecs/text/data.yaml | 200 +++++++++++++++---------------- 2 files changed, 107 insertions(+), 109 deletions(-) diff --git a/lib/src/codecs/text/l10n/nl.dart b/lib/src/codecs/text/l10n/nl.dart index 0f09f07..a7fdeca 100644 --- a/lib/src/codecs/text/l10n/nl.dart +++ b/lib/src/codecs/text/l10n/nl.dart @@ -19,7 +19,7 @@ class RruleL10nNl extends RruleL10n { @override String frequencyInterval(Frequency frequency, int interval) { - String plurals({required String one, required String singular,required String plural}) { + String plurals({required String one, required String singular, required String plural}) { return switch (interval) { 1 => one, 2 => 'Om de twee $singular', @@ -28,13 +28,13 @@ class RruleL10nNl extends RruleL10n { } return { - Frequency.secondly: plurals(one: 'Secondelijks', singular: 'seconde',plural: 'seconden'), + Frequency.secondly: plurals(one: 'Secondelijks', singular: 'seconde', plural: 'seconden'), Frequency.minutely: plurals(one: 'Minuutlijks', singular: 'minuut', plural: 'minuten'), Frequency.hourly: plurals(one: 'Uurlijks', singular: 'uur', plural: 'uren'), Frequency.daily: plurals(one: 'Dagelijks', singular: 'dag', plural: 'dagen'), Frequency.weekly: plurals(one: 'Wekelijks', singular: 'week', plural: 'weken'), Frequency.monthly: plurals(one: 'Maandelijks', singular: 'maand', plural: 'maanden'), - Frequency.yearly: plurals(one: 'Jaarlijks', singular: 'jaar', plural: 'jaren'), + Frequency.yearly: plurals(one: 'Jaarlijks', singular: 'jaar', plural: 'jaar'), }[frequency]!; } @@ -59,12 +59,10 @@ class RruleL10nNl extends RruleL10n { String onInstances(String instances) => 'op de $instances'; @override - String inMonths(String months, {InOnVariant variant = InOnVariant.simple}) => - '${_inVariant(variant)} $months'; + String inMonths(String months, {InOnVariant variant = InOnVariant.simple}) => '${_inVariant(variant)} $months'; @override - String inWeeks(String weeks, {InOnVariant variant = InOnVariant.simple}) => - '${_inVariant(variant)} week $weeks'; + String inWeeks(String weeks, {InOnVariant variant = InOnVariant.simple}) => '${_inVariant(variant)} week $weeks'; String _inVariant(InOnVariant variant) { return switch (variant) { @@ -84,8 +82,8 @@ class RruleL10nNl extends RruleL10n { assert(variant != InOnVariant.also); final frequencyString = - frequency == DaysOfWeekFrequency.monthly ? 'maand' : 'jaar'; - final suffix = indicateFrequency ? ' van de $frequencyString' : ''; + frequency == DaysOfWeekFrequency.monthly ? 'de maand' : 'het jaar'; + final suffix = indicateFrequency ? ' van $frequencyString' : ''; return '${_onVariant(variant)} $days$suffix'; } diff --git a/test/codecs/text/data.yaml b/test/codecs/text/data.yaml index d9f99b4..8d9ec5d 100644 --- a/test/codecs/text/data.yaml +++ b/test/codecs/text/data.yaml @@ -6,7 +6,7 @@ RRULE:FREQ=WEEKLY;INTERVAL=2;BYMONTH=1,2,3;BYDAY=MO,TU,WE,TH,FR,SU: nl: Om de twee week in januari – maart op weekdagen & zondag RRULE:FREQ=MONTHLY;BYDAY=MO,TU,WE,1TH,1FR,2TH,2FR,2SA,-2TH,-2FR,-2SU,-1TH,-1FR,-1SU;BYMONTHDAY=1,2,3,4,5,26,-3,-2,-1: en: "Monthly on every Monday – Wednesday, the 1st Thursday & Friday, the 2nd Thursday – Saturday, the 2nd-to-last Thursday, Friday & Sunday, and the last Thursday, Friday & Sunday that are also the 1st – 5th, 26th, or 3rd-to-last – last day of the month" - nl: "Maandelijks op elke maandag – woensdag, de 1ste donderdag & vrijdag, de 2de donderdag – zaterdag, de 2de tot laatste donderdag, vrijdag & zondag, en de laatste donderdag, vrijdag & zondag die ook op de 1ste – 5de, 26de, of 3de tot laatste – laatste dag van de maand" + nl: "Maandelijks op elke maandag – woensdag, de 1e donderdag & vrijdag, de 2e donderdag – zaterdag, de 2e tot laatste donderdag, vrijdag & zondag, en de laatste donderdag, vrijdag & zondag die ook op de 1e – 5e, 26e, of 3e tot laatste – laatste dag van de maand" # Daily @@ -18,7 +18,7 @@ RRULE:FREQ=DAILY;INTERVAL=2;BYDAY=MO: nl: Om de twee dag op maandag RRULE:FREQ=DAILY;INTERVAL=4;BYDAY=MO: en: Every 4 days on Monday - nl: Om de 4 dags op maandag + nl: Om de 4 dagen op maandag # 0/1 digits in the comment before a text function mean whether each of # bySetPositions, byMonths, byMonthDays & byWeekDays (in that order) is @@ -35,11 +35,11 @@ RRULE:FREQ=DAILY;BYDAY=MO,TH: # 0010 RRULE:FREQ=DAILY;BYMONTHDAY=1,-1: en: Daily on the 1st & last day of the month - nl: Dagelijks op de 1ste & laatste dag van de maand + nl: Dagelijks op de 1e & laatste dag van de maand # 0011 RRULE:FREQ=DAILY;BYMONTHDAY=1,-1;BYDAY=MO,TH: en: Daily on Monday & Thursday that are also the 1st or last day of the month - nl: Dagelijks op maandag & donderdag die ook op de 1ste of laatste dag van de maand + nl: Dagelijks op maandag & donderdag die ook op de 1e of laatste dag van de maand # 0100 RRULE:FREQ=DAILY;BYMONTH=1,12: en: Daily in January & December @@ -51,40 +51,40 @@ RRULE:FREQ=DAILY;BYMONTH=1,12;BYDAY=MO,TH: # 0110 RRULE:FREQ=DAILY;BYMONTH=1,12;BYMONTHDAY=1,-1: en: Daily in January & December on the 1st & last day of the month - nl: Dagelijks in januari & december op de 1ste & laatste dag van de maand + nl: Dagelijks in januari & december op de 1e & laatste dag van de maand # 0111 RRULE:FREQ=DAILY;BYMONTH=1,12;BYMONTHDAY=1,-1;BYDAY=MO,TH: en: Daily in January & December on Monday & Thursday that are also the 1st or last day of the month - nl: Dagelijks in januari & december op maandag & donderdag die ook op de 1ste of laatste dag van de maand + nl: Dagelijks in januari & december op maandag & donderdag die ook op de 1e of laatste dag van de maand # 1000: invalid # 1001 RRULE:FREQ=DAILY;BYSETPOS=1,-2;BYDAY=MO,TH: en: Daily on the 1st & 2nd-to-last instance of Monday & Thursday - nl: Dagelijks op de 1ste & 2de tot laatste van maandag & donderdag + nl: Dagelijks op de 1e & 2e tot laatste van maandag & donderdag # 1010 RRULE:FREQ=DAILY;BYSETPOS=1,-2;BYMONTHDAY=1,-1: en: Daily on the 1st & 2nd-to-last instance of the 1st & last day of the month - nl: Dagelijks op de 1ste & 2de tot laatste van de 1ste & laatste dag van de maand + nl: Dagelijks op de 1e & 2e tot laatste van de 1e & laatste dag van de maand # 1011 RRULE:FREQ=DAILY;BYSETPOS=1,-2;BYMONTHDAY=1,-1;BYDAY=MO,TH: en: Daily on the 1st & 2nd-to-last instance of Monday & Thursday that are also the 1st or last day of the month - nl: Dagelijks op de 1ste & 2de tot laatste van maandag & donderdag die ook op de 1ste of laatste dag van de maand + nl: Dagelijks op de 1e & 2e tot laatste van maandag & donderdag die ook op de 1e of laatste dag van de maand # 1100 RRULE:FREQ=DAILY;BYSETPOS=1,-2;BYMONTH=1,12: en: Daily in January & December on the 1st & 2nd-to-last instance - nl: Dagelijks in januari & december op de 1ste & 2de tot laatste + nl: Dagelijks in januari & december op de 1e & 2e tot laatste # 1101 RRULE:FREQ=DAILY;BYSETPOS=1,-2;BYMONTH=1,12;BYDAY=MO,TH: en: Daily in January & December on the 1st & 2nd-to-last instance of Monday & Thursday - nl: Dagelijks in januari & december op de 1ste & 2de tot laatste van maandag & donderdag + nl: Dagelijks in januari & december op de 1e & 2e tot laatste van maandag & donderdag # 1110 RRULE:FREQ=DAILY;BYSETPOS=1,-2;BYMONTH=1,12;BYMONTHDAY=1,-1: en: Daily in January & December on the 1st & 2nd-to-last instance of the 1st & last day of the month - nl: Dagelijks in januari & december op de 1ste & 2de tot laatste van de 1ste & laatste dag van de maand + nl: Dagelijks in januari & december op de 1e & 2e tot laatste van de 1e & laatste dag van de maand # 1111 RRULE:FREQ=DAILY;BYSETPOS=1,-2;BYMONTH=1,12;BYMONTHDAY=1,-1;BYDAY=MO,TH: en: Daily in January & December on the 1st & 2nd-to-last instance of Monday & Thursday that are also the 1st or last day of the month - nl: Dagelijks in januari & december op de 1ste & 2de tot laatste van maandag & donderdag die ook op de 1ste of laatste dag van de maand + nl: Dagelijks in januari & december op de 1e & 2e tot laatste van maandag & donderdag die ook op de 1e of laatste dag van de maand # Weekly @@ -96,7 +96,7 @@ RRULE:FREQ=WEEKLY;INTERVAL=2;BYDAY=MO: nl: Om de twee week op maandag RRULE:FREQ=WEEKLY;INTERVAL=4;BYDAY=MO: en: Every 4 weeks on Monday - nl: Om de 4 weeks op maandag + nl: Om de 4 weken op maandag # 0/1 digits in the comment before a text function mean whether each of # bySetPositions, byMonths & byWeekDays (in that order) is included. @@ -121,15 +121,15 @@ RRULE:FREQ=WEEKLY;BYMONTH=1,12;BYDAY=MO,TH: # 101 RRULE:FREQ=WEEKLY;BYSETPOS=1,-2;BYDAY=MO,TH: en: Weekly on the 1st & 2nd-to-last instance of Monday & Thursday - nl: Wekelijks op de 1ste & 2de tot laatste van maandag & donderdag + nl: Wekelijks op de 1e & 2e tot laatste van maandag & donderdag # 110 RRULE:FREQ=WEEKLY;BYSETPOS=1,-2;BYMONTH=1,12: en: Weekly in January & December on the 1st & 2nd-to-last instance - nl: Wekelijks in januari & december op de 1ste & 2de tot laatste + nl: Wekelijks in januari & december op de 1e & 2e tot laatste # 111 RRULE:FREQ=WEEKLY;BYSETPOS=1,-2;BYMONTH=1,12;BYDAY=MO,TH: en: Weekly in January & December on the 1st & 2nd-to-last instance of Monday & Thursday - nl: Wekelijks in januari & december op de 1ste & 2de tot laatste van maandag & donderdag + nl: Wekelijks in januari & december op de 1e & 2e tot laatste van maandag & donderdag # Monthly @@ -141,7 +141,7 @@ RRULE:FREQ=MONTHLY;INTERVAL=2;BYDAY=MO: nl: Om de twee maand op elke maandag RRULE:FREQ=MONTHLY;INTERVAL=4;BYDAY=MO: en: Every 4 months on every Monday - nl: Om de 4 maands op elke maandag + nl: Om de 4 maanden op elke maandag # https://github.com/JonasWanke/rrule/issues/13 RRULE:FREQ=MONTHLY;INTERVAL=1;BYSETPOS=-1;BYDAY=MO,TU,WE,TH,FR,SA,SU: @@ -163,11 +163,11 @@ RRULE:FREQ=MONTHLY;BYDAY=MO,-1TH: # 0010 RRULE:FREQ=MONTHLY;BYMONTHDAY=1,-1: en: Monthly on the 1st & last day - nl: Maandelijks op de 1ste & laatste dag + nl: Maandelijks op de 1e & laatste dag # 0011 RRULE:FREQ=MONTHLY;BYMONTHDAY=1,-1;BYDAY=MO,-1TH: en: Monthly on every Monday & the last Thursday that are also the 1st or last day of the month - nl: Maandelijks op elke maandag & de laatste donderdag die ook op de 1ste of laatste dag van de maand + nl: Maandelijks op elke maandag & de laatste donderdag die ook op de 1e of laatste dag van de maand # 0100 RRULE:FREQ=MONTHLY;BYMONTH=1,12: en: Monthly in January & December @@ -179,40 +179,40 @@ RRULE:FREQ=MONTHLY;BYMONTH=1,12;BYDAY=MO,-1TH: # 0110 RRULE:FREQ=MONTHLY;BYMONTH=1,12;BYMONTHDAY=1,-1: en: Monthly in January & December on the 1st & last day - nl: Maandelijks in januari & december op de 1ste & laatste dag + nl: Maandelijks in januari & december op de 1e & laatste dag # 0111 RRULE:FREQ=MONTHLY;BYMONTH=1,12;BYMONTHDAY=1,-1;BYDAY=MO,-1TH: en: Monthly in January & December on every Monday & the last Thursday that are also the 1st or last day of the month - nl: Maandelijks in januari & december op elke maandag & de laatste donderdag die ook op de 1ste of laatste dag van de maand + nl: Maandelijks in januari & december op elke maandag & de laatste donderdag die ook op de 1e of laatste dag van de maand # 1000: invalid # 1001 RRULE:FREQ=MONTHLY;BYSETPOS=1,-2;BYDAY=MO,-1TH: en: Monthly on the 1st & 2nd-to-last instance of every Monday & the last Thursday - nl: Maandelijks op de 1ste & 2de tot laatste van elke maandag & de laatste donderdag + nl: Maandelijks op de 1e & 2e tot laatste van elke maandag & de laatste donderdag # 1010 RRULE:FREQ=MONTHLY;BYSETPOS=1,-2;BYMONTHDAY=1,-1: en: Monthly on the 1st & 2nd-to-last instance of the 1st & last day - nl: Maandelijks op de 1ste & 2de tot laatste van de 1ste & laatste dag + nl: Maandelijks op de 1e & 2e tot laatste van de 1e & laatste dag # 1011 RRULE:FREQ=MONTHLY;BYSETPOS=1,-2;BYMONTHDAY=1,-1;BYDAY=MO,-1TH: en: Monthly on the 1st & 2nd-to-last instance of every Monday & the last Thursday that are also the 1st or last day of the month - nl: Maandelijks op de 1ste & 2de tot laatste van elke maandag & de laatste donderdag die ook op de 1ste of laatste dag van de maand + nl: Maandelijks op de 1e & 2e tot laatste van elke maandag & de laatste donderdag die ook op de 1e of laatste dag van de maand # 1100 RRULE:FREQ=MONTHLY;BYSETPOS=1,-2;BYMONTH=1,12: en: Monthly in January & December on the 1st & 2nd-to-last instance - nl: Maandelijks in januari & december op de 1ste & 2de tot laatste + nl: Maandelijks in januari & december op de 1e & 2e tot laatste # 1101 RRULE:FREQ=MONTHLY;BYSETPOS=1,-2;BYMONTH=1,12;BYDAY=MO,-1TH: en: Monthly in January & December on the 1st & 2nd-to-last instance of every Monday & the last Thursday - nl: Maandelijks in januari & december op de 1ste & 2de tot laatste van elke maandag & de laatste donderdag + nl: Maandelijks in januari & december op de 1e & 2e tot laatste van elke maandag & de laatste donderdag # 1110 RRULE:FREQ=MONTHLY;BYSETPOS=1,-2;BYMONTH=1,12;BYMONTHDAY=1,-1: en: Monthly in January & December on the 1st & 2nd-to-last instance of the 1st & last day - nl: Maandelijks in januari & december op de 1ste & 2de tot laatste van de 1ste & laatste dag + nl: Maandelijks in januari & december op de 1e & 2e tot laatste van de 1e & laatste dag # 1111 RRULE:FREQ=MONTHLY;BYSETPOS=1,-2;BYMONTH=1,12;BYMONTHDAY=1,-1;BYDAY=MO,-1TH: en: Monthly in January & December on the 1st & 2nd-to-last instance of every Monday & the last Thursday that are also the 1st or last day of the month - nl: Maandelijks in januari & december op de 1ste & 2de tot laatste van elke maandag & de laatste donderdag die ook op de 1ste of laatste dag van de maand + nl: Maandelijks in januari & december op de 1e & 2e tot laatste van elke maandag & de laatste donderdag die ook op de 1e of laatste dag van de maand # Yearly @@ -224,7 +224,7 @@ RRULE:FREQ=YEARLY;INTERVAL=2;BYDAY=MO: nl: Om de twee jaar op elke maandag RRULE:FREQ=YEARLY;INTERVAL=4;BYDAY=MO: en: Every 4 years on every Monday - nl: Om de 4 jaars op elke maandag + nl: Om de 4 jaar op elke maandag # 0/1 digits in the comment before a text function mean whether each of # bySetPositions, byMonths, byWeeks, byYearDays, byMonthDays & byWeekDays @@ -237,63 +237,63 @@ RRULE:FREQ=YEARLY: # 000001 RRULE:FREQ=YEARLY;BYDAY=MO,-1TH: en: Annually on every Monday & the last Thursday of the year - nl: Jaarlijks op elke maandag & de laatste donderdag van de jaar + nl: Jaarlijks op elke maandag & de laatste donderdag van het jaar # 000010 RRULE:FREQ=YEARLY;BYMONTHDAY=1,-1: en: Annually on the 1st & last day of the month - nl: Jaarlijks op de 1ste & laatste dag van de maand + nl: Jaarlijks op de 1e & laatste dag van de maand # 000011 RRULE:FREQ=YEARLY;BYMONTHDAY=1,-1;BYDAY=MO,-1TH: en: Annually on every Monday & the last Thursday of the year that are also the 1st or last day of the month - nl: Jaarlijks op elke maandag & de laatste donderdag van de jaar die ook op de 1ste of laatste dag van de maand + nl: Jaarlijks op elke maandag & de laatste donderdag van het jaar die ook op de 1e of laatste dag van de maand # 000100 RRULE:FREQ=YEARLY;BYYEARDAY=1,-1: en: Annually on the 1st & last day of the year - nl: Jaarlijks op de 1ste & laatste dag van het jaar + nl: Jaarlijks op de 1e & laatste dag van het jaar # 000101 RRULE:FREQ=YEARLY;BYYEARDAY=1,-1;BYDAY=MO,-1TH: en: Annually on every Monday & the last Thursday of the year that are also the 1st or last day of the year - nl: Jaarlijks op elke maandag & de laatste donderdag van de jaar die ook op de 1ste of laatste dag van het jaar + nl: Jaarlijks op elke maandag & de laatste donderdag van het jaar die ook op de 1e of laatste dag van het jaar # 000110 RRULE:FREQ=YEARLY;BYYEARDAY=1,-1;BYMONTHDAY=1,-1: en: Annually on the 1st & last day of the month that are also the 1st or last day of the year - nl: Jaarlijks op de 1ste & laatste dag van de maand die ook op de 1ste of laatste dag van het jaar + nl: Jaarlijks op de 1e & laatste dag van de maand die ook op de 1e of laatste dag van het jaar # 000111 RRULE:FREQ=YEARLY;BYYEARDAY=1,-1;BYMONTHDAY=1,-1;BYDAY=MO,-1TH: en: Annually on every Monday & the last Thursday of the year that are also the 1st or last day of the month and that are also the 1st or last day of the year - nl: Jaarlijks op elke maandag & de laatste donderdag van de jaar die ook op de 1ste of laatste dag van de maand en die ook op de 1ste of laatste dag van het jaar + nl: Jaarlijks op elke maandag & de laatste donderdag van het jaar die ook op de 1e of laatste dag van de maand en die ook op de 1e of laatste dag van het jaar # 001000 RRULE:FREQ=YEARLY;BYWEEKNO=1,-1: en: Annually in the 1st & last week of the year - nl: Jaarlijks in week 1ste & laatste + nl: Jaarlijks in week 1e & laatste # 001001 RRULE:FREQ=YEARLY;BYWEEKNO=1,-1;BYDAY=MO,WE: en: Annually on every Monday & Wednesday in the 1st & last week of the year - nl: Jaarlijks op elke maandag & woensdag in week 1ste & laatste + nl: Jaarlijks op elke maandag & woensdag in week 1e & laatste # 001010 RRULE:FREQ=YEARLY;BYWEEKNO=1,-1;BYMONTHDAY=1,-1: en: Annually on the 1st & last day of the month that are also in the 1st or last week of the year - nl: Jaarlijks op de 1ste & laatste dag van de maand die ook in week 1ste of laatste + nl: Jaarlijks op de 1e & laatste dag van de maand die ook in week 1e of laatste # 001011 RRULE:FREQ=YEARLY;BYWEEKNO=1,-1;BYMONTHDAY=1,-1;BYDAY=MO,WE: en: Annually on every Monday & Wednesday that are also the 1st or last day of the month and that are also in the 1st or last week of the year - nl: Jaarlijks op elke maandag & woensdag die ook op de 1ste of laatste dag van de maand en die ook in week 1ste of laatste + nl: Jaarlijks op elke maandag & woensdag die ook op de 1e of laatste dag van de maand en die ook in week 1e of laatste # 001100 RRULE:FREQ=YEARLY;BYWEEKNO=1,-1;BYYEARDAY=1,-1: en: Annually on the 1st & last day of the year that are also in the 1st or last week of the year - nl: Jaarlijks op de 1ste & laatste dag van het jaar die ook in week 1ste of laatste + nl: Jaarlijks op de 1e & laatste dag van het jaar die ook in week 1e of laatste # 001101 RRULE:FREQ=YEARLY;BYWEEKNO=1,-1;BYYEARDAY=1,-1;BYDAY=MO,WE: en: Annually on every Monday & Wednesday that are also the 1st or last day of the year and that are also in the 1st or last week of the year - nl: Jaarlijks op elke maandag & woensdag die ook op de 1ste of laatste dag van het jaar en die ook in week 1ste of laatste + nl: Jaarlijks op elke maandag & woensdag die ook op de 1e of laatste dag van het jaar en die ook in week 1e of laatste # 001110 RRULE:FREQ=YEARLY;BYWEEKNO=1,-1;BYYEARDAY=1,-1;BYMONTHDAY=1,-1: en: Annually on the 1st & last day of the month that are also the 1st or last day of the year and that are also in the 1st or last week of the year - nl: Jaarlijks op de 1ste & laatste dag van de maand die ook op de 1ste of laatste dag van het jaar en die ook in week 1ste of laatste + nl: Jaarlijks op de 1e & laatste dag van de maand die ook op de 1e of laatste dag van het jaar en die ook in week 1e of laatste # 001111 RRULE:FREQ=YEARLY;BYWEEKNO=1,-1;BYYEARDAY=1,-1;BYMONTHDAY=1,-1;BYDAY=MO,WE: en: "Annually on every Monday & Wednesday that are also the 1st or last day of the month, that are also the 1st or last day of the year, and that are also in the 1st or last week of the year" - nl: "Jaarlijks op elke maandag & woensdag die ook op de 1ste of laatste dag van de maand, die ook op de 1ste of laatste dag van het jaar, en die ook in week 1ste of laatste" + nl: "Jaarlijks op elke maandag & woensdag die ook op de 1e of laatste dag van de maand, die ook op de 1e of laatste dag van het jaar, en die ook in week 1e of laatste" # 010000 RRULE:FREQ=YEARLY;BYMONTH=1,12: en: Annually in January & December @@ -305,185 +305,185 @@ RRULE:FREQ=YEARLY;BYMONTH=1,12;BYDAY=MO,-1TH: # 010010 RRULE:FREQ=YEARLY;BYMONTH=1,12;BYMONTHDAY=1,-1: en: Annually on the 1st & last day of the month in January & December - nl: Jaarlijks op de 1ste & laatste dag van de maand in januari & december + nl: Jaarlijks op de 1e & laatste dag van de maand in januari & december # 010011 # TODO(JonasWanke): the 1st or last day in January or December RRULE:FREQ=YEARLY;BYMONTH=1,12;BYMONTHDAY=1,-1;BYDAY=MO,-1TH: en: Annually on every Monday & the last Thursday of the year that are also the 1st or last day of the month and that are also in January or December - nl: Jaarlijks op elke maandag & de laatste donderdag van de jaar die ook op de 1ste of laatste dag van de maand en die ook in januari of december + nl: Jaarlijks op elke maandag & de laatste donderdag van het jaar die ook op de 1e of laatste dag van de maand en die ook in januari of december # 010100 RRULE:FREQ=YEARLY;BYMONTH=1,12;BYYEARDAY=1,-1: en: Annually on the 1st & last day of the year that are also in January or December - nl: Jaarlijks op de 1ste & laatste dag van het jaar die ook in januari of december + nl: Jaarlijks op de 1e & laatste dag van het jaar die ook in januari of december # 010101 RRULE:FREQ=YEARLY;BYMONTH=1,12;BYYEARDAY=1,-1;BYDAY=MO,-1TH: en: Annually on every Monday & the last Thursday of the year that are also the 1st or last day of the year and that are also in January or December - nl: Jaarlijks op elke maandag & de laatste donderdag van de jaar die ook op de 1ste of laatste dag van het jaar en die ook in januari of december + nl: Jaarlijks op elke maandag & de laatste donderdag van het jaar die ook op de 1e of laatste dag van het jaar en die ook in januari of december # 010110 RRULE:FREQ=YEARLY;BYMONTH=1,12;BYYEARDAY=1,-1;BYMONTHDAY=1,-1: en: Annually on the 1st & last day of the month that are also the 1st or last day of the year and that are also in January or December - nl: Jaarlijks op de 1ste & laatste dag van de maand die ook op de 1ste of laatste dag van het jaar en die ook in januari of december + nl: Jaarlijks op de 1e & laatste dag van de maand die ook op de 1e of laatste dag van het jaar en die ook in januari of december # 010111 RRULE:FREQ=YEARLY;BYMONTH=1,12;BYYEARDAY=1,-1;BYMONTHDAY=1,-1;BYDAY=MO,-1TH: en: "Annually on every Monday & the last Thursday of the year that are also the 1st or last day of the month, that are also the 1st or last day of the year, and that are also in January or December" - nl: "Jaarlijks op elke maandag & de laatste donderdag van de jaar die ook op de 1ste of laatste dag van de maand, die ook op de 1ste of laatste dag van het jaar, en die ook in januari of december" + nl: "Jaarlijks op elke maandag & de laatste donderdag van het jaar die ook op de 1e of laatste dag van de maand, die ook op de 1e of laatste dag van het jaar, en die ook in januari of december" # 011000 RRULE:FREQ=YEARLY;BYMONTH=1,12;BYWEEKNO=1,-1: en: Annually in the 1st & last week of the year that are also in January or December - nl: Jaarlijks in week 1ste & laatste die ook in januari of december + nl: Jaarlijks in week 1e & laatste die ook in januari of december # 011001 RRULE:FREQ=YEARLY;BYMONTH=1,12;BYWEEKNO=1,-1;BYDAY=MO,WE: en: Annually on every Monday & Wednesday in the 1st & last week of the year that are also in January or December - nl: Jaarlijks op elke maandag & woensdag in week 1ste & laatste die ook in januari of december + nl: Jaarlijks op elke maandag & woensdag in week 1e & laatste die ook in januari of december # 011010 RRULE:FREQ=YEARLY;BYMONTH=1,12;BYWEEKNO=1,-1;BYMONTHDAY=1,-1: en: Annually on the 1st & last day of the month that are also in the 1st or last week of the year and that are also in January or December - nl: Jaarlijks op de 1ste & laatste dag van de maand die ook in week 1ste of laatste en die ook in januari of december + nl: Jaarlijks op de 1e & laatste dag van de maand die ook in week 1e of laatste en die ook in januari of december # 011011 RRULE:FREQ=YEARLY;BYMONTH=1,12;BYWEEKNO=1,-1;BYMONTHDAY=1,-1;BYDAY=MO,WE: en: "Annually on every Monday & Wednesday that are also the 1st or last day of the month, that are also in the 1st or last week of the year, and that are also in January or December" - nl: "Jaarlijks op elke maandag & woensdag die ook op de 1ste of laatste dag van de maand, die ook in week 1ste of laatste, en die ook in januari of december" + nl: "Jaarlijks op elke maandag & woensdag die ook op de 1e of laatste dag van de maand, die ook in week 1e of laatste, en die ook in januari of december" # 011100 RRULE:FREQ=YEARLY;BYMONTH=1,12;BYWEEKNO=1,-1;BYYEARDAY=1,-1: en: Annually on the 1st & last day of the year that are also in the 1st or last week of the year and that are also in January or December - nl: Jaarlijks op de 1ste & laatste dag van het jaar die ook in week 1ste of laatste en die ook in januari of december + nl: Jaarlijks op de 1e & laatste dag van het jaar die ook in week 1e of laatste en die ook in januari of december # 011101 RRULE:FREQ=YEARLY;BYMONTH=1,12;BYWEEKNO=1,-1;BYYEARDAY=1,-1;BYDAY=MO,WE: en: "Annually on every Monday & Wednesday that are also the 1st or last day of the year, that are also in the 1st or last week of the year, and that are also in January or December" - nl: "Jaarlijks op elke maandag & woensdag die ook op de 1ste of laatste dag van het jaar, die ook in week 1ste of laatste, en die ook in januari of december" + nl: "Jaarlijks op elke maandag & woensdag die ook op de 1e of laatste dag van het jaar, die ook in week 1e of laatste, en die ook in januari of december" # 011110 RRULE:FREQ=YEARLY;BYMONTH=1,12;BYWEEKNO=1,-1;BYYEARDAY=1,-1;BYMONTHDAY=1,-1: en: "Annually on the 1st & last day of the month that are also the 1st or last day of the year, that are also in the 1st or last week of the year, and that are also in January or December" - nl: "Jaarlijks op de 1ste & laatste dag van de maand die ook op de 1ste of laatste dag van het jaar, die ook in week 1ste of laatste, en die ook in januari of december" + nl: "Jaarlijks op de 1e & laatste dag van de maand die ook op de 1e of laatste dag van het jaar, die ook in week 1e of laatste, en die ook in januari of december" # 011111 RRULE:FREQ=YEARLY;BYMONTH=1,12;BYWEEKNO=1,-1;BYYEARDAY=1,-1;BYMONTHDAY=1,-1;BYDAY=MO,WE: en: "Annually on every Monday & Wednesday that are also the 1st or last day of the month, that are also the 1st or last day of the year, that are also in the 1st or last week of the year, and that are also in January or December" - nl: "Jaarlijks op elke maandag & woensdag die ook op de 1ste of laatste dag van de maand, die ook op de 1ste of laatste dag van het jaar, die ook in week 1ste of laatste, en die ook in januari of december" + nl: "Jaarlijks op elke maandag & woensdag die ook op de 1e of laatste dag van de maand, die ook op de 1e of laatste dag van het jaar, die ook in week 1e of laatste, en die ook in januari of december" # 100000: invalid # 100001 RRULE:FREQ=YEARLY;BYSETPOS=1,-2;BYDAY=MO,-1TH: en: Annually on the 1st & 2nd-to-last instance of every Monday & the last Thursday of the year - nl: Jaarlijks op de 1ste & 2de tot laatste van elke maandag & de laatste donderdag van de jaar + nl: Jaarlijks op de 1e & 2e tot laatste van elke maandag & de laatste donderdag van het jaar # 100010 RRULE:FREQ=YEARLY;BYSETPOS=1,-2;BYMONTHDAY=1,-1: en: Annually on the 1st & 2nd-to-last instance of the 1st & last day of the month - nl: Jaarlijks op de 1ste & 2de tot laatste van de 1ste & laatste dag van de maand + nl: Jaarlijks op de 1e & 2e tot laatste van de 1e & laatste dag van de maand # 100011 RRULE:FREQ=YEARLY;BYSETPOS=1,-2;BYMONTHDAY=1,-1;BYDAY=MO,-1TH: en: Annually on the 1st & 2nd-to-last instance of every Monday & the last Thursday of the year that are also the 1st or last day of the month - nl: Jaarlijks op de 1ste & 2de tot laatste van elke maandag & de laatste donderdag van de jaar die ook op de 1ste of laatste dag van de maand + nl: Jaarlijks op de 1e & 2e tot laatste van elke maandag & de laatste donderdag van het jaar die ook op de 1e of laatste dag van de maand # 100100 RRULE:FREQ=YEARLY;BYSETPOS=1,-2;BYYEARDAY=1,-1: en: Annually on the 1st & 2nd-to-last instance of the 1st & last day of the year - nl: Jaarlijks op de 1ste & 2de tot laatste van de 1ste & laatste dag van het jaar + nl: Jaarlijks op de 1e & 2e tot laatste van de 1e & laatste dag van het jaar # 100101 RRULE:FREQ=YEARLY;BYSETPOS=1,-2;BYYEARDAY=1,-1;BYDAY=MO,-1TH: en: Annually on the 1st & 2nd-to-last instance of every Monday & the last Thursday of the year that are also the 1st or last day of the year - nl: Jaarlijks op de 1ste & 2de tot laatste van elke maandag & de laatste donderdag van de jaar die ook op de 1ste of laatste dag van het jaar + nl: Jaarlijks op de 1e & 2e tot laatste van elke maandag & de laatste donderdag van het jaar die ook op de 1e of laatste dag van het jaar # 100110 RRULE:FREQ=YEARLY;BYSETPOS=1,-2;BYYEARDAY=1,-1;BYMONTHDAY=1,-1: en: Annually on the 1st & 2nd-to-last instance of the 1st & last day of the month that are also the 1st or last day of the year - nl: Jaarlijks op de 1ste & 2de tot laatste van de 1ste & laatste dag van de maand die ook op de 1ste of laatste dag van het jaar + nl: Jaarlijks op de 1e & 2e tot laatste van de 1e & laatste dag van de maand die ook op de 1e of laatste dag van het jaar # 100111 RRULE:FREQ=YEARLY;BYSETPOS=1,-2;BYYEARDAY=1,-1;BYMONTHDAY=1,-1;BYDAY=MO,-1TH: en: Annually on the 1st & 2nd-to-last instance of every Monday & the last Thursday of the year that are also the 1st or last day of the month and that are also the 1st or last day of the year - nl: Jaarlijks op de 1ste & 2de tot laatste van elke maandag & de laatste donderdag van de jaar die ook op de 1ste of laatste dag van de maand en die ook op de 1ste of laatste dag van het jaar + nl: Jaarlijks op de 1e & 2e tot laatste van elke maandag & de laatste donderdag van het jaar die ook op de 1e of laatste dag van de maand en die ook op de 1e of laatste dag van het jaar # 101000 RRULE:FREQ=YEARLY;BYSETPOS=1,-2;BYWEEKNO=1,-1: en: Annually on the 1st & 2nd-to-last instance of the 1st & last week of the year - nl: Jaarlijks op de 1ste & 2de tot laatste van week 1ste & laatste + nl: Jaarlijks op de 1e & 2e tot laatste van week 1e & laatste # 101001 RRULE:FREQ=YEARLY;BYSETPOS=1,-2;BYWEEKNO=1,-1;BYDAY=MO,WE: en: Annually on the 1st & 2nd-to-last instance of every Monday & Wednesday in the 1st & last week of the year - nl: Jaarlijks op de 1ste & 2de tot laatste van elke maandag & woensdag in week 1ste & laatste + nl: Jaarlijks op de 1e & 2e tot laatste van elke maandag & woensdag in week 1e & laatste # 101010 RRULE:FREQ=YEARLY;BYSETPOS=1,-2;BYWEEKNO=1,-1;BYMONTHDAY=1,-1: en: Annually on the 1st & 2nd-to-last instance of the 1st & last day of the month that are also in the 1st or last week of the year - nl: Jaarlijks op de 1ste & 2de tot laatste van de 1ste & laatste dag van de maand die ook in week 1ste of laatste + nl: Jaarlijks op de 1e & 2e tot laatste van de 1e & laatste dag van de maand die ook in week 1e of laatste # 101011 RRULE:FREQ=YEARLY;BYSETPOS=1,-2;BYWEEKNO=1,-1;BYMONTHDAY=1,-1;BYDAY=MO,WE: en: Annually on the 1st & 2nd-to-last instance of every Monday & Wednesday that are also the 1st or last day of the month and that are also in the 1st or last week of the year - nl: Jaarlijks op de 1ste & 2de tot laatste van elke maandag & woensdag die ook op de 1ste of laatste dag van de maand en die ook in week 1ste of laatste + nl: Jaarlijks op de 1e & 2e tot laatste van elke maandag & woensdag die ook op de 1e of laatste dag van de maand en die ook in week 1e of laatste # 101100 RRULE:FREQ=YEARLY;BYSETPOS=1,-2;BYWEEKNO=1,-1;BYYEARDAY=1,-1: en: Annually on the 1st & 2nd-to-last instance of the 1st & last day of the year that are also in the 1st or last week of the year - nl: Jaarlijks op de 1ste & 2de tot laatste van de 1ste & laatste dag van het jaar die ook in week 1ste of laatste + nl: Jaarlijks op de 1e & 2e tot laatste van de 1e & laatste dag van het jaar die ook in week 1e of laatste # 101101 RRULE:FREQ=YEARLY;BYSETPOS=1,-2;BYWEEKNO=1,-1;BYYEARDAY=1,-1;BYDAY=MO,WE: en: Annually on the 1st & 2nd-to-last instance of every Monday & Wednesday that are also the 1st or last day of the year and that are also in the 1st or last week of the year - nl: Jaarlijks op de 1ste & 2de tot laatste van elke maandag & woensdag die ook op de 1ste of laatste dag van het jaar en die ook in week 1ste of laatste + nl: Jaarlijks op de 1e & 2e tot laatste van elke maandag & woensdag die ook op de 1e of laatste dag van het jaar en die ook in week 1e of laatste # 101110 RRULE:FREQ=YEARLY;BYSETPOS=1,-2;BYWEEKNO=1,-1;BYYEARDAY=1,-1;BYMONTHDAY=1,-1: en: Annually on the 1st & 2nd-to-last instance of the 1st & last day of the month that are also the 1st or last day of the year and that are also in the 1st or last week of the year - nl: Jaarlijks op de 1ste & 2de tot laatste van de 1ste & laatste dag van de maand die ook op de 1ste of laatste dag van het jaar en die ook in week 1ste of laatste + nl: Jaarlijks op de 1e & 2e tot laatste van de 1e & laatste dag van de maand die ook op de 1e of laatste dag van het jaar en die ook in week 1e of laatste # 101111 RRULE:FREQ=YEARLY;BYSETPOS=1,-2;BYWEEKNO=1,-1;BYYEARDAY=1,-1;BYMONTHDAY=1,-1;BYDAY=MO,WE: en: "Annually on the 1st & 2nd-to-last instance of every Monday & Wednesday that are also the 1st or last day of the month, that are also the 1st or last day of the year, and that are also in the 1st or last week of the year" - nl: "Jaarlijks op de 1ste & 2de tot laatste van elke maandag & woensdag die ook op de 1ste of laatste dag van de maand, die ook op de 1ste of laatste dag van het jaar, en die ook in week 1ste of laatste" + nl: "Jaarlijks op de 1e & 2e tot laatste van elke maandag & woensdag die ook op de 1e of laatste dag van de maand, die ook op de 1e of laatste dag van het jaar, en die ook in week 1e of laatste" # 110000 RRULE:FREQ=YEARLY;BYSETPOS=1,-2;BYMONTH=1,12: en: Annually on the 1st & 2nd-to-last instance of January & December - nl: Jaarlijks op de 1ste & 2de tot laatste van januari & december + nl: Jaarlijks op de 1e & 2e tot laatste van januari & december # 110001 RRULE:FREQ=YEARLY;BYSETPOS=1,-2;BYMONTH=1,12;BYDAY=MO,-1TH: en: Annually on the 1st & 2nd-to-last instance of every Monday & the last Thursday of the month in January & December - nl: Jaarlijks op de 1ste & 2de tot laatste van elke maandag & de laatste donderdag van de maand in januari & december + nl: Jaarlijks op de 1e & 2e tot laatste van elke maandag & de laatste donderdag van de maand in januari & december # 110010 RRULE:FREQ=YEARLY;BYSETPOS=1,-2;BYMONTH=1,12;BYMONTHDAY=1,-1: en: Annually on the 1st & 2nd-to-last instance of the 1st & last day of the month in January & December - nl: Jaarlijks op de 1ste & 2de tot laatste van de 1ste & laatste dag van de maand in januari & december + nl: Jaarlijks op de 1e & 2e tot laatste van de 1e & laatste dag van de maand in januari & december # 110011 RRULE:FREQ=YEARLY;BYSETPOS=1,-2;BYMONTH=1,12;BYMONTHDAY=1,-1;BYDAY=MO,-1TH: en: Annually on the 1st & 2nd-to-last instance of every Monday & the last Thursday of the year that are also the 1st or last day of the month and that are also in January or December - nl: Jaarlijks op de 1ste & 2de tot laatste van elke maandag & de laatste donderdag van de jaar die ook op de 1ste of laatste dag van de maand en die ook in januari of december + nl: Jaarlijks op de 1e & 2e tot laatste van elke maandag & de laatste donderdag van het jaar die ook op de 1e of laatste dag van de maand en die ook in januari of december # 110100 RRULE:FREQ=YEARLY;BYSETPOS=1,-2;BYMONTH=1,12;BYYEARDAY=1,-1: en: Annually on the 1st & 2nd-to-last instance of the 1st & last day of the year that are also in January or December - nl: Jaarlijks op de 1ste & 2de tot laatste van de 1ste & laatste dag van het jaar die ook in januari of december + nl: Jaarlijks op de 1e & 2e tot laatste van de 1e & laatste dag van het jaar die ook in januari of december # 110101 RRULE:FREQ=YEARLY;BYSETPOS=1,-2;BYMONTH=1,12;BYYEARDAY=1,-1;BYDAY=MO,-1TH: en: Annually on the 1st & 2nd-to-last instance of every Monday & the last Thursday of the year that are also the 1st or last day of the year and that are also in January or December - nl: Jaarlijks op de 1ste & 2de tot laatste van elke maandag & de laatste donderdag van de jaar die ook op de 1ste of laatste dag van het jaar en die ook in januari of december + nl: Jaarlijks op de 1e & 2e tot laatste van elke maandag & de laatste donderdag van het jaar die ook op de 1e of laatste dag van het jaar en die ook in januari of december # 110110 RRULE:FREQ=YEARLY;BYSETPOS=1,-2;BYMONTH=1,12;BYYEARDAY=1,-1;BYMONTHDAY=1,-1: en: Annually on the 1st & 2nd-to-last instance of the 1st & last day of the month that are also the 1st or last day of the year and that are also in January or December - nl: Jaarlijks op de 1ste & 2de tot laatste van de 1ste & laatste dag van de maand die ook op de 1ste of laatste dag van het jaar en die ook in januari of december + nl: Jaarlijks op de 1e & 2e tot laatste van de 1e & laatste dag van de maand die ook op de 1e of laatste dag van het jaar en die ook in januari of december # 110111 RRULE:FREQ=YEARLY;BYSETPOS=1,-2;BYMONTH=1,12;BYYEARDAY=1,-1;BYMONTHDAY=1,-1;BYDAY=MO,-1TH: en: "Annually on the 1st & 2nd-to-last instance of every Monday & the last Thursday of the year that are also the 1st or last day of the month, that are also the 1st or last day of the year, and that are also in January or December" - nl: "Jaarlijks op de 1ste & 2de tot laatste van elke maandag & de laatste donderdag van de jaar die ook op de 1ste of laatste dag van de maand, die ook op de 1ste of laatste dag van het jaar, en die ook in januari of december" + nl: "Jaarlijks op de 1e & 2e tot laatste van elke maandag & de laatste donderdag van het jaar die ook op de 1e of laatste dag van de maand, die ook op de 1e of laatste dag van het jaar, en die ook in januari of december" # 111000 RRULE:FREQ=YEARLY;BYSETPOS=1,-2;BYMONTH=1,12;BYWEEKNO=1,-1: en: Annually on the 1st & 2nd-to-last instance of the 1st & last week of the year that are also in January or December - nl: Jaarlijks op de 1ste & 2de tot laatste van week 1ste & laatste die ook in januari of december + nl: Jaarlijks op de 1e & 2e tot laatste van week 1e & laatste die ook in januari of december # 111001 RRULE:FREQ=YEARLY;BYSETPOS=1,-2;BYMONTH=1,12;BYWEEKNO=1,-1;BYDAY=MO,WE: en: Annually on the 1st & 2nd-to-last instance of every Monday & Wednesday in the 1st & last week of the year that are also in January or December - nl: Jaarlijks op de 1ste & 2de tot laatste van elke maandag & woensdag in week 1ste & laatste die ook in januari of december + nl: Jaarlijks op de 1e & 2e tot laatste van elke maandag & woensdag in week 1e & laatste die ook in januari of december # 111010 RRULE:FREQ=YEARLY;BYSETPOS=1,-2;BYMONTH=1,12;BYWEEKNO=1,-1;BYMONTHDAY=1,-1: en: Annually on the 1st & 2nd-to-last instance of the 1st & last day of the month that are also in the 1st or last week of the year and that are also in January or December - nl: Jaarlijks op de 1ste & 2de tot laatste van de 1ste & laatste dag van de maand die ook in week 1ste of laatste en die ook in januari of december + nl: Jaarlijks op de 1e & 2e tot laatste van de 1e & laatste dag van de maand die ook in week 1e of laatste en die ook in januari of december # 111011 RRULE:FREQ=YEARLY;BYSETPOS=1,-2;BYMONTH=1,12;BYWEEKNO=1,-1;BYMONTHDAY=1,-1;BYDAY=MO,WE: en: "Annually on the 1st & 2nd-to-last instance of every Monday & Wednesday that are also the 1st or last day of the month, that are also in the 1st or last week of the year, and that are also in January or December" - nl: "Jaarlijks op de 1ste & 2de tot laatste van elke maandag & woensdag die ook op de 1ste of laatste dag van de maand, die ook in week 1ste of laatste, en die ook in januari of december" + nl: "Jaarlijks op de 1e & 2e tot laatste van elke maandag & woensdag die ook op de 1e of laatste dag van de maand, die ook in week 1e of laatste, en die ook in januari of december" # 111100 RRULE:FREQ=YEARLY;BYSETPOS=1,-2;BYMONTH=1,12;BYWEEKNO=1,-1;BYYEARDAY=1,-1: en: Annually on the 1st & 2nd-to-last instance of the 1st & last day of the year that are also in the 1st or last week of the year and that are also in January or December - nl: Jaarlijks op de 1ste & 2de tot laatste van de 1ste & laatste dag van het jaar die ook in week 1ste of laatste en die ook in januari of december + nl: Jaarlijks op de 1e & 2e tot laatste van de 1e & laatste dag van het jaar die ook in week 1e of laatste en die ook in januari of december # 111101 RRULE:FREQ=YEARLY;BYSETPOS=1,-2;BYMONTH=1,12;BYWEEKNO=1,-1;BYYEARDAY=1,-1;BYDAY=MO,WE: en: "Annually on the 1st & 2nd-to-last instance of every Monday & Wednesday that are also the 1st or last day of the year, that are also in the 1st or last week of the year, and that are also in January or December" - nl: "Jaarlijks op de 1ste & 2de tot laatste van elke maandag & woensdag die ook op de 1ste of laatste dag van het jaar, die ook in week 1ste of laatste, en die ook in januari of december" + nl: "Jaarlijks op de 1e & 2e tot laatste van elke maandag & woensdag die ook op de 1e of laatste dag van het jaar, die ook in week 1e of laatste, en die ook in januari of december" # 111110 RRULE:FREQ=YEARLY;BYSETPOS=1,-2;BYMONTH=1,12;BYWEEKNO=1,-1;BYYEARDAY=1,-1;BYMONTHDAY=1,-1: en: "Annually on the 1st & 2nd-to-last instance of the 1st & last day of the month that are also the 1st or last day of the year, that are also in the 1st or last week of the year, and that are also in January or December" - nl: "Jaarlijks op de 1ste & 2de tot laatste van de 1ste & laatste dag van de maand die ook op de 1ste of laatste dag van het jaar, die ook in week 1ste of laatste, en die ook in januari of december" + nl: "Jaarlijks op de 1e & 2e tot laatste van de 1e & laatste dag van de maand die ook op de 1e of laatste dag van het jaar, die ook in week 1e of laatste, en die ook in januari of december" # 111111 RRULE:FREQ=YEARLY;BYSETPOS=1,-2;BYMONTH=1,12;BYWEEKNO=1,-1;BYYEARDAY=1,-1;BYMONTHDAY=1,-1;BYDAY=MO,WE: en: "Annually on the 1st & 2nd-to-last instance of every Monday & Wednesday that are also the 1st or last day of the month, that are also the 1st or last day of the year, that are also in the 1st or last week of the year, and that are also in January or December" - nl: "Jaarlijks op de 1ste & 2de tot laatste van elke maandag & woensdag die ook op de 1ste of laatste dag van de maand, die ook op de 1ste of laatste dag van het jaar, die ook in week 1ste of laatste, en die ook in januari of december" + nl: "Jaarlijks op de 1e & 2e tot laatste van elke maandag & woensdag die ook op de 1e of laatste dag van de maand, die ook op de 1e of laatste dag van het jaar, die ook in week 1e of laatste, en die ook in januari of december" # All remaining examples taken from https://github.com/jakubroztocil/rrule/blob/3dc698300e5861311249e85e0e237708702b055d/test/nlp.test.ts, # though with modified texts. @@ -492,13 +492,13 @@ RRULE:FREQ=HOURLY: nl: Uurlijks RRULE:INTERVAL=4;FREQ=HOURLY: en: Every 4 hours - nl: Om de 4 uurs + nl: Om de 4 uren RRULE:FREQ=WEEKLY;COUNT=20: en: "Weekly, 20 times" nl: "Wekelijks, 20 keer" RRULE:FREQ=WEEKLY;UNTIL=20070101T080000Z: en: "Weekly, until Monday, January 1, 2007 8:00:00 AM" - nl: "Wekelijks, tot maandag 1 januari 2007 om 8:i uur" + nl: "Wekelijks, tot maandag 1 januari 2007 o0 8:i uur" RRULE:FREQ=WEEKLY;BYDAY=TU: en: Weekly on Tuesday nl: Wekelijks op dinsdag @@ -513,29 +513,29 @@ RRULE:INTERVAL=2;FREQ=WEEKLY: nl: Om de twee week RRULE:FREQ=MONTHLY;BYMONTHDAY=4: en: Monthly on the 4th - nl: Maandelijks op de 4de + nl: Maandelijks op de 4e RRULE:FREQ=MONTHLY;BYMONTHDAY=-4: en: Monthly on the 4th-to-last day - nl: Maandelijks op de 4de tot laatste dag + nl: Maandelijks op de 4e tot laatste dag RRULE:FREQ=MONTHLY;BYDAY=+3TU: en: Monthly on the 3rd Tuesday - nl: Maandelijks op de 3de dinsdag + nl: Maandelijks op de 3e dinsdag RRULE:FREQ=MONTHLY;BYDAY=-3TU: en: Monthly on the 3rd-to-last Tuesday - nl: Maandelijks op de 3de tot laatste dinsdag + nl: Maandelijks op de 3e tot laatste dinsdag RRULE:FREQ=MONTHLY;BYDAY=-1MO: en: Monthly on the last Monday nl: Maandelijks op de laatste maandag RRULE:FREQ=MONTHLY;BYDAY=-2FR: en: Monthly on the 2nd-to-last Friday - nl: Maandelijks op de 2de tot laatste vrijdag + nl: Maandelijks op de 2e tot laatste vrijdag RRULE:INTERVAL=6;FREQ=MONTHLY: en: Every 6 months - nl: Om de 6 maands + nl: Om de 6 maanden RRULE:FREQ=YEARLY;BYDAY=+1FR: en: Annually on the 1st Friday of the year - nl: Jaarlijks op de 1ste vrijdag van de jaar + nl: Jaarlijks op de 1e vrijdag van het jaar RRULE:FREQ=YEARLY;BYDAY=+13FR: en: Annually on the 13th Friday of the year - nl: Jaarlijks op de 13de vrijdag van de jaar + nl: Jaarlijks op de 13e vrijdag van het jaar From a26aacf9ac45ae07df7fdabac8c270fb50614066 Mon Sep 17 00:00:00 2001 From: Simon Verzelen Date: Fri, 3 Jan 2025 09:54:28 +0100 Subject: [PATCH 6/6] refactor dutch translations --- lib/src/codecs/text/l10n/nl.dart | 54 +++++--- test/codecs/text/data.yaml | 226 +++++++++++++++---------------- 2 files changed, 145 insertions(+), 135 deletions(-) diff --git a/lib/src/codecs/text/l10n/nl.dart b/lib/src/codecs/text/l10n/nl.dart index a7fdeca..c3822bc 100644 --- a/lib/src/codecs/text/l10n/nl.dart +++ b/lib/src/codecs/text/l10n/nl.dart @@ -22,15 +22,15 @@ class RruleL10nNl extends RruleL10n { String plurals({required String one, required String singular, required String plural}) { return switch (interval) { 1 => one, - 2 => 'Om de twee $singular', + 2 => 'Om de twee $plural', _ => 'Om de $interval $plural', }; } return { - Frequency.secondly: plurals(one: 'Secondelijks', singular: 'seconde', plural: 'seconden'), - Frequency.minutely: plurals(one: 'Minuutlijks', singular: 'minuut', plural: 'minuten'), - Frequency.hourly: plurals(one: 'Uurlijks', singular: 'uur', plural: 'uren'), + Frequency.secondly: plurals(one: 'Elke seconde', singular: 'seconde', plural: 'seconden'), + Frequency.minutely: plurals(one: 'Elke minuut', singular: 'minuut', plural: 'minuten'), + Frequency.hourly: plurals(one: 'Elk uur', singular: 'uur', plural: 'uren'), Frequency.daily: plurals(one: 'Dagelijks', singular: 'dag', plural: 'dagen'), Frequency.weekly: plurals(one: 'Wekelijks', singular: 'week', plural: 'weken'), Frequency.monthly: plurals(one: 'Maandelijks', singular: 'maand', plural: 'maanden'), @@ -41,7 +41,7 @@ class RruleL10nNl extends RruleL10n { @override String until(DateTime until, Frequency frequency) { final untilString = formatWithIntl( - () => DateFormat('EEEE d MMMM yyyy om H:i uur', 'nl').format(until), + () => DateFormat('EEEE d MMMM yyyy \'om\' H:mm \'uur\'', 'nl').format(until), ); return ', tot $untilString'; } @@ -59,15 +59,21 @@ class RruleL10nNl extends RruleL10n { String onInstances(String instances) => 'op de $instances'; @override - String inMonths(String months, {InOnVariant variant = InOnVariant.simple}) => '${_inVariant(variant)} $months'; + String inMonths(String months, {InOnVariant variant = InOnVariant.simple}) { + final suffix = variant == InOnVariant.also ? ' vallen' : ''; + return '${_inVariant(variant)} $months$suffix'; + } @override - String inWeeks(String weeks, {InOnVariant variant = InOnVariant.simple}) => '${_inVariant(variant)} week $weeks'; + String inWeeks(String weeks, {InOnVariant variant = InOnVariant.simple}) { + final suffix = variant == InOnVariant.also ? ' vallen' : ''; + return '${_inVariant(variant)} de $weeks week$suffix'; + } String _inVariant(InOnVariant variant) { return switch (variant) { InOnVariant.simple => 'in', - InOnVariant.also => 'die ook in', + InOnVariant.also => 'die tevens in', InOnVariant.instanceOf => 'van', }; } @@ -81,8 +87,7 @@ class RruleL10nNl extends RruleL10n { }) { assert(variant != InOnVariant.also); - final frequencyString = - frequency == DaysOfWeekFrequency.monthly ? 'de maand' : 'het jaar'; + final frequencyString = frequency == DaysOfWeekFrequency.monthly ? 'de maand' : 'het jaar'; final suffix = indicateFrequency ? ' van $frequencyString' : ''; return '${_onVariant(variant)} $days$suffix'; } @@ -113,41 +118,46 @@ class RruleL10nNl extends RruleL10n { DaysOfVariant.day: ' dag', DaysOfVariant.dayAndFrequency: ' dag van de maand', }[daysOfVariant]; - return '${_onVariant(variant)} de $days$suffix'; + final suffix2 = variant == InOnVariant.also ? ' zijn' : ''; + return '${_onVariant(variant)} de $days$suffix$suffix2'; } @override String onDaysOfYear( String days, { InOnVariant variant = InOnVariant.simple, - }) => - '${_onVariant(variant)} de $days dag van het jaar'; + }) { + final suffix = variant == InOnVariant.also ? ' zijn' : ''; + return '${_onVariant(variant)} de $days dag van het jaar$suffix'; + } String _onVariant(InOnVariant variant) { return switch (variant) { InOnVariant.simple => 'op', - InOnVariant.also => 'die ook op', + InOnVariant.also => 'die tevens', InOnVariant.instanceOf => 'van', }; } @override String list(List items, ListCombination combination) { - final (two, end) = switch (combination) { - ListCombination.conjunctiveShort => (' & ', ' & '), - ListCombination.conjunctiveLong => (' en ', ', en '), - ListCombination.disjunctive => (' of ', ', of '), - }; + final two = combination == ListCombination.disjunctive ? ' of ' : ' en '; + final end = combination == ListCombination.conjunctiveLong ? ', en ' : two; return RruleL10n.defaultList(items, two: two, end: end); } @override String ordinal(int number) { assert(number != 0); - if (number == -1) return 'laatste'; - final string = '${number.abs()}e'; + const special = {1: 'eerste', -1: 'laatste', -2: 'voorlaatste'}; + final result = special[number]; + if (result != null) return result; + + final n = number.abs(); + final remain = n % 100; + final string = (remain <= 1 || remain == 8 || remain >= 20) ? '${n}ste' : '${n}de'; - return number < 0 ? '$string tot laatste' : string; + return number < 0 ? '$n-na-laatste' : string; } } diff --git a/test/codecs/text/data.yaml b/test/codecs/text/data.yaml index 8d9ec5d..cfca5d1 100644 --- a/test/codecs/text/data.yaml +++ b/test/codecs/text/data.yaml @@ -1,12 +1,12 @@ RRULE:FREQ=WEEKLY;BYMONTH=1,2,3,8,9;BYDAY=MO,WE,TH,FR,SU: en: "Weekly in January – March, August & September on Monday, Wednesday – Friday & Sunday" - nl: "Wekelijks in januari – maart, augustus & september op maandag, woensdag – vrijdag & zondag" + nl: "Wekelijks in januari – maart, augustus en september op maandag, woensdag – vrijdag en zondag" RRULE:FREQ=WEEKLY;INTERVAL=2;BYMONTH=1,2,3;BYDAY=MO,TU,WE,TH,FR,SU: en: Every other week in January – March on weekdays & Sunday - nl: Om de twee week in januari – maart op weekdagen & zondag + nl: Om de twee weken in januari – maart op weekdagen en zondag RRULE:FREQ=MONTHLY;BYDAY=MO,TU,WE,1TH,1FR,2TH,2FR,2SA,-2TH,-2FR,-2SU,-1TH,-1FR,-1SU;BYMONTHDAY=1,2,3,4,5,26,-3,-2,-1: en: "Monthly on every Monday – Wednesday, the 1st Thursday & Friday, the 2nd Thursday – Saturday, the 2nd-to-last Thursday, Friday & Sunday, and the last Thursday, Friday & Sunday that are also the 1st – 5th, 26th, or 3rd-to-last – last day of the month" - nl: "Maandelijks op elke maandag – woensdag, de 1e donderdag & vrijdag, de 2e donderdag – zaterdag, de 2e tot laatste donderdag, vrijdag & zondag, en de laatste donderdag, vrijdag & zondag die ook op de 1e – 5e, 26e, of 3e tot laatste – laatste dag van de maand" + nl: "Maandelijks op elke maandag – woensdag, de eerste donderdag en vrijdag, de 2de donderdag – zaterdag, de voorlaatste donderdag, vrijdag en zondag, en de laatste donderdag, vrijdag en zondag die tevens de eerste – 5de, 26ste of 3-na-laatste – laatste dag van de maand zijn" # Daily @@ -15,7 +15,7 @@ RRULE:FREQ=DAILY;BYDAY=MO: nl: Dagelijks op maandag RRULE:FREQ=DAILY;INTERVAL=2;BYDAY=MO: en: Every other day on Monday - nl: Om de twee dag op maandag + nl: Om de twee dagen op maandag RRULE:FREQ=DAILY;INTERVAL=4;BYDAY=MO: en: Every 4 days on Monday nl: Om de 4 dagen op maandag @@ -31,60 +31,60 @@ RRULE:FREQ=DAILY: # 0001 RRULE:FREQ=DAILY;BYDAY=MO,TH: en: Daily on Monday & Thursday - nl: Dagelijks op maandag & donderdag + nl: Dagelijks op maandag en donderdag # 0010 RRULE:FREQ=DAILY;BYMONTHDAY=1,-1: en: Daily on the 1st & last day of the month - nl: Dagelijks op de 1e & laatste dag van de maand + nl: Dagelijks op de eerste en laatste dag van de maand # 0011 RRULE:FREQ=DAILY;BYMONTHDAY=1,-1;BYDAY=MO,TH: en: Daily on Monday & Thursday that are also the 1st or last day of the month - nl: Dagelijks op maandag & donderdag die ook op de 1e of laatste dag van de maand + nl: Dagelijks op maandag en donderdag die tevens de eerste of laatste dag van de maand zijn # 0100 RRULE:FREQ=DAILY;BYMONTH=1,12: en: Daily in January & December - nl: Dagelijks in januari & december + nl: Dagelijks in januari en december # 0101 RRULE:FREQ=DAILY;BYMONTH=1,12;BYDAY=MO,TH: en: Daily in January & December on Monday & Thursday - nl: Dagelijks in januari & december op maandag & donderdag + nl: Dagelijks in januari en december op maandag en donderdag # 0110 RRULE:FREQ=DAILY;BYMONTH=1,12;BYMONTHDAY=1,-1: en: Daily in January & December on the 1st & last day of the month - nl: Dagelijks in januari & december op de 1e & laatste dag van de maand + nl: Dagelijks in januari en december op de eerste en laatste dag van de maand # 0111 RRULE:FREQ=DAILY;BYMONTH=1,12;BYMONTHDAY=1,-1;BYDAY=MO,TH: en: Daily in January & December on Monday & Thursday that are also the 1st or last day of the month - nl: Dagelijks in januari & december op maandag & donderdag die ook op de 1e of laatste dag van de maand + nl: Dagelijks in januari en december op maandag en donderdag die tevens de eerste of laatste dag van de maand zijn # 1000: invalid # 1001 RRULE:FREQ=DAILY;BYSETPOS=1,-2;BYDAY=MO,TH: en: Daily on the 1st & 2nd-to-last instance of Monday & Thursday - nl: Dagelijks op de 1e & 2e tot laatste van maandag & donderdag + nl: Dagelijks op de eerste en voorlaatste van maandag en donderdag # 1010 RRULE:FREQ=DAILY;BYSETPOS=1,-2;BYMONTHDAY=1,-1: en: Daily on the 1st & 2nd-to-last instance of the 1st & last day of the month - nl: Dagelijks op de 1e & 2e tot laatste van de 1e & laatste dag van de maand + nl: Dagelijks op de eerste en voorlaatste van de eerste en laatste dag van de maand # 1011 RRULE:FREQ=DAILY;BYSETPOS=1,-2;BYMONTHDAY=1,-1;BYDAY=MO,TH: en: Daily on the 1st & 2nd-to-last instance of Monday & Thursday that are also the 1st or last day of the month - nl: Dagelijks op de 1e & 2e tot laatste van maandag & donderdag die ook op de 1e of laatste dag van de maand + nl: Dagelijks op de eerste en voorlaatste van maandag en donderdag die tevens de eerste of laatste dag van de maand zijn # 1100 RRULE:FREQ=DAILY;BYSETPOS=1,-2;BYMONTH=1,12: en: Daily in January & December on the 1st & 2nd-to-last instance - nl: Dagelijks in januari & december op de 1e & 2e tot laatste + nl: Dagelijks in januari en december op de eerste en voorlaatste # 1101 RRULE:FREQ=DAILY;BYSETPOS=1,-2;BYMONTH=1,12;BYDAY=MO,TH: en: Daily in January & December on the 1st & 2nd-to-last instance of Monday & Thursday - nl: Dagelijks in januari & december op de 1e & 2e tot laatste van maandag & donderdag + nl: Dagelijks in januari en december op de eerste en voorlaatste van maandag en donderdag # 1110 RRULE:FREQ=DAILY;BYSETPOS=1,-2;BYMONTH=1,12;BYMONTHDAY=1,-1: en: Daily in January & December on the 1st & 2nd-to-last instance of the 1st & last day of the month - nl: Dagelijks in januari & december op de 1e & 2e tot laatste van de 1e & laatste dag van de maand + nl: Dagelijks in januari en december op de eerste en voorlaatste van de eerste en laatste dag van de maand # 1111 RRULE:FREQ=DAILY;BYSETPOS=1,-2;BYMONTH=1,12;BYMONTHDAY=1,-1;BYDAY=MO,TH: en: Daily in January & December on the 1st & 2nd-to-last instance of Monday & Thursday that are also the 1st or last day of the month - nl: Dagelijks in januari & december op de 1e & 2e tot laatste van maandag & donderdag die ook op de 1e of laatste dag van de maand + nl: Dagelijks in januari en december op de eerste en voorlaatste van maandag en donderdag die tevens de eerste of laatste dag van de maand zijn # Weekly @@ -93,7 +93,7 @@ RRULE:FREQ=WEEKLY;BYDAY=MO: nl: Wekelijks op maandag RRULE:FREQ=WEEKLY;INTERVAL=2;BYDAY=MO: en: Every other week on Monday - nl: Om de twee week op maandag + nl: Om de twee weken op maandag RRULE:FREQ=WEEKLY;INTERVAL=4;BYDAY=MO: en: Every 4 weeks on Monday nl: Om de 4 weken op maandag @@ -108,28 +108,28 @@ RRULE:FREQ=WEEKLY: # 001 RRULE:FREQ=WEEKLY;BYDAY=MO,TH: en: Weekly on Monday & Thursday - nl: Wekelijks op maandag & donderdag + nl: Wekelijks op maandag en donderdag # 010 RRULE:FREQ=WEEKLY;BYMONTH=1,12: en: Weekly in January & December - nl: Wekelijks in januari & december + nl: Wekelijks in januari en december # 011 RRULE:FREQ=WEEKLY;BYMONTH=1,12;BYDAY=MO,TH: en: Weekly in January & December on Monday & Thursday - nl: Wekelijks in januari & december op maandag & donderdag + nl: Wekelijks in januari en december op maandag en donderdag # 100: invalid # 101 RRULE:FREQ=WEEKLY;BYSETPOS=1,-2;BYDAY=MO,TH: en: Weekly on the 1st & 2nd-to-last instance of Monday & Thursday - nl: Wekelijks op de 1e & 2e tot laatste van maandag & donderdag + nl: Wekelijks op de eerste en voorlaatste van maandag en donderdag # 110 RRULE:FREQ=WEEKLY;BYSETPOS=1,-2;BYMONTH=1,12: en: Weekly in January & December on the 1st & 2nd-to-last instance - nl: Wekelijks in januari & december op de 1e & 2e tot laatste + nl: Wekelijks in januari en december op de eerste en voorlaatste # 111 RRULE:FREQ=WEEKLY;BYSETPOS=1,-2;BYMONTH=1,12;BYDAY=MO,TH: en: Weekly in January & December on the 1st & 2nd-to-last instance of Monday & Thursday - nl: Wekelijks in januari & december op de 1e & 2e tot laatste van maandag & donderdag + nl: Wekelijks in januari en december op de eerste en voorlaatste van maandag en donderdag # Monthly @@ -138,7 +138,7 @@ RRULE:FREQ=MONTHLY;BYDAY=MO: nl: Maandelijks op elke maandag RRULE:FREQ=MONTHLY;INTERVAL=2;BYDAY=MO: en: Every other month on every Monday - nl: Om de twee maand op elke maandag + nl: Om de twee maanden op elke maandag RRULE:FREQ=MONTHLY;INTERVAL=4;BYDAY=MO: en: Every 4 months on every Monday nl: Om de 4 maanden op elke maandag @@ -159,60 +159,60 @@ RRULE:FREQ=MONTHLY: # 0001 RRULE:FREQ=MONTHLY;BYDAY=MO,-1TH: en: Monthly on every Monday & the last Thursday - nl: Maandelijks op elke maandag & de laatste donderdag + nl: Maandelijks op elke maandag en de laatste donderdag # 0010 RRULE:FREQ=MONTHLY;BYMONTHDAY=1,-1: en: Monthly on the 1st & last day - nl: Maandelijks op de 1e & laatste dag + nl: Maandelijks op de eerste en laatste dag # 0011 RRULE:FREQ=MONTHLY;BYMONTHDAY=1,-1;BYDAY=MO,-1TH: en: Monthly on every Monday & the last Thursday that are also the 1st or last day of the month - nl: Maandelijks op elke maandag & de laatste donderdag die ook op de 1e of laatste dag van de maand + nl: Maandelijks op elke maandag en de laatste donderdag die tevens de eerste of laatste dag van de maand zijn # 0100 RRULE:FREQ=MONTHLY;BYMONTH=1,12: en: Monthly in January & December - nl: Maandelijks in januari & december + nl: Maandelijks in januari en december # 0101 RRULE:FREQ=MONTHLY;BYMONTH=1,12;BYDAY=MO,-1TH: en: Monthly in January & December on every Monday & the last Thursday - nl: Maandelijks in januari & december op elke maandag & de laatste donderdag + nl: Maandelijks in januari en december op elke maandag en de laatste donderdag # 0110 RRULE:FREQ=MONTHLY;BYMONTH=1,12;BYMONTHDAY=1,-1: en: Monthly in January & December on the 1st & last day - nl: Maandelijks in januari & december op de 1e & laatste dag + nl: Maandelijks in januari en december op de eerste en laatste dag # 0111 RRULE:FREQ=MONTHLY;BYMONTH=1,12;BYMONTHDAY=1,-1;BYDAY=MO,-1TH: en: Monthly in January & December on every Monday & the last Thursday that are also the 1st or last day of the month - nl: Maandelijks in januari & december op elke maandag & de laatste donderdag die ook op de 1e of laatste dag van de maand + nl: Maandelijks in januari en december op elke maandag en de laatste donderdag die tevens de eerste of laatste dag van de maand zijn # 1000: invalid # 1001 RRULE:FREQ=MONTHLY;BYSETPOS=1,-2;BYDAY=MO,-1TH: en: Monthly on the 1st & 2nd-to-last instance of every Monday & the last Thursday - nl: Maandelijks op de 1e & 2e tot laatste van elke maandag & de laatste donderdag + nl: Maandelijks op de eerste en voorlaatste van elke maandag en de laatste donderdag # 1010 RRULE:FREQ=MONTHLY;BYSETPOS=1,-2;BYMONTHDAY=1,-1: en: Monthly on the 1st & 2nd-to-last instance of the 1st & last day - nl: Maandelijks op de 1e & 2e tot laatste van de 1e & laatste dag + nl: Maandelijks op de eerste en voorlaatste van de eerste en laatste dag # 1011 RRULE:FREQ=MONTHLY;BYSETPOS=1,-2;BYMONTHDAY=1,-1;BYDAY=MO,-1TH: en: Monthly on the 1st & 2nd-to-last instance of every Monday & the last Thursday that are also the 1st or last day of the month - nl: Maandelijks op de 1e & 2e tot laatste van elke maandag & de laatste donderdag die ook op de 1e of laatste dag van de maand + nl: Maandelijks op de eerste en voorlaatste van elke maandag en de laatste donderdag die tevens de eerste of laatste dag van de maand zijn # 1100 RRULE:FREQ=MONTHLY;BYSETPOS=1,-2;BYMONTH=1,12: en: Monthly in January & December on the 1st & 2nd-to-last instance - nl: Maandelijks in januari & december op de 1e & 2e tot laatste + nl: Maandelijks in januari en december op de eerste en voorlaatste # 1101 RRULE:FREQ=MONTHLY;BYSETPOS=1,-2;BYMONTH=1,12;BYDAY=MO,-1TH: en: Monthly in January & December on the 1st & 2nd-to-last instance of every Monday & the last Thursday - nl: Maandelijks in januari & december op de 1e & 2e tot laatste van elke maandag & de laatste donderdag + nl: Maandelijks in januari en december op de eerste en voorlaatste van elke maandag en de laatste donderdag # 1110 RRULE:FREQ=MONTHLY;BYSETPOS=1,-2;BYMONTH=1,12;BYMONTHDAY=1,-1: en: Monthly in January & December on the 1st & 2nd-to-last instance of the 1st & last day - nl: Maandelijks in januari & december op de 1e & 2e tot laatste van de 1e & laatste dag + nl: Maandelijks in januari en december op de eerste en voorlaatste van de eerste en laatste dag # 1111 RRULE:FREQ=MONTHLY;BYSETPOS=1,-2;BYMONTH=1,12;BYMONTHDAY=1,-1;BYDAY=MO,-1TH: en: Monthly in January & December on the 1st & 2nd-to-last instance of every Monday & the last Thursday that are also the 1st or last day of the month - nl: Maandelijks in januari & december op de 1e & 2e tot laatste van elke maandag & de laatste donderdag die ook op de 1e of laatste dag van de maand + nl: Maandelijks in januari en december op de eerste en voorlaatste van elke maandag en de laatste donderdag die tevens de eerste of laatste dag van de maand zijn # Yearly @@ -237,259 +237,259 @@ RRULE:FREQ=YEARLY: # 000001 RRULE:FREQ=YEARLY;BYDAY=MO,-1TH: en: Annually on every Monday & the last Thursday of the year - nl: Jaarlijks op elke maandag & de laatste donderdag van het jaar + nl: Jaarlijks op elke maandag en de laatste donderdag van het jaar # 000010 RRULE:FREQ=YEARLY;BYMONTHDAY=1,-1: en: Annually on the 1st & last day of the month - nl: Jaarlijks op de 1e & laatste dag van de maand + nl: Jaarlijks op de eerste en laatste dag van de maand # 000011 RRULE:FREQ=YEARLY;BYMONTHDAY=1,-1;BYDAY=MO,-1TH: en: Annually on every Monday & the last Thursday of the year that are also the 1st or last day of the month - nl: Jaarlijks op elke maandag & de laatste donderdag van het jaar die ook op de 1e of laatste dag van de maand + nl: Jaarlijks op elke maandag en de laatste donderdag van het jaar die tevens de eerste of laatste dag van de maand zijn # 000100 RRULE:FREQ=YEARLY;BYYEARDAY=1,-1: en: Annually on the 1st & last day of the year - nl: Jaarlijks op de 1e & laatste dag van het jaar + nl: Jaarlijks op de eerste en laatste dag van het jaar # 000101 RRULE:FREQ=YEARLY;BYYEARDAY=1,-1;BYDAY=MO,-1TH: en: Annually on every Monday & the last Thursday of the year that are also the 1st or last day of the year - nl: Jaarlijks op elke maandag & de laatste donderdag van het jaar die ook op de 1e of laatste dag van het jaar + nl: Jaarlijks op elke maandag en de laatste donderdag van het jaar die tevens de eerste of laatste dag van het jaar zijn # 000110 RRULE:FREQ=YEARLY;BYYEARDAY=1,-1;BYMONTHDAY=1,-1: en: Annually on the 1st & last day of the month that are also the 1st or last day of the year - nl: Jaarlijks op de 1e & laatste dag van de maand die ook op de 1e of laatste dag van het jaar + nl: Jaarlijks op de eerste en laatste dag van de maand die tevens de eerste of laatste dag van het jaar zijn # 000111 RRULE:FREQ=YEARLY;BYYEARDAY=1,-1;BYMONTHDAY=1,-1;BYDAY=MO,-1TH: en: Annually on every Monday & the last Thursday of the year that are also the 1st or last day of the month and that are also the 1st or last day of the year - nl: Jaarlijks op elke maandag & de laatste donderdag van het jaar die ook op de 1e of laatste dag van de maand en die ook op de 1e of laatste dag van het jaar + nl: Jaarlijks op elke maandag en de laatste donderdag van het jaar die tevens de eerste of laatste dag van de maand zijn en die tevens de eerste of laatste dag van het jaar zijn # 001000 RRULE:FREQ=YEARLY;BYWEEKNO=1,-1: en: Annually in the 1st & last week of the year - nl: Jaarlijks in week 1e & laatste + nl: Jaarlijks in de eerste en laatste week # 001001 RRULE:FREQ=YEARLY;BYWEEKNO=1,-1;BYDAY=MO,WE: en: Annually on every Monday & Wednesday in the 1st & last week of the year - nl: Jaarlijks op elke maandag & woensdag in week 1e & laatste + nl: Jaarlijks op elke maandag en woensdag in de eerste en laatste week # 001010 RRULE:FREQ=YEARLY;BYWEEKNO=1,-1;BYMONTHDAY=1,-1: en: Annually on the 1st & last day of the month that are also in the 1st or last week of the year - nl: Jaarlijks op de 1e & laatste dag van de maand die ook in week 1e of laatste + nl: Jaarlijks op de eerste en laatste dag van de maand die tevens in de eerste of laatste week vallen # 001011 RRULE:FREQ=YEARLY;BYWEEKNO=1,-1;BYMONTHDAY=1,-1;BYDAY=MO,WE: en: Annually on every Monday & Wednesday that are also the 1st or last day of the month and that are also in the 1st or last week of the year - nl: Jaarlijks op elke maandag & woensdag die ook op de 1e of laatste dag van de maand en die ook in week 1e of laatste + nl: Jaarlijks op elke maandag en woensdag die tevens de eerste of laatste dag van de maand zijn en die tevens in de eerste of laatste week vallen # 001100 RRULE:FREQ=YEARLY;BYWEEKNO=1,-1;BYYEARDAY=1,-1: en: Annually on the 1st & last day of the year that are also in the 1st or last week of the year - nl: Jaarlijks op de 1e & laatste dag van het jaar die ook in week 1e of laatste + nl: Jaarlijks op de eerste en laatste dag van het jaar die tevens in de eerste of laatste week vallen # 001101 RRULE:FREQ=YEARLY;BYWEEKNO=1,-1;BYYEARDAY=1,-1;BYDAY=MO,WE: en: Annually on every Monday & Wednesday that are also the 1st or last day of the year and that are also in the 1st or last week of the year - nl: Jaarlijks op elke maandag & woensdag die ook op de 1e of laatste dag van het jaar en die ook in week 1e of laatste + nl: Jaarlijks op elke maandag en woensdag die tevens de eerste of laatste dag van het jaar zijn en die tevens in de eerste of laatste week vallen # 001110 RRULE:FREQ=YEARLY;BYWEEKNO=1,-1;BYYEARDAY=1,-1;BYMONTHDAY=1,-1: en: Annually on the 1st & last day of the month that are also the 1st or last day of the year and that are also in the 1st or last week of the year - nl: Jaarlijks op de 1e & laatste dag van de maand die ook op de 1e of laatste dag van het jaar en die ook in week 1e of laatste + nl: Jaarlijks op de eerste en laatste dag van de maand die tevens de eerste of laatste dag van het jaar zijn en die tevens in de eerste of laatste week vallen # 001111 RRULE:FREQ=YEARLY;BYWEEKNO=1,-1;BYYEARDAY=1,-1;BYMONTHDAY=1,-1;BYDAY=MO,WE: en: "Annually on every Monday & Wednesday that are also the 1st or last day of the month, that are also the 1st or last day of the year, and that are also in the 1st or last week of the year" - nl: "Jaarlijks op elke maandag & woensdag die ook op de 1e of laatste dag van de maand, die ook op de 1e of laatste dag van het jaar, en die ook in week 1e of laatste" + nl: "Jaarlijks op elke maandag en woensdag die tevens de eerste of laatste dag van de maand zijn, die tevens de eerste of laatste dag van het jaar zijn, en die tevens in de eerste of laatste week vallen" # 010000 RRULE:FREQ=YEARLY;BYMONTH=1,12: en: Annually in January & December - nl: Jaarlijks in januari & december + nl: Jaarlijks in januari en december # 010001 RRULE:FREQ=YEARLY;BYMONTH=1,12;BYDAY=MO,-1TH: en: Annually on every Monday & the last Thursday of the month in January & December - nl: Jaarlijks op elke maandag & de laatste donderdag van de maand in januari & december + nl: Jaarlijks op elke maandag en de laatste donderdag van de maand in januari en december # 010010 RRULE:FREQ=YEARLY;BYMONTH=1,12;BYMONTHDAY=1,-1: en: Annually on the 1st & last day of the month in January & December - nl: Jaarlijks op de 1e & laatste dag van de maand in januari & december + nl: Jaarlijks op de eerste en laatste dag van de maand in januari en december # 010011 # TODO(JonasWanke): the 1st or last day in January or December RRULE:FREQ=YEARLY;BYMONTH=1,12;BYMONTHDAY=1,-1;BYDAY=MO,-1TH: en: Annually on every Monday & the last Thursday of the year that are also the 1st or last day of the month and that are also in January or December - nl: Jaarlijks op elke maandag & de laatste donderdag van het jaar die ook op de 1e of laatste dag van de maand en die ook in januari of december + nl: Jaarlijks op elke maandag en de laatste donderdag van het jaar die tevens de eerste of laatste dag van de maand zijn en die tevens in januari of december vallen # 010100 RRULE:FREQ=YEARLY;BYMONTH=1,12;BYYEARDAY=1,-1: en: Annually on the 1st & last day of the year that are also in January or December - nl: Jaarlijks op de 1e & laatste dag van het jaar die ook in januari of december + nl: Jaarlijks op de eerste en laatste dag van het jaar die tevens in januari of december vallen # 010101 RRULE:FREQ=YEARLY;BYMONTH=1,12;BYYEARDAY=1,-1;BYDAY=MO,-1TH: en: Annually on every Monday & the last Thursday of the year that are also the 1st or last day of the year and that are also in January or December - nl: Jaarlijks op elke maandag & de laatste donderdag van het jaar die ook op de 1e of laatste dag van het jaar en die ook in januari of december + nl: Jaarlijks op elke maandag en de laatste donderdag van het jaar die tevens de eerste of laatste dag van het jaar zijn en die tevens in januari of december vallen # 010110 RRULE:FREQ=YEARLY;BYMONTH=1,12;BYYEARDAY=1,-1;BYMONTHDAY=1,-1: en: Annually on the 1st & last day of the month that are also the 1st or last day of the year and that are also in January or December - nl: Jaarlijks op de 1e & laatste dag van de maand die ook op de 1e of laatste dag van het jaar en die ook in januari of december + nl: Jaarlijks op de eerste en laatste dag van de maand die tevens de eerste of laatste dag van het jaar zijn en die tevens in januari of december vallen # 010111 RRULE:FREQ=YEARLY;BYMONTH=1,12;BYYEARDAY=1,-1;BYMONTHDAY=1,-1;BYDAY=MO,-1TH: en: "Annually on every Monday & the last Thursday of the year that are also the 1st or last day of the month, that are also the 1st or last day of the year, and that are also in January or December" - nl: "Jaarlijks op elke maandag & de laatste donderdag van het jaar die ook op de 1e of laatste dag van de maand, die ook op de 1e of laatste dag van het jaar, en die ook in januari of december" + nl: "Jaarlijks op elke maandag en de laatste donderdag van het jaar die tevens de eerste of laatste dag van de maand zijn, die tevens de eerste of laatste dag van het jaar zijn, en die tevens in januari of december vallen" # 011000 RRULE:FREQ=YEARLY;BYMONTH=1,12;BYWEEKNO=1,-1: en: Annually in the 1st & last week of the year that are also in January or December - nl: Jaarlijks in week 1e & laatste die ook in januari of december + nl: Jaarlijks in de eerste en laatste week die tevens in januari of december vallen # 011001 RRULE:FREQ=YEARLY;BYMONTH=1,12;BYWEEKNO=1,-1;BYDAY=MO,WE: en: Annually on every Monday & Wednesday in the 1st & last week of the year that are also in January or December - nl: Jaarlijks op elke maandag & woensdag in week 1e & laatste die ook in januari of december + nl: Jaarlijks op elke maandag en woensdag in de eerste en laatste week die tevens in januari of december vallen # 011010 RRULE:FREQ=YEARLY;BYMONTH=1,12;BYWEEKNO=1,-1;BYMONTHDAY=1,-1: en: Annually on the 1st & last day of the month that are also in the 1st or last week of the year and that are also in January or December - nl: Jaarlijks op de 1e & laatste dag van de maand die ook in week 1e of laatste en die ook in januari of december + nl: Jaarlijks op de eerste en laatste dag van de maand die tevens in de eerste of laatste week vallen en die tevens in januari of december vallen # 011011 RRULE:FREQ=YEARLY;BYMONTH=1,12;BYWEEKNO=1,-1;BYMONTHDAY=1,-1;BYDAY=MO,WE: en: "Annually on every Monday & Wednesday that are also the 1st or last day of the month, that are also in the 1st or last week of the year, and that are also in January or December" - nl: "Jaarlijks op elke maandag & woensdag die ook op de 1e of laatste dag van de maand, die ook in week 1e of laatste, en die ook in januari of december" + nl: "Jaarlijks op elke maandag en woensdag die tevens de eerste of laatste dag van de maand zijn, die tevens in de eerste of laatste week vallen, en die tevens in januari of december vallen" # 011100 RRULE:FREQ=YEARLY;BYMONTH=1,12;BYWEEKNO=1,-1;BYYEARDAY=1,-1: en: Annually on the 1st & last day of the year that are also in the 1st or last week of the year and that are also in January or December - nl: Jaarlijks op de 1e & laatste dag van het jaar die ook in week 1e of laatste en die ook in januari of december + nl: Jaarlijks op de eerste en laatste dag van het jaar die tevens in de eerste of laatste week vallen en die tevens in januari of december vallen # 011101 RRULE:FREQ=YEARLY;BYMONTH=1,12;BYWEEKNO=1,-1;BYYEARDAY=1,-1;BYDAY=MO,WE: en: "Annually on every Monday & Wednesday that are also the 1st or last day of the year, that are also in the 1st or last week of the year, and that are also in January or December" - nl: "Jaarlijks op elke maandag & woensdag die ook op de 1e of laatste dag van het jaar, die ook in week 1e of laatste, en die ook in januari of december" + nl: "Jaarlijks op elke maandag en woensdag die tevens de eerste of laatste dag van het jaar zijn, die tevens in de eerste of laatste week vallen, en die tevens in januari of december vallen" # 011110 RRULE:FREQ=YEARLY;BYMONTH=1,12;BYWEEKNO=1,-1;BYYEARDAY=1,-1;BYMONTHDAY=1,-1: en: "Annually on the 1st & last day of the month that are also the 1st or last day of the year, that are also in the 1st or last week of the year, and that are also in January or December" - nl: "Jaarlijks op de 1e & laatste dag van de maand die ook op de 1e of laatste dag van het jaar, die ook in week 1e of laatste, en die ook in januari of december" + nl: "Jaarlijks op de eerste en laatste dag van de maand die tevens de eerste of laatste dag van het jaar zijn, die tevens in de eerste of laatste week vallen, en die tevens in januari of december vallen" # 011111 RRULE:FREQ=YEARLY;BYMONTH=1,12;BYWEEKNO=1,-1;BYYEARDAY=1,-1;BYMONTHDAY=1,-1;BYDAY=MO,WE: en: "Annually on every Monday & Wednesday that are also the 1st or last day of the month, that are also the 1st or last day of the year, that are also in the 1st or last week of the year, and that are also in January or December" - nl: "Jaarlijks op elke maandag & woensdag die ook op de 1e of laatste dag van de maand, die ook op de 1e of laatste dag van het jaar, die ook in week 1e of laatste, en die ook in januari of december" + nl: "Jaarlijks op elke maandag en woensdag die tevens de eerste of laatste dag van de maand zijn, die tevens de eerste of laatste dag van het jaar zijn, die tevens in de eerste of laatste week vallen, en die tevens in januari of december vallen" # 100000: invalid # 100001 RRULE:FREQ=YEARLY;BYSETPOS=1,-2;BYDAY=MO,-1TH: en: Annually on the 1st & 2nd-to-last instance of every Monday & the last Thursday of the year - nl: Jaarlijks op de 1e & 2e tot laatste van elke maandag & de laatste donderdag van het jaar + nl: Jaarlijks op de eerste en voorlaatste van elke maandag en de laatste donderdag van het jaar # 100010 RRULE:FREQ=YEARLY;BYSETPOS=1,-2;BYMONTHDAY=1,-1: en: Annually on the 1st & 2nd-to-last instance of the 1st & last day of the month - nl: Jaarlijks op de 1e & 2e tot laatste van de 1e & laatste dag van de maand + nl: Jaarlijks op de eerste en voorlaatste van de eerste en laatste dag van de maand # 100011 RRULE:FREQ=YEARLY;BYSETPOS=1,-2;BYMONTHDAY=1,-1;BYDAY=MO,-1TH: en: Annually on the 1st & 2nd-to-last instance of every Monday & the last Thursday of the year that are also the 1st or last day of the month - nl: Jaarlijks op de 1e & 2e tot laatste van elke maandag & de laatste donderdag van het jaar die ook op de 1e of laatste dag van de maand + nl: Jaarlijks op de eerste en voorlaatste van elke maandag en de laatste donderdag van het jaar die tevens de eerste of laatste dag van de maand zijn # 100100 RRULE:FREQ=YEARLY;BYSETPOS=1,-2;BYYEARDAY=1,-1: en: Annually on the 1st & 2nd-to-last instance of the 1st & last day of the year - nl: Jaarlijks op de 1e & 2e tot laatste van de 1e & laatste dag van het jaar + nl: Jaarlijks op de eerste en voorlaatste van de eerste en laatste dag van het jaar # 100101 RRULE:FREQ=YEARLY;BYSETPOS=1,-2;BYYEARDAY=1,-1;BYDAY=MO,-1TH: en: Annually on the 1st & 2nd-to-last instance of every Monday & the last Thursday of the year that are also the 1st or last day of the year - nl: Jaarlijks op de 1e & 2e tot laatste van elke maandag & de laatste donderdag van het jaar die ook op de 1e of laatste dag van het jaar + nl: Jaarlijks op de eerste en voorlaatste van elke maandag en de laatste donderdag van het jaar die tevens de eerste of laatste dag van het jaar zijn # 100110 RRULE:FREQ=YEARLY;BYSETPOS=1,-2;BYYEARDAY=1,-1;BYMONTHDAY=1,-1: en: Annually on the 1st & 2nd-to-last instance of the 1st & last day of the month that are also the 1st or last day of the year - nl: Jaarlijks op de 1e & 2e tot laatste van de 1e & laatste dag van de maand die ook op de 1e of laatste dag van het jaar + nl: Jaarlijks op de eerste en voorlaatste van de eerste en laatste dag van de maand die tevens de eerste of laatste dag van het jaar zijn # 100111 RRULE:FREQ=YEARLY;BYSETPOS=1,-2;BYYEARDAY=1,-1;BYMONTHDAY=1,-1;BYDAY=MO,-1TH: en: Annually on the 1st & 2nd-to-last instance of every Monday & the last Thursday of the year that are also the 1st or last day of the month and that are also the 1st or last day of the year - nl: Jaarlijks op de 1e & 2e tot laatste van elke maandag & de laatste donderdag van het jaar die ook op de 1e of laatste dag van de maand en die ook op de 1e of laatste dag van het jaar + nl: Jaarlijks op de eerste en voorlaatste van elke maandag en de laatste donderdag van het jaar die tevens de eerste of laatste dag van de maand zijn en die tevens de eerste of laatste dag van het jaar zijn # 101000 RRULE:FREQ=YEARLY;BYSETPOS=1,-2;BYWEEKNO=1,-1: en: Annually on the 1st & 2nd-to-last instance of the 1st & last week of the year - nl: Jaarlijks op de 1e & 2e tot laatste van week 1e & laatste + nl: Jaarlijks op de eerste en voorlaatste van de eerste en laatste week # 101001 RRULE:FREQ=YEARLY;BYSETPOS=1,-2;BYWEEKNO=1,-1;BYDAY=MO,WE: en: Annually on the 1st & 2nd-to-last instance of every Monday & Wednesday in the 1st & last week of the year - nl: Jaarlijks op de 1e & 2e tot laatste van elke maandag & woensdag in week 1e & laatste + nl: Jaarlijks op de eerste en voorlaatste van elke maandag en woensdag in de eerste en laatste week # 101010 RRULE:FREQ=YEARLY;BYSETPOS=1,-2;BYWEEKNO=1,-1;BYMONTHDAY=1,-1: en: Annually on the 1st & 2nd-to-last instance of the 1st & last day of the month that are also in the 1st or last week of the year - nl: Jaarlijks op de 1e & 2e tot laatste van de 1e & laatste dag van de maand die ook in week 1e of laatste + nl: Jaarlijks op de eerste en voorlaatste van de eerste en laatste dag van de maand die tevens in de eerste of laatste week vallen # 101011 RRULE:FREQ=YEARLY;BYSETPOS=1,-2;BYWEEKNO=1,-1;BYMONTHDAY=1,-1;BYDAY=MO,WE: en: Annually on the 1st & 2nd-to-last instance of every Monday & Wednesday that are also the 1st or last day of the month and that are also in the 1st or last week of the year - nl: Jaarlijks op de 1e & 2e tot laatste van elke maandag & woensdag die ook op de 1e of laatste dag van de maand en die ook in week 1e of laatste + nl: Jaarlijks op de eerste en voorlaatste van elke maandag en woensdag die tevens de eerste of laatste dag van de maand zijn en die tevens in de eerste of laatste week vallen # 101100 RRULE:FREQ=YEARLY;BYSETPOS=1,-2;BYWEEKNO=1,-1;BYYEARDAY=1,-1: en: Annually on the 1st & 2nd-to-last instance of the 1st & last day of the year that are also in the 1st or last week of the year - nl: Jaarlijks op de 1e & 2e tot laatste van de 1e & laatste dag van het jaar die ook in week 1e of laatste + nl: Jaarlijks op de eerste en voorlaatste van de eerste en laatste dag van het jaar die tevens in de eerste of laatste week vallen # 101101 RRULE:FREQ=YEARLY;BYSETPOS=1,-2;BYWEEKNO=1,-1;BYYEARDAY=1,-1;BYDAY=MO,WE: en: Annually on the 1st & 2nd-to-last instance of every Monday & Wednesday that are also the 1st or last day of the year and that are also in the 1st or last week of the year - nl: Jaarlijks op de 1e & 2e tot laatste van elke maandag & woensdag die ook op de 1e of laatste dag van het jaar en die ook in week 1e of laatste + nl: Jaarlijks op de eerste en voorlaatste van elke maandag en woensdag die tevens de eerste of laatste dag van het jaar zijn en die tevens in de eerste of laatste week vallen # 101110 RRULE:FREQ=YEARLY;BYSETPOS=1,-2;BYWEEKNO=1,-1;BYYEARDAY=1,-1;BYMONTHDAY=1,-1: en: Annually on the 1st & 2nd-to-last instance of the 1st & last day of the month that are also the 1st or last day of the year and that are also in the 1st or last week of the year - nl: Jaarlijks op de 1e & 2e tot laatste van de 1e & laatste dag van de maand die ook op de 1e of laatste dag van het jaar en die ook in week 1e of laatste + nl: Jaarlijks op de eerste en voorlaatste van de eerste en laatste dag van de maand die tevens de eerste of laatste dag van het jaar zijn en die tevens in de eerste of laatste week vallen # 101111 RRULE:FREQ=YEARLY;BYSETPOS=1,-2;BYWEEKNO=1,-1;BYYEARDAY=1,-1;BYMONTHDAY=1,-1;BYDAY=MO,WE: en: "Annually on the 1st & 2nd-to-last instance of every Monday & Wednesday that are also the 1st or last day of the month, that are also the 1st or last day of the year, and that are also in the 1st or last week of the year" - nl: "Jaarlijks op de 1e & 2e tot laatste van elke maandag & woensdag die ook op de 1e of laatste dag van de maand, die ook op de 1e of laatste dag van het jaar, en die ook in week 1e of laatste" + nl: "Jaarlijks op de eerste en voorlaatste van elke maandag en woensdag die tevens de eerste of laatste dag van de maand zijn, die tevens de eerste of laatste dag van het jaar zijn, en die tevens in de eerste of laatste week vallen" # 110000 RRULE:FREQ=YEARLY;BYSETPOS=1,-2;BYMONTH=1,12: en: Annually on the 1st & 2nd-to-last instance of January & December - nl: Jaarlijks op de 1e & 2e tot laatste van januari & december + nl: Jaarlijks op de eerste en voorlaatste van januari en december # 110001 RRULE:FREQ=YEARLY;BYSETPOS=1,-2;BYMONTH=1,12;BYDAY=MO,-1TH: en: Annually on the 1st & 2nd-to-last instance of every Monday & the last Thursday of the month in January & December - nl: Jaarlijks op de 1e & 2e tot laatste van elke maandag & de laatste donderdag van de maand in januari & december + nl: Jaarlijks op de eerste en voorlaatste van elke maandag en de laatste donderdag van de maand in januari en december # 110010 RRULE:FREQ=YEARLY;BYSETPOS=1,-2;BYMONTH=1,12;BYMONTHDAY=1,-1: en: Annually on the 1st & 2nd-to-last instance of the 1st & last day of the month in January & December - nl: Jaarlijks op de 1e & 2e tot laatste van de 1e & laatste dag van de maand in januari & december + nl: Jaarlijks op de eerste en voorlaatste van de eerste en laatste dag van de maand in januari en december # 110011 RRULE:FREQ=YEARLY;BYSETPOS=1,-2;BYMONTH=1,12;BYMONTHDAY=1,-1;BYDAY=MO,-1TH: en: Annually on the 1st & 2nd-to-last instance of every Monday & the last Thursday of the year that are also the 1st or last day of the month and that are also in January or December - nl: Jaarlijks op de 1e & 2e tot laatste van elke maandag & de laatste donderdag van het jaar die ook op de 1e of laatste dag van de maand en die ook in januari of december + nl: Jaarlijks op de eerste en voorlaatste van elke maandag en de laatste donderdag van het jaar die tevens de eerste of laatste dag van de maand zijn en die tevens in januari of december vallen # 110100 RRULE:FREQ=YEARLY;BYSETPOS=1,-2;BYMONTH=1,12;BYYEARDAY=1,-1: en: Annually on the 1st & 2nd-to-last instance of the 1st & last day of the year that are also in January or December - nl: Jaarlijks op de 1e & 2e tot laatste van de 1e & laatste dag van het jaar die ook in januari of december + nl: Jaarlijks op de eerste en voorlaatste van de eerste en laatste dag van het jaar die tevens in januari of december vallen # 110101 RRULE:FREQ=YEARLY;BYSETPOS=1,-2;BYMONTH=1,12;BYYEARDAY=1,-1;BYDAY=MO,-1TH: en: Annually on the 1st & 2nd-to-last instance of every Monday & the last Thursday of the year that are also the 1st or last day of the year and that are also in January or December - nl: Jaarlijks op de 1e & 2e tot laatste van elke maandag & de laatste donderdag van het jaar die ook op de 1e of laatste dag van het jaar en die ook in januari of december + nl: Jaarlijks op de eerste en voorlaatste van elke maandag en de laatste donderdag van het jaar die tevens de eerste of laatste dag van het jaar zijn en die tevens in januari of december vallen # 110110 RRULE:FREQ=YEARLY;BYSETPOS=1,-2;BYMONTH=1,12;BYYEARDAY=1,-1;BYMONTHDAY=1,-1: en: Annually on the 1st & 2nd-to-last instance of the 1st & last day of the month that are also the 1st or last day of the year and that are also in January or December - nl: Jaarlijks op de 1e & 2e tot laatste van de 1e & laatste dag van de maand die ook op de 1e of laatste dag van het jaar en die ook in januari of december + nl: Jaarlijks op de eerste en voorlaatste van de eerste en laatste dag van de maand die tevens de eerste of laatste dag van het jaar zijn en die tevens in januari of december vallen # 110111 RRULE:FREQ=YEARLY;BYSETPOS=1,-2;BYMONTH=1,12;BYYEARDAY=1,-1;BYMONTHDAY=1,-1;BYDAY=MO,-1TH: en: "Annually on the 1st & 2nd-to-last instance of every Monday & the last Thursday of the year that are also the 1st or last day of the month, that are also the 1st or last day of the year, and that are also in January or December" - nl: "Jaarlijks op de 1e & 2e tot laatste van elke maandag & de laatste donderdag van het jaar die ook op de 1e of laatste dag van de maand, die ook op de 1e of laatste dag van het jaar, en die ook in januari of december" + nl: "Jaarlijks op de eerste en voorlaatste van elke maandag en de laatste donderdag van het jaar die tevens de eerste of laatste dag van de maand zijn, die tevens de eerste of laatste dag van het jaar zijn, en die tevens in januari of december vallen" # 111000 RRULE:FREQ=YEARLY;BYSETPOS=1,-2;BYMONTH=1,12;BYWEEKNO=1,-1: en: Annually on the 1st & 2nd-to-last instance of the 1st & last week of the year that are also in January or December - nl: Jaarlijks op de 1e & 2e tot laatste van week 1e & laatste die ook in januari of december + nl: Jaarlijks op de eerste en voorlaatste van de eerste en laatste week die tevens in januari of december vallen # 111001 RRULE:FREQ=YEARLY;BYSETPOS=1,-2;BYMONTH=1,12;BYWEEKNO=1,-1;BYDAY=MO,WE: en: Annually on the 1st & 2nd-to-last instance of every Monday & Wednesday in the 1st & last week of the year that are also in January or December - nl: Jaarlijks op de 1e & 2e tot laatste van elke maandag & woensdag in week 1e & laatste die ook in januari of december + nl: Jaarlijks op de eerste en voorlaatste van elke maandag en woensdag in de eerste en laatste week die tevens in januari of december vallen # 111010 RRULE:FREQ=YEARLY;BYSETPOS=1,-2;BYMONTH=1,12;BYWEEKNO=1,-1;BYMONTHDAY=1,-1: en: Annually on the 1st & 2nd-to-last instance of the 1st & last day of the month that are also in the 1st or last week of the year and that are also in January or December - nl: Jaarlijks op de 1e & 2e tot laatste van de 1e & laatste dag van de maand die ook in week 1e of laatste en die ook in januari of december + nl: Jaarlijks op de eerste en voorlaatste van de eerste en laatste dag van de maand die tevens in de eerste of laatste week vallen en die tevens in januari of december vallen # 111011 RRULE:FREQ=YEARLY;BYSETPOS=1,-2;BYMONTH=1,12;BYWEEKNO=1,-1;BYMONTHDAY=1,-1;BYDAY=MO,WE: en: "Annually on the 1st & 2nd-to-last instance of every Monday & Wednesday that are also the 1st or last day of the month, that are also in the 1st or last week of the year, and that are also in January or December" - nl: "Jaarlijks op de 1e & 2e tot laatste van elke maandag & woensdag die ook op de 1e of laatste dag van de maand, die ook in week 1e of laatste, en die ook in januari of december" + nl: "Jaarlijks op de eerste en voorlaatste van elke maandag en woensdag die tevens de eerste of laatste dag van de maand zijn, die tevens in de eerste of laatste week vallen, en die tevens in januari of december vallen" # 111100 RRULE:FREQ=YEARLY;BYSETPOS=1,-2;BYMONTH=1,12;BYWEEKNO=1,-1;BYYEARDAY=1,-1: en: Annually on the 1st & 2nd-to-last instance of the 1st & last day of the year that are also in the 1st or last week of the year and that are also in January or December - nl: Jaarlijks op de 1e & 2e tot laatste van de 1e & laatste dag van het jaar die ook in week 1e of laatste en die ook in januari of december + nl: Jaarlijks op de eerste en voorlaatste van de eerste en laatste dag van het jaar die tevens in de eerste of laatste week vallen en die tevens in januari of december vallen # 111101 RRULE:FREQ=YEARLY;BYSETPOS=1,-2;BYMONTH=1,12;BYWEEKNO=1,-1;BYYEARDAY=1,-1;BYDAY=MO,WE: en: "Annually on the 1st & 2nd-to-last instance of every Monday & Wednesday that are also the 1st or last day of the year, that are also in the 1st or last week of the year, and that are also in January or December" - nl: "Jaarlijks op de 1e & 2e tot laatste van elke maandag & woensdag die ook op de 1e of laatste dag van het jaar, die ook in week 1e of laatste, en die ook in januari of december" + nl: "Jaarlijks op de eerste en voorlaatste van elke maandag en woensdag die tevens de eerste of laatste dag van het jaar zijn, die tevens in de eerste of laatste week vallen, en die tevens in januari of december vallen" # 111110 RRULE:FREQ=YEARLY;BYSETPOS=1,-2;BYMONTH=1,12;BYWEEKNO=1,-1;BYYEARDAY=1,-1;BYMONTHDAY=1,-1: en: "Annually on the 1st & 2nd-to-last instance of the 1st & last day of the month that are also the 1st or last day of the year, that are also in the 1st or last week of the year, and that are also in January or December" - nl: "Jaarlijks op de 1e & 2e tot laatste van de 1e & laatste dag van de maand die ook op de 1e of laatste dag van het jaar, die ook in week 1e of laatste, en die ook in januari of december" + nl: "Jaarlijks op de eerste en voorlaatste van de eerste en laatste dag van de maand die tevens de eerste of laatste dag van het jaar zijn, die tevens in de eerste of laatste week vallen, en die tevens in januari of december vallen" # 111111 RRULE:FREQ=YEARLY;BYSETPOS=1,-2;BYMONTH=1,12;BYWEEKNO=1,-1;BYYEARDAY=1,-1;BYMONTHDAY=1,-1;BYDAY=MO,WE: en: "Annually on the 1st & 2nd-to-last instance of every Monday & Wednesday that are also the 1st or last day of the month, that are also the 1st or last day of the year, that are also in the 1st or last week of the year, and that are also in January or December" - nl: "Jaarlijks op de 1e & 2e tot laatste van elke maandag & woensdag die ook op de 1e of laatste dag van de maand, die ook op de 1e of laatste dag van het jaar, die ook in week 1e of laatste, en die ook in januari of december" + nl: "Jaarlijks op de eerste en voorlaatste van elke maandag en woensdag die tevens de eerste of laatste dag van de maand zijn, die tevens de eerste of laatste dag van het jaar zijn, die tevens in de eerste of laatste week vallen, en die tevens in januari of december vallen" # All remaining examples taken from https://github.com/jakubroztocil/rrule/blob/3dc698300e5861311249e85e0e237708702b055d/test/nlp.test.ts, # though with modified texts. RRULE:FREQ=HOURLY: en: Hourly - nl: Uurlijks + nl: Elk uur RRULE:INTERVAL=4;FREQ=HOURLY: en: Every 4 hours nl: Om de 4 uren @@ -498,44 +498,44 @@ RRULE:FREQ=WEEKLY;COUNT=20: nl: "Wekelijks, 20 keer" RRULE:FREQ=WEEKLY;UNTIL=20070101T080000Z: en: "Weekly, until Monday, January 1, 2007 8:00:00 AM" - nl: "Wekelijks, tot maandag 1 januari 2007 o0 8:i uur" + nl: "Wekelijks, tot maandag 1 januari 2007 om 8:00 uur" RRULE:FREQ=WEEKLY;BYDAY=TU: en: Weekly on Tuesday nl: Wekelijks op dinsdag RRULE:FREQ=WEEKLY;BYDAY=MO,WE: en: Weekly on Monday & Wednesday - nl: Wekelijks op maandag & woensdag + nl: Wekelijks op maandag en woensdag RRULE:FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR: en: Weekly on weekdays nl: Wekelijks op weekdagen RRULE:INTERVAL=2;FREQ=WEEKLY: en: Every other week - nl: Om de twee week + nl: Om de twee weken RRULE:FREQ=MONTHLY;BYMONTHDAY=4: en: Monthly on the 4th - nl: Maandelijks op de 4e + nl: Maandelijks op de 4de RRULE:FREQ=MONTHLY;BYMONTHDAY=-4: en: Monthly on the 4th-to-last day - nl: Maandelijks op de 4e tot laatste dag + nl: Maandelijks op de 4-na-laatste dag RRULE:FREQ=MONTHLY;BYDAY=+3TU: en: Monthly on the 3rd Tuesday - nl: Maandelijks op de 3e dinsdag + nl: Maandelijks op de 3de dinsdag RRULE:FREQ=MONTHLY;BYDAY=-3TU: en: Monthly on the 3rd-to-last Tuesday - nl: Maandelijks op de 3e tot laatste dinsdag + nl: Maandelijks op de 3-na-laatste dinsdag RRULE:FREQ=MONTHLY;BYDAY=-1MO: en: Monthly on the last Monday nl: Maandelijks op de laatste maandag RRULE:FREQ=MONTHLY;BYDAY=-2FR: en: Monthly on the 2nd-to-last Friday - nl: Maandelijks op de 2e tot laatste vrijdag + nl: Maandelijks op de voorlaatste vrijdag RRULE:INTERVAL=6;FREQ=MONTHLY: en: Every 6 months nl: Om de 6 maanden RRULE:FREQ=YEARLY;BYDAY=+1FR: en: Annually on the 1st Friday of the year - nl: Jaarlijks op de 1e vrijdag van het jaar + nl: Jaarlijks op de eerste vrijdag van het jaar RRULE:FREQ=YEARLY;BYDAY=+13FR: en: Annually on the 13th Friday of the year - nl: Jaarlijks op de 13e vrijdag van het jaar + nl: Jaarlijks op de 13de vrijdag van het jaar