Lines Matching refs:testInterval
2372 … static void testInterval(scope const Interval!Date interval1, scope const Interval!Date interval2)
2377 …assertThrown!DateTimeException(testInterval(interval, Interval!Date(Date(2010, 7, 4), dur!"days"(0…
2378 …assertThrown!DateTimeException(testInterval(Interval!Date(Date(2010, 7, 4), dur!"days"(0)), interv…
2379 assertThrown!DateTimeException(testInterval(Interval!Date(Date(2010, 7, 4), dur!"days"(0)),
2481 static void testInterval(I)(scope const Interval!Date interval1, scope const I interval2) in testInterval() function
2486 …assertThrown!DateTimeException(testInterval(interval, Interval!Date(Date(2010, 7, 4), dur!"days"(0…
2487 …assertThrown!DateTimeException(testInterval(Interval!Date(Date(2010, 7, 4), dur!"days"(0)), interv…
2488 assertThrown!DateTimeException(testInterval(Interval!Date(Date(2010, 7, 4), dur!"days"(0)),
2491 …assertThrown!DateTimeException(testInterval(interval, Interval!Date(Date(2010, 7, 1), Date(2010, 7…
2492 …assertThrown!DateTimeException(testInterval(interval, Interval!Date(Date(2012, 1, 8), Date(2012, 1…
2494 …assertThrown!DateTimeException(testInterval(Interval!Date(Date(2010, 7, 1), Date(2010, 7, 3)), int…
2495 …assertThrown!DateTimeException(testInterval(Interval!Date(Date(2012, 1, 8), Date(2012, 1, 9)), int…
2497 assertThrown!DateTimeException(testInterval(interval, PosInfInterval!Date(Date(2012, 1, 8))));
2499 assertThrown!DateTimeException(testInterval(interval, NegInfInterval!Date(Date(2010, 7, 3))));
2626 … static void testInterval(scope const Interval!Date interval1, scope const Interval!Date interval2)
2631 …assertThrown!DateTimeException(testInterval(interval, Interval!Date(Date(2010, 7, 4), dur!"days"(0…
2632 …assertThrown!DateTimeException(testInterval(Interval!Date(Date(2010, 7, 4), dur!"days"(0)),interva…
2633 assertThrown!DateTimeException(testInterval(Interval!Date(Date(2010, 7, 4), dur!"days"(0)),
2768 static void testInterval(I)(I interval, scope const Duration duration, in testInterval() function
2775 testInterval(interval, dur!"days"(22), Interval!Date(Date(2010, 7, 26), Date(2012, 1, 29)));
2776 testInterval(interval, dur!"days"(-22), Interval!Date(Date(2010, 6, 12), Date(2011, 12, 16)));
2809 static void testInterval(I)(I interval, int years, int months, AllowDayOverflow allow, in testInterval() function
2816 …testInterval(interval, 5, 0, AllowDayOverflow.yes, Interval!Date(Date(2015, 7, 4), Date(2017, 1, 7…
2817 …testInterval(interval, -5, 0, AllowDayOverflow.yes, Interval!Date(Date(2005, 7, 4), Date(2007, 1, …
2821 …testInterval(interval2, 1, 1, AllowDayOverflow.yes, Interval!Date(Date(2001, 3, 1), Date(2011, 7, …
2822 …testInterval(interval2, 1, -1, AllowDayOverflow.yes, Interval!Date(Date(2000, 12, 29), Date(2011, …
2823 …testInterval(interval2, -1, -1, AllowDayOverflow.yes, Interval!Date(Date(1998, 12, 29), Date(2009,…
2824 …testInterval(interval2, -1, 1, AllowDayOverflow.yes, Interval!Date(Date(1999, 3, 1), Date(2009, 7,…
2826 …testInterval(interval2, 1, 1, AllowDayOverflow.no, Interval!Date(Date(2001, 2, 28), Date(2011, 6, …
2827 …testInterval(interval2, 1, -1, AllowDayOverflow.no, Interval!Date(Date(2000, 12, 29), Date(2011, 4…
2828 …testInterval(interval2, -1, -1, AllowDayOverflow.no, Interval!Date(Date(1998, 12, 29), Date(2009, …
2829 …testInterval(interval2, -1, 1, AllowDayOverflow.no, Interval!Date(Date(1999, 2, 28), Date(2009, 6,…
2863 static void testInterval(I)(I interval, scope const Duration duration, in testInterval() function
2870 testInterval(interval, dur!"days"(22), Interval!Date(Date(2000, 6, 12), Date(2012, 1, 29)));
2871 testInterval(interval, dur!"days"(-22), Interval!Date(Date(2000, 7, 26), Date(2011, 12, 16)));
2905 …static void testInterval(I)(I interval, int years, int months, AllowDayOverflow allow, Direction d… in testInterval() function
2912 testInterval(interval, 5, 0, AllowDayOverflow.yes, Direction.both,
2914 testInterval(interval, -5, 0, AllowDayOverflow.yes, Direction.both,
2917 testInterval(interval, 5, 0, AllowDayOverflow.yes, Direction.fwd,
2919 testInterval(interval, -5, 0, AllowDayOverflow.yes, Direction.fwd,
2922 testInterval(interval, 5, 0, AllowDayOverflow.yes, Direction.bwd,
2924 testInterval(interval, -5, 0, AllowDayOverflow.yes, Direction.bwd,
2929 testInterval(interval2, 1, 1, AllowDayOverflow.yes, Direction.both,
2931 testInterval(interval2, 1, -1, AllowDayOverflow.yes, Direction.both,
2933 testInterval(interval2, -1, -1, AllowDayOverflow.yes, Direction.both,
2935 testInterval(interval2, -1, 1, AllowDayOverflow.yes, Direction.both,
2938 testInterval(interval2, 1, 1, AllowDayOverflow.no, Direction.both,
2940 testInterval(interval2, 1, -1, AllowDayOverflow.no, Direction.both,
2942 testInterval(interval2, -1, -1, AllowDayOverflow.no, Direction.both,
2944 testInterval(interval2, -1, 1, AllowDayOverflow.no, Direction.both,
2947 testInterval(interval2, 1, 1, AllowDayOverflow.yes, Direction.fwd,
2949 testInterval(interval2, 1, -1, AllowDayOverflow.yes, Direction.fwd,
2951 testInterval(interval2, -1, -1, AllowDayOverflow.yes, Direction.fwd,
2953 testInterval(interval2, -1, 1, AllowDayOverflow.yes, Direction.fwd,
2956 testInterval(interval2, 1, 1, AllowDayOverflow.no, Direction.fwd,
2958 testInterval(interval2, 1, -1, AllowDayOverflow.no, Direction.fwd,
2960 testInterval(interval2, -1, -1, AllowDayOverflow.no, Direction.fwd,
2962 testInterval(interval2, -1, 1, AllowDayOverflow.no, Direction.fwd,
2965 testInterval(interval2, 1, 1, AllowDayOverflow.yes, Direction.bwd,
2967 testInterval(interval2, 1, -1, AllowDayOverflow.yes, Direction.bwd,
2969 testInterval(interval2, -1, -1, AllowDayOverflow.yes, Direction.bwd,
2971 testInterval(interval2, -1, 1, AllowDayOverflow.yes, Direction.bwd,
2974 testInterval(interval2, 1, 1, AllowDayOverflow.no, Direction.bwd,
2976 testInterval(interval2, 1, -1, AllowDayOverflow.no, Direction.bwd,
2978 testInterval(interval2, -1, -1, AllowDayOverflow.no, Direction.bwd,
2980 testInterval(interval2, -1, 1, AllowDayOverflow.no, Direction.bwd,
4264 …static void testInterval(scope const PosInfInterval!Date posInfInterval, scope const Interval!Date…
4269 …assertThrown!DateTimeException(testInterval(posInfInterval, Interval!Date(Date(2010, 7, 4), dur!"d…
4389 …static void testInterval(scope const PosInfInterval!Date posInfInterval, scope const Interval!Date…
4394 …assertThrown!DateTimeException(testInterval(posInfInterval, Interval!Date(Date(2010, 7, 4), dur!"d…
4513 …static void testInterval(scope const PosInfInterval!Date posInfInterval, scope const Interval!Date…
4518 …assertThrown!DateTimeException(testInterval(posInfInterval, Interval!Date(Date(2010, 7, 4), dur!"d…
4610 …static void testInterval(scope const PosInfInterval!Date posInfInterval, scope const Interval!Date…
4615 …assertThrown!DateTimeException(testInterval(posInfInterval, Interval!Date(Date(2010, 7, 4), dur!"d…
4707 static void testInterval(I, J)(scope const I interval1, scope const J interval2) in testInterval() function
4712 …assertThrown!DateTimeException(testInterval(posInfInterval, Interval!Date(Date(2010, 7, 4), dur!"d…
4714 …assertThrown!DateTimeException(testInterval(posInfInterval, Interval!Date(Date(2010, 7, 1), Date(2…
4715 …assertThrown!DateTimeException(testInterval(posInfInterval, Interval!Date(Date(2010, 7, 3), Date(2…
4717 …assertThrown!DateTimeException(testInterval(posInfInterval, NegInfInterval!Date(Date(2010, 7, 3)))…
4718 …assertThrown!DateTimeException(testInterval(posInfInterval, NegInfInterval!Date(Date(2010, 7, 4)))…
4825 …static void testInterval(scope const PosInfInterval!Date posInfInterval, scope const Interval!Date…
4830 …assertThrown!DateTimeException(testInterval(posInfInterval, Interval!Date(Date(2010, 7, 4), dur!"d…
4921 …static void testInterval(scope const PosInfInterval!Date posInfInterval, scope const Interval!Date…
4926 …assertThrown!DateTimeException(testInterval(posInfInterval, Interval!Date(Date(2010, 7, 4), dur!"d…
4928 …assertThrown!DateTimeException(testInterval(posInfInterval, Interval!Date(Date(2010, 7, 1), Date(2…
5030 …static void testInterval(scope const PosInfInterval!Date posInfInterval, scope const Interval!Date…
5035 …assertThrown!DateTimeException(testInterval(posInfInterval, Interval!Date(Date(2010, 7, 4), dur!"d…
5141 static void testInterval(I)(I interval, scope const Duration duration, in testInterval() function
5148 testInterval(interval, dur!"days"(22), PosInfInterval!Date(Date(2010, 7, 26)));
5149 testInterval(interval, dur!"days"(-22), PosInfInterval!Date(Date(2010, 6, 12)));
5175 static void testInterval(I)(I interval, int years, int months, AllowDayOverflow allow, in testInterval() function
5182 testInterval(interval, 5, 0, AllowDayOverflow.yes, PosInfInterval!Date(Date(2015, 7, 4)));
5183 testInterval(interval, -5, 0, AllowDayOverflow.yes, PosInfInterval!Date(Date(2005, 7, 4)));
5187 testInterval(interval2, 1, 1, AllowDayOverflow.yes, PosInfInterval!Date(Date(2001, 3, 1)));
5188 … testInterval(interval2, 1, -1, AllowDayOverflow.yes, PosInfInterval!Date(Date(2000, 12, 29)));
5189 … testInterval(interval2, -1, -1, AllowDayOverflow.yes, PosInfInterval!Date(Date(1998, 12, 29)));
5190 testInterval(interval2, -1, 1, AllowDayOverflow.yes, PosInfInterval!Date(Date(1999, 3, 1)));
5192 testInterval(interval2, 1, 1, AllowDayOverflow.no, PosInfInterval!Date(Date(2001, 2, 28)));
5193 … testInterval(interval2, 1, -1, AllowDayOverflow.no, PosInfInterval!Date(Date(2000, 12, 29)));
5194 … testInterval(interval2, -1, -1, AllowDayOverflow.no, PosInfInterval!Date(Date(1998, 12, 29)));
5195 testInterval(interval2, -1, 1, AllowDayOverflow.no, PosInfInterval!Date(Date(1999, 2, 28)));
5221 static void testInterval(I)(I interval, scope const Duration duration, in testInterval() function
5228 testInterval(interval, dur!"days"(22), PosInfInterval!Date(Date(2000, 6, 12)));
5229 testInterval(interval, dur!"days"(-22), PosInfInterval!Date(Date(2000, 7, 26)));
5255 static void testInterval(I)(I interval, int years, int months, AllowDayOverflow allow, in testInterval() function
5262 testInterval(interval, 5, 0, AllowDayOverflow.yes, PosInfInterval!Date(Date(1995, 7, 4)));
5263 testInterval(interval, -5, 0, AllowDayOverflow.yes, PosInfInterval!Date(Date(2005, 7, 4)));
5267 … testInterval(interval2, 1, 1, AllowDayOverflow.yes, PosInfInterval!Date(Date(1998, 12, 29)));
5268 testInterval(interval2, 1, -1, AllowDayOverflow.yes, PosInfInterval!Date(Date(1999, 3, 1)));
5269 … testInterval(interval2, -1, -1, AllowDayOverflow.yes, PosInfInterval!Date(Date(2001, 3, 1)));
5270 … testInterval(interval2, -1, 1, AllowDayOverflow.yes, PosInfInterval!Date(Date(2000, 12, 29)));
5272 testInterval(interval2, 1, 1, AllowDayOverflow.no, PosInfInterval!Date(Date(1998, 12, 29)));
5273 testInterval(interval2, 1, -1, AllowDayOverflow.no, PosInfInterval!Date(Date(1999, 2, 28)));
5274 … testInterval(interval2, -1, -1, AllowDayOverflow.no, PosInfInterval!Date(Date(2001, 2, 28)));
5275 … testInterval(interval2, -1, 1, AllowDayOverflow.no, PosInfInterval!Date(Date(2000, 12, 29)));
5301 static void testInterval(PosInfInterval!Date posInfInterval)
5306 assertThrown!DateTimeException(testInterval(posInfInterval));
6486 …static void testInterval(scope const NegInfInterval!Date negInfInterval, scope const Interval!Date…
6491 …assertThrown!DateTimeException(testInterval(negInfInterval, Interval!Date(Date(2010, 7, 4), dur!"d…
6612 …static void testInterval(scope const NegInfInterval!Date negInfInterval, scope const Interval!Date…
6617 …assertThrown!DateTimeException(testInterval(negInfInterval, Interval!Date(Date(2010, 7, 4), dur!"d…
6734 …static void testInterval(scope const NegInfInterval!Date negInfInterval, scope const Interval!Date…
6739 …assertThrown!DateTimeException(testInterval(negInfInterval, Interval!Date(Date(2010, 7, 4), dur!"d…
6835 …static void testInterval(scope const NegInfInterval!Date negInfInterval, scope const Interval!Date…
6840 …assertThrown!DateTimeException(testInterval(negInfInterval, Interval!Date(Date(2010, 7, 4), dur!"d…
6932 static void testInterval(I, J)(scope const I interval1, scope const J interval2) in testInterval() function
6937 …assertThrown!DateTimeException(testInterval(negInfInterval, Interval!Date(Date(2010, 7, 4), dur!"d…
6939 …assertThrown!DateTimeException(testInterval(negInfInterval, Interval!Date(Date(2012, 1, 7), Date(2…
6940 …assertThrown!DateTimeException(testInterval(negInfInterval, Interval!Date(Date(2012, 1, 8), Date(2…
6942 …assertThrown!DateTimeException(testInterval(negInfInterval, PosInfInterval!Date(Date(2012, 1, 7)))…
6943 …assertThrown!DateTimeException(testInterval(negInfInterval, PosInfInterval!Date(Date(2012, 1, 8)))…
7050 …static void testInterval(scope const NegInfInterval!Date negInfInterval, scope const Interval!Date…
7055 …assertThrown!DateTimeException(testInterval(negInfInterval, Interval!Date(Date(2010, 7, 4), dur!"d…
7148 static void testInterval(I, J)(scope const I interval1, scope const J interval2) in testInterval() function
7153 …assertThrown!DateTimeException(testInterval(negInfInterval, Interval!Date(Date(2010, 7, 4), dur!"d…
7155 …assertThrown!DateTimeException(testInterval(negInfInterval, Interval!Date(Date(2012, 1, 8), Date(2…
7257 static void testInterval(I, J)(scope const I interval1, scope const J interval2) in testInterval() function
7262 …assertThrown!DateTimeException(testInterval(negInfInterval, Interval!Date(Date(2010, 7, 4), dur!"d…
7368 static void testInterval(I)(I interval, scope const Duration duration, in testInterval() function
7375 testInterval(interval, dur!"days"(22), NegInfInterval!Date(Date(2012, 1, 29)));
7376 testInterval(interval, dur!"days"(-22), NegInfInterval!Date(Date(2011, 12, 16)));
7407 static void testInterval(I)(I interval, int years, int months, AllowDayOverflow allow, in testInterval() function
7414 testInterval(interval, 5, 0, AllowDayOverflow.yes, NegInfInterval!Date(Date(2017, 1, 7)));
7415 testInterval(interval, -5, 0, AllowDayOverflow.yes, NegInfInterval!Date(Date(2007, 1, 7)));
7419 testInterval(interval2, 1, 1, AllowDayOverflow.yes, NegInfInterval!Date(Date(2011, 7, 1)));
7420 testInterval(interval2, 1, -1, AllowDayOverflow.yes, NegInfInterval!Date(Date(2011, 5, 1)));
7421 … testInterval(interval2, -1, -1, AllowDayOverflow.yes, NegInfInterval!Date(Date(2009, 5, 1)));
7422 testInterval(interval2, -1, 1, AllowDayOverflow.yes, NegInfInterval!Date(Date(2009, 7, 1)));
7424 testInterval(interval2, 1, 1, AllowDayOverflow.no, NegInfInterval!Date(Date(2011, 6, 30)));
7425 testInterval(interval2, 1, -1, AllowDayOverflow.no, NegInfInterval!Date(Date(2011, 4, 30)));
7426 … testInterval(interval2, -1, -1, AllowDayOverflow.no, NegInfInterval!Date(Date(2009, 4, 30)));
7427 testInterval(interval2, -1, 1, AllowDayOverflow.no, NegInfInterval!Date(Date(2009, 6, 30)));
7453 static void testInterval(I)(I interval, in testInterval() function
7460 testInterval(interval, dur!"days"(22), NegInfInterval!Date(Date(2012, 1, 29)));
7461 testInterval(interval, dur!"days"(-22), NegInfInterval!Date(Date(2011, 12, 16)));
7487 static void testInterval(I)(I interval, int years, int months, AllowDayOverflow allow, in testInterval() function
7494 testInterval(interval, 5, 0, AllowDayOverflow.yes, NegInfInterval!Date(Date(2017, 1, 7)));
7495 testInterval(interval, -5, 0, AllowDayOverflow.yes, NegInfInterval!Date(Date(2007, 1, 7)));
7499 testInterval(interval2, 1, 1, AllowDayOverflow.yes, NegInfInterval!Date(Date(2011, 7, 1)));
7500 testInterval(interval2, 1, -1, AllowDayOverflow.yes, NegInfInterval!Date(Date(2011, 5, 1)));
7501 … testInterval(interval2, -1, -1, AllowDayOverflow.yes, NegInfInterval!Date(Date(2009, 5, 1)));
7502 testInterval(interval2, -1, 1, AllowDayOverflow.yes, NegInfInterval!Date(Date(2009, 7, 1)));
7504 testInterval(interval2, 1, 1, AllowDayOverflow.no, NegInfInterval!Date(Date(2011, 6, 30)));
7505 testInterval(interval2, 1, -1, AllowDayOverflow.no, NegInfInterval!Date(Date(2011, 4, 30)));
7506 … testInterval(interval2, -1, -1, AllowDayOverflow.no, NegInfInterval!Date(Date(2009, 4, 30)));
7507 … testInterval(interval2, -1, 1, AllowDayOverflow.no, NegInfInterval!Date( Date(2009, 6, 30)));
7533 static void testInterval(NegInfInterval!Date negInfInterval)
7538 assertThrown!DateTimeException(testInterval(negInfInterval));