Lines Matching refs:months

1141             of years and/or months (a positive number of years and months shifts
1143 It adds the years the given years and months to both begin and end.
1145 on begin and end with the given number of years and months.
1149 months = The number of months to shift the interval by.
1170 void shift(T)(T years, T months = 0, AllowDayOverflow allowOverflow = AllowDayOverflow.yes)
1179 begin.add!"months"(months, allowOverflow);
1181 end.add!"months"(months, allowOverflow);
1267 it subtracts the given number of months/years from `begin` and
1273 months = The number of months to expand the interval by.
1296 T months = 0,
1311 begin.add!"months"(-months, allowOverflow);
1313 end.add!"months"(months, allowOverflow);
1326 end.add!"months"(months, allowOverflow);
1339 begin.add!"months"(-months, allowOverflow);
2802 static void testIntervalFail(Interval!Date interval, int years, int months)
2804 interval.shift(years, months);
2809 static void testInterval(I)(I interval, int years, int months, AllowDayOverflow allow, in testInterval()
2812 interval.shift(years, months, allow); in testInterval()
2897 static void testIntervalFail(Interval!Date interval, int years, int months)
2899 interval.expand(years, months);
2905 …static void testInterval(I)(I interval, int years, int months, AllowDayOverflow allow, Direction d… in testInterval()
2908 interval.expand(years, months, allow, dir); in testInterval()
5175 static void testInterval(I)(I interval, int years, int months, AllowDayOverflow allow, in testInterval()
5178 interval.shift(years, months, allow); in testInterval()
5255 static void testInterval(I)(I interval, int years, int months, AllowDayOverflow allow, in testInterval()
5258 interval.expand(years, months, allow); in testInterval()
7402 static void testIntervalFail(I)(I interval, int years, int months) in testIntervalFail()
7404 interval.shift(years, months); in testIntervalFail()
7407 static void testInterval(I)(I interval, int years, int months, AllowDayOverflow allow, in testInterval()
7410 interval.shift(years, months, allow); in testInterval()
7487 static void testInterval(I)(I interval, int years, int months, AllowDayOverflow allow, in testInterval()
7490 interval.expand(years, months, allow); in testInterval()
7701 which would be reached by adding months to the given time point.
7948 months = The number of months to add to the time point passed to in func()
7958 int months = 0, in func()
7964 __traits(compiles, TP.init.add!"months"(months)) && in func()
7974 retval.add!"months"(months, allowOverflow); in func()
7982 retval.add!"months"(-months, allowOverflow); in func()