From e2d3cbf2d52a7b9367566c0a064806e6a14b9e19 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Adjemian=20=28Charybdis=29?=
 <stephane.adjemian@univ-lemans.fr>
Date: Thu, 18 May 2017 23:48:19 +0200
Subject: [PATCH] Fixed copyright notices.

---
 src/@dates/append.m                              |  2 +-
 src/@dates/append_.m                             |  2 +-
 src/@dates/char.m                                |  2 +-
 src/@dates/colon.m                               |  2 +-
 src/@dates/copy.m                                |  2 +-
 src/@dates/dates.m                               |  2 +-
 src/@dates/disp.m                                |  2 +-
 src/@dates/display.m                             |  2 +-
 src/@dates/double.m                              |  2 +-
 src/@dates/end.m                                 |  2 +-
 src/@dates/ge.m                                  |  2 +-
 src/@dates/intersect.m                           |  2 +-
 src/@dates/isempty.m                             |  2 +-
 src/@dates/isequal.m                             |  2 +-
 src/@dates/le.m                                  |  2 +-
 src/@dates/length.m                              |  2 +-
 src/@dates/lt.m                                  |  2 +-
 src/@dates/max.m                                 |  2 +-
 src/@dates/min.m                                 |  2 +-
 src/@dates/minus.m                               |  2 +-
 src/@dates/mtimes.m                              |  2 +-
 src/@dates/ndat.m                                |  2 +-
 src/@dates/plus.m                                |  2 +-
 src/@dates/pop.m                                 |  2 +-
 src/@dates/pop_.m                                |  2 +-
 src/@dates/private/comparison_arg_checks.m       |  2 +-
 src/@dates/private/dates4display.m               |  2 +-
 src/@dates/private/greaterorequal.m              |  2 +-
 src/@dates/private/greaterthan.m                 |  2 +-
 src/@dates/private/lessorequal.m                 |  2 +-
 src/@dates/private/lessthan.m                    |  2 +-
 src/@dates/remove.m                              |  2 +-
 src/@dates/remove_.m                             |  2 +-
 src/@dates/setdiff.m                             |  2 +-
 src/@dates/sort.m                                |  2 +-
 src/@dates/sort_.m                               |  2 +-
 src/@dates/strings.m                             |  2 +-
 src/@dates/subperiod.m                           |  2 +-
 src/@dates/subsasgn.m                            |  2 +-
 src/@dates/subsref.m                             |  2 +-
 src/@dates/uminus.m                              |  2 +-
 src/@dates/union.m                               |  2 +-
 src/@dates/unique.m                              |  2 +-
 src/@dates/unique_.m                             |  2 +-
 src/@dates/uplus.m                               |  2 +-
 src/@dates/vertcat.m                             |  2 +-
 src/@dates/year.m                                |  2 +-
 src/initialize_dates_toolbox.m                   | 16 ++++++++++++++++
 src/utilities/convert/date2string.m              |  2 +-
 src/utilities/convert/freq2string.m              |  2 +-
 src/utilities/convert/string2date.m              |  2 +-
 src/utilities/convert/string2freq.m              |  2 +-
 src/utilities/is/isdate.m                        |  2 +-
 src/utilities/is/isdates.m                       |  2 +-
 src/utilities/is/isfreq.m                        |  2 +-
 src/utilities/is/ismonthly.m                     |  2 +-
 src/utilities/is/isquaterly.m                    |  2 +-
 src/utilities/is/isstringdate.m                  |  2 +-
 src/utilities/is/issubperiod.m                   |  2 +-
 src/utilities/is/isweekly.m                      |  2 +-
 src/utilities/is/isyearly.m                      |  2 +-
 src/utilities/missing/isint/isint.m              |  2 +-
 src/utilities/missing/isoctave/isoctave.m        |  2 +-
 .../matlab_ver_less_than/matlab_ver_less_than.m  |  2 +-
 src/utilities/missing/shiftS/shiftS.m            |  2 +-
 src/utilities/op/add_periods_to_array_of_dates.m |  2 +-
 src/utilities/op/add_periods_to_date.m           |  2 +-
 67 files changed, 82 insertions(+), 66 deletions(-)

diff --git a/src/@dates/append.m b/src/@dates/append.m
index b7b0878..231da97 100644
--- a/src/@dates/append.m
+++ b/src/@dates/append.m
@@ -9,7 +9,7 @@ function o = append(o, d) % --*-- Unitary tests --*--
 % OUTPUTS
 % - o [dates] dates object containing dates defined in o and d.
 
-% Copyright (C) 2012-2015 Dynare Team
+% Copyright (C) 2012-2017 Dynare Team
 %
 % This code is free software: you can redistribute it and/or modify
 % it under the terms of the GNU General Public License as published by
diff --git a/src/@dates/append_.m b/src/@dates/append_.m
index 0f498a2..2c4a3a8 100644
--- a/src/@dates/append_.m
+++ b/src/@dates/append_.m
@@ -9,7 +9,7 @@ function o = append_(o, d) % --*-- Unitary tests --*--
 % OUTPUTS
 % - o [dates] dates object containing dates defined in o and d.
 
-% Copyright (C) 2012-2015 Dynare Team
+% Copyright (C) 2012-2017 Dynare Team
 %
 % This code is free software: you can redistribute it and/or modify
 % it under the terms of the GNU General Public License as published by
diff --git a/src/@dates/char.m b/src/@dates/char.m
index 421e14e..fe41d6c 100644
--- a/src/@dates/char.m
+++ b/src/@dates/char.m
@@ -8,7 +8,7 @@ function s = char(o) % --*-- Unitary tests --*--
 % OUTPUTS
 % - s  [string]
 
-% Copyright (C) 2014 Dynare Team
+% Copyright (C) 2014-2017 Dynare Team
 %
 % This code is free software: you can redistribute it and/or modify
 % it under the terms of the GNU General Public License as published by
diff --git a/src/@dates/colon.m b/src/@dates/colon.m
index 86e9c4f..2c43bae 100644
--- a/src/@dates/colon.m
+++ b/src/@dates/colon.m
@@ -14,7 +14,7 @@ function q = colon(varargin) % --*-- Unitary tests --*--
 % 1. p must be greater than o if d>0.
 % 2. p and q are dates objects with one element.
 
-% Copyright (C) 2013-2015 Dynare Team
+% Copyright (C) 2013-2017 Dynare Team
 %
 % This code is free software: you can redistribute it and/or modify
 % it under the terms of the GNU General Public License as published by
diff --git a/src/@dates/copy.m b/src/@dates/copy.m
index 297d215..3454125 100644
--- a/src/@dates/copy.m
+++ b/src/@dates/copy.m
@@ -8,7 +8,7 @@ function p = copy(o) % --*-- Unitary tests --*--
 % OUTPUTS
 % - p [dates]
 
-% Copyright (C) 2014-2015 Dynare Team
+% Copyright (C) 2014-2017 Dynare Team
 %
 % This code is free software: you can redistribute it and/or modify
 % it under the terms of the GNU General Public License as published by
diff --git a/src/@dates/dates.m b/src/@dates/dates.m
index 148e417..e76b117 100644
--- a/src/@dates/dates.m
+++ b/src/@dates/dates.m
@@ -1,6 +1,6 @@
 classdef dates<handle % --*-- Unitary tests --*--
 
-% Copyright (C) 2014-2015 Dynare Team
+% Copyright (C) 2014-2017 Dynare Team
 %
 % This code is free software: you can redistribute it and/or modify
 % it under the terms of the GNU General Public License as published by
diff --git a/src/@dates/disp.m b/src/@dates/disp.m
index 2752397..89e82f9 100644
--- a/src/@dates/disp.m
+++ b/src/@dates/disp.m
@@ -8,7 +8,7 @@ function disp(o)
 % OUTPTS
 % None
 
-% Copyright (C) 2013-2014 Dynare Team
+% Copyright (C) 2013-2017 Dynare Team
 %
 % This code is free software: you can redistribute it and/or modify
 % it under the terms of the GNU General Public License as published by
diff --git a/src/@dates/display.m b/src/@dates/display.m
index 1db7d10..3059ac8 100644
--- a/src/@dates/display.m
+++ b/src/@dates/display.m
@@ -8,7 +8,7 @@ function display(o)
 % OUTPTS
 % None
 
-% Copyright (C) 2013-2014 Dynare Team
+% Copyright (C) 2013-2017 Dynare Team
 %
 % This code is free software: you can redistribute it and/or modify
 % it under the terms of the GNU General Public License as published by
diff --git a/src/@dates/double.m b/src/@dates/double.m
index e458a51..8ccae24 100644
--- a/src/@dates/double.m
+++ b/src/@dates/double.m
@@ -13,7 +13,7 @@ function [m, f]  = double(o) % --*-- Unitary tests --*--
 % REMARKS
 %  Obviously the frequency is lost during the conversion.
 
-% Copyright (C) 2013-2014 Dynare Team
+% Copyright (C) 2013-2017 Dynare Team
 %
 % This code is free software: you can redistribute it and/or modify
 % it under the terms of the GNU General Public License as published by
diff --git a/src/@dates/end.m b/src/@dates/end.m
index 5ac2754..cd22c28 100644
--- a/src/@dates/end.m
+++ b/src/@dates/end.m
@@ -10,7 +10,7 @@ function lastIndex = end(o, k, n) % --*-- Unitary tests --*--
 % OUTPUTS
 %   lastIndex [integer] last dates index
 
-% Copyright (C) 2013-2015 Dynare Team
+% Copyright (C) 2013-2017 Dynare Team
 %
 % This code is free software: you can redistribute it and/or modify
 % it under the terms of the GNU General Public License as published by
diff --git a/src/@dates/ge.m b/src/@dates/ge.m
index cc63172..1edfba5 100644
--- a/src/@dates/ge.m
+++ b/src/@dates/ge.m
@@ -9,7 +9,7 @@ function l = ge(varargin)  % --*-- Unitary tests --*--
 % OUTPUTS
 % - l [logical] column vector of max(n,1) elements (zeros or ones).
 
-% Copyright (C) 2013-2015 Dynare Team
+% Copyright (C) 2013-2017 Dynare Team
 %
 % This code is free software: you can redistribute it and/or modify
 % it under the terms of the GNU General Public License as published by
diff --git a/src/@dates/intersect.m b/src/@dates/intersect.m
index 268808d..5cbed03 100644
--- a/src/@dates/intersect.m
+++ b/src/@dates/intersect.m
@@ -9,7 +9,7 @@ function q = intersect(o, p) % --*-- Unitary tests --*--
 % OUTPUTS
 % - q [dates] All the common elements in o and p.
 
-% Copyright (C) 2013-2015 Dynare Team
+% Copyright (C) 2013-2017 Dynare Team
 %
 % This code is free software: you can redistribute it and/or modify
 % it under the terms of the GNU General Public License as published by
diff --git a/src/@dates/isempty.m b/src/@dates/isempty.m
index 5fae381..15e9160 100644
--- a/src/@dates/isempty.m
+++ b/src/@dates/isempty.m
@@ -8,7 +8,7 @@ function l = isempty(o) % --*-- Unitary tests --*--
 % OUTPUTS
 % - l [logical]
 
-% Copyright (C) 2013-2015 Dynare Team
+% Copyright (C) 2013-2017 Dynare Team
 %
 % This code is free software: you can redistribute it and/or modify
 % it under the terms of the GNU General Public License as published by
diff --git a/src/@dates/isequal.m b/src/@dates/isequal.m
index 23b7801..3922f03 100644
--- a/src/@dates/isequal.m
+++ b/src/@dates/isequal.m
@@ -9,7 +9,7 @@ function l = isequal(o, p, fake) % --*-- Unitary tests --*--
 % OUTPUTS
 % - l [logical]
 
-% Copyright (C) 2013-2015 Dynare Team
+% Copyright (C) 2013-2017 Dynare Team
 %
 % This code is free software: you can redistribute it and/or modify
 % it under the terms of the GNU General Public License as published by
diff --git a/src/@dates/le.m b/src/@dates/le.m
index 857e47d..5c36a1c 100644
--- a/src/@dates/le.m
+++ b/src/@dates/le.m
@@ -9,7 +9,7 @@ function l = le(varargin)  % --*-- Unitary tests --*--
 % OUTPUTS
 % - l [logical] column vector of max(n,1) elements (zeros or ones).
 
-% Copyright (C) 2013-2015 Dynare Team
+% Copyright (C) 2013-2017 Dynare Team
 %
 % This code is free software: you can redistribute it and/or modify
 % it under the terms of the GNU General Public License as published by
diff --git a/src/@dates/length.m b/src/@dates/length.m
index 71a2257..a58f367 100644
--- a/src/@dates/length.m
+++ b/src/@dates/length.m
@@ -8,7 +8,7 @@ function n = length(o) % --*-- Unitary tests --*--
 % OUTPUTS
 % - n [integer] Number of elements in o.
 
-% Copyright (C) 2013-2015 Dynare Team
+% Copyright (C) 2013-2017 Dynare Team
 %
 % This code is free software: you can redistribute it and/or modify
 % it under the terms of the GNU General Public License as published by
diff --git a/src/@dates/lt.m b/src/@dates/lt.m
index a33fcb2..826b3af 100644
--- a/src/@dates/lt.m
+++ b/src/@dates/lt.m
@@ -9,7 +9,7 @@ function l = lt(varargin)  % --*-- Unitary tests --*--
 % OUTPUTS
 % - l [logical] column vector of max(n,1) elements (zeros or ones).
 
-% Copyright (C) 2013-2015 Dynare Team
+% Copyright (C) 2013-2017 Dynare Team
 %
 % This code is free software: you can redistribute it and/or modify
 % it under the terms of the GNU General Public License as published by
diff --git a/src/@dates/max.m b/src/@dates/max.m
index 8ee5fd2..10bdec6 100644
--- a/src/@dates/max.m
+++ b/src/@dates/max.m
@@ -8,7 +8,7 @@ function q = max(varargin)  % --*-- Unitary tests --*--
 % OUTPUTS
 % - q [dates]
 
-% Copyright (C) 2013-2015 Dynare Team
+% Copyright (C) 2013-2017 Dynare Team
 %
 % This code is free software: you can redistribute it and/or modify
 % it under the terms of the GNU General Public License as published by
diff --git a/src/@dates/min.m b/src/@dates/min.m
index a2ca60e..0535179 100644
--- a/src/@dates/min.m
+++ b/src/@dates/min.m
@@ -8,7 +8,7 @@ function q = min(varargin) % --*-- Unitary tests --*--
 % OUTPUTS
 % - q [dates]
 
-% Copyright (C) 2013-2015 Dynare Team
+% Copyright (C) 2013-2017 Dynare Team
 %
 % This code is free software: you can redistribute it and/or modify
 % it under the terms of the GNU General Public License as published by
diff --git a/src/@dates/minus.m b/src/@dates/minus.m
index cd02e94..20f21a4 100644
--- a/src/@dates/minus.m
+++ b/src/@dates/minus.m
@@ -18,7 +18,7 @@ function q = minus(o,p) % --*-- Unitary tests --*--
 %    p periods backward.
 % 3. If o is not a dates object, an error is returned.
 
-% Copyright (C) 2013-2015 Dynare Team
+% Copyright (C) 2013-2017 Dynare Team
 %
 % This code is free software: you can redistribute it and/or modify
 % it under the terms of the GNU General Public License as published by
diff --git a/src/@dates/mtimes.m b/src/@dates/mtimes.m
index 5e6b255..c824fef 100644
--- a/src/@dates/mtimes.m
+++ b/src/@dates/mtimes.m
@@ -12,7 +12,7 @@ function p = mtimes(o,n) % --*-- Unitary tests --*--
 % 1. If A = dates('2000Q1'), then B=A*3 is a dates object equal to dates('2000Q1','2000Q1','2000Q1')
 % 2. If A = dates('2003Q1','2009Q2'), then B=A*2 is a dates object equal to dates('2003Q1','2009Q2','2003Q1','2009Q2')
 
-% Copyright (C) 2013-2015 Dynare Team
+% Copyright (C) 2013-2017 Dynare Team
 %
 % This code is free software: you can redistribute it and/or modify
 % it under the terms of the GNU General Public License as published by
diff --git a/src/@dates/ndat.m b/src/@dates/ndat.m
index c0af811..e29310f 100644
--- a/src/@dates/ndat.m
+++ b/src/@dates/ndat.m
@@ -8,7 +8,7 @@ function s = ndat(o) % --*-- Unitary tests --*--
 % OUTPUTS
 % - s  [integer]
 
-% Copyright (C) 2015 Dynare Team
+% Copyright (C) 2015-2017 Dynare Team
 %
 % This code is free software: you can redistribute it and/or modify
 % it under the terms of the GNU General Public License as published by
diff --git a/src/@dates/plus.m b/src/@dates/plus.m
index 862cbd4..281045a 100644
--- a/src/@dates/plus.m
+++ b/src/@dates/plus.m
@@ -14,7 +14,7 @@ function q = plus(o,p) % --*-- Unitary tests --*--
 % 2. If  one of the inputs is an integer or a vector of integers, the method shifts the dates
 %    object by X (the interger input) periods forward.
 
-% Copyright (C) 2013-2015 Dynare Team
+% Copyright (C) 2013-2017 Dynare Team
 %
 % This code is free software: you can redistribute it and/or modify
 % it under the terms of the GNU General Public License as published by
diff --git a/src/@dates/pop.m b/src/@dates/pop.m
index 02e467d..47ce424 100644
--- a/src/@dates/pop.m
+++ b/src/@dates/pop.m
@@ -15,7 +15,7 @@ function o = pop(o, p) % --*-- Unitary tests --*--
 %
 % See also remove, setdiff.
 
-% Copyright (C) 2013-2015 Dynare Team
+% Copyright (C) 2013-2017 Dynare Team
 %
 % This code is free software: you can redistribute it and/or modify
 % it under the terms of the GNU General Public License as published by
diff --git a/src/@dates/pop_.m b/src/@dates/pop_.m
index b9485ca..67c4b83 100644
--- a/src/@dates/pop_.m
+++ b/src/@dates/pop_.m
@@ -15,7 +15,7 @@ function o = pop_(o, p) % --*-- Unitary tests --*--
 %
 % See also remove, setdiff.
 
-% Copyright (C) 2013-2015 Dynare Team
+% Copyright (C) 2013-2017 Dynare Team
 %
 % This code is free software: you can redistribute it and/or modify
 % it under the terms of the GNU General Public License as published by
diff --git a/src/@dates/private/comparison_arg_checks.m b/src/@dates/private/comparison_arg_checks.m
index db090f8..e24fba0 100644
--- a/src/@dates/private/comparison_arg_checks.m
+++ b/src/@dates/private/comparison_arg_checks.m
@@ -9,7 +9,7 @@ function [o, p] = comparison_arg_checks(varargin) % --*-- Unitary tests --*--
 % - o [dates] dates object with n or 1 elements.
 % - p [dates] dates object with n or 1 elements.
 
-% Copyright (C) 2014 Dynare Team
+% Copyright (C) 2014-2017 Dynare Team
 %
 % This code is free software: you can redistribute it and/or modify
 % it under the terms of the GNU General Public License as published by
diff --git a/src/@dates/private/dates4display.m b/src/@dates/private/dates4display.m
index f2e402b..52f98b4 100644
--- a/src/@dates/private/dates4display.m
+++ b/src/@dates/private/dates4display.m
@@ -10,7 +10,7 @@ function str = dates4display(o, name, max_number_of_elements) % --*-- Unitary te
 % OUTPUTS
 % - str  [string] Representation of the dates object as a string.
 
-% Copyright (C) 2014 Dynare Team
+% Copyright (C) 2014-2017 Dynare Team
 %
 % This code is free software: you can redistribute it and/or modify
 % it under the terms of the GNU General Public License as published by
diff --git a/src/@dates/private/greaterorequal.m b/src/@dates/private/greaterorequal.m
index 9d8aeab..8f06725 100644
--- a/src/@dates/private/greaterorequal.m
+++ b/src/@dates/private/greaterorequal.m
@@ -1,6 +1,6 @@
 function c = greaterorequal(a,b) % --*-- Unitary tests --*--
 
-% Copyright (C) 2013-2015 Dynare Team
+% Copyright (C) 2013-2017 Dynare Team
 %
 % This code is free software: you can redistribute it and/or modify
 % it under the terms of the GNU General Public License as published by
diff --git a/src/@dates/private/greaterthan.m b/src/@dates/private/greaterthan.m
index cbdfca6..1c8a338 100644
--- a/src/@dates/private/greaterthan.m
+++ b/src/@dates/private/greaterthan.m
@@ -1,6 +1,6 @@
 function c = greaterthan(a,b) % --*-- Unitary tests --*--
 
-% Copyright (C) 2013-2014 Dynare Team
+% Copyright (C) 2013-2015 Dynare Team
 %
 % This code is free software: you can redistribute it and/or modify
 % it under the terms of the GNU General Public License as published by
diff --git a/src/@dates/private/lessorequal.m b/src/@dates/private/lessorequal.m
index 9b33b5d..ce6ec93 100644
--- a/src/@dates/private/lessorequal.m
+++ b/src/@dates/private/lessorequal.m
@@ -1,6 +1,6 @@
 function c = lessorequal(a, b) % --*-- Unitary tests --*--
 
-% Copyright (C) 2013-2014 Dynare Team
+% Copyright (C) 2013-2015 Dynare Team
 %
 % This code is free software: you can redistribute it and/or modify
 % it under the terms of the GNU General Public License as published by
diff --git a/src/@dates/private/lessthan.m b/src/@dates/private/lessthan.m
index 57563da..237aaf5 100644
--- a/src/@dates/private/lessthan.m
+++ b/src/@dates/private/lessthan.m
@@ -1,6 +1,6 @@
 function c = lessthan(a,b) % --*-- Unitary tests --*--
 
-% Copyright (C) 2013-2014 Dynare Team
+% Copyright (C) 2013-2015 Dynare Team
 %
 % This code is free software: you can redistribute it and/or modify
 % it under the terms of the GNU General Public License as published by
diff --git a/src/@dates/remove.m b/src/@dates/remove.m
index b72c4c6..9d1bb6e 100644
--- a/src/@dates/remove.m
+++ b/src/@dates/remove.m
@@ -15,7 +15,7 @@ function o = remove(o, p) % --*-- Unitary tests --*--
 %
 % See also pop, setdiff
 
-% Copyright (C) 2013-2015 Dynare Team
+% Copyright (C) 2013-2017 Dynare Team
 %
 % This code is free software: you can redistribute it and/or modify
 % it under the terms of the GNU General Public License as published by
diff --git a/src/@dates/remove_.m b/src/@dates/remove_.m
index 710ec5a..5416231 100644
--- a/src/@dates/remove_.m
+++ b/src/@dates/remove_.m
@@ -15,7 +15,7 @@ function o = remove_(o, p) % --*-- Unitary tests --*--
 %
 % See also pop, setdiff
 
-% Copyright (C) 2013-2015 Dynare Team
+% Copyright (C) 2013-2017 Dynare Team
 %
 % This code is free software: you can redistribute it and/or modify
 % it under the terms of the GNU General Public License as published by
diff --git a/src/@dates/setdiff.m b/src/@dates/setdiff.m
index dfb8678..783cbf9 100644
--- a/src/@dates/setdiff.m
+++ b/src/@dates/setdiff.m
@@ -12,7 +12,7 @@ function [q, io] = setdiff(o,p) % --*-- Unitary tests --*--
 %
 % See also pop, remove.
 
-% Copyright (C) 2013-2015 Dynare Team
+% Copyright (C) 2013-2017 Dynare Team
 %
 % This code is free software: you can redistribute it and/or modify
 % it under the terms of the GNU General Public License as published by
diff --git a/src/@dates/sort.m b/src/@dates/sort.m
index d81e4f3..61b3ae0 100644
--- a/src/@dates/sort.m
+++ b/src/@dates/sort.m
@@ -8,7 +8,7 @@ function o = sort(o) % --*-- Unitary tests --*--
 % OUTPUTS
 % - o [dates] with dates sorted by increasing order.
 
-% Copyright (C) 2011-2015 Dynare Team
+% Copyright (C) 2011-2017 Dynare Team
 %
 % This code is free software: you can redistribute it and/or modify
 % it under the terms of the GNU General Public License as published by
diff --git a/src/@dates/sort_.m b/src/@dates/sort_.m
index b855b04..e4ef50a 100644
--- a/src/@dates/sort_.m
+++ b/src/@dates/sort_.m
@@ -8,7 +8,7 @@ function o = sort_(o) % --*-- Unitary tests --*--
 % OUTPUTS
 % - o [dates] with dates sorted by increasing order.
 
-% Copyright (C) 2015 Dynare Team
+% Copyright (C) 2015-2017 Dynare Team
 %
 % This code is free software: you can redistribute it and/or modify
 % it under the terms of the GNU General Public License as published by
diff --git a/src/@dates/strings.m b/src/@dates/strings.m
index bbb3ea3..5557c14 100644
--- a/src/@dates/strings.m
+++ b/src/@dates/strings.m
@@ -8,7 +8,7 @@ function m = strings(o) % --*-- Unitary tests --*--
 % OUTPUTS
 % - m [cell of char] object with n elements.
 
-% Copyright (C) 2013-2015 Dynare Team
+% Copyright (C) 2013-2017 Dynare Team
 %
 % This code is free software: you can redistribute it and/or modify
 % it under the terms of the GNU General Public License as published by
diff --git a/src/@dates/subperiod.m b/src/@dates/subperiod.m
index 348c68a..1f39178 100644
--- a/src/@dates/subperiod.m
+++ b/src/@dates/subperiod.m
@@ -2,7 +2,7 @@ function s = subperiod(d)
 
 % Returns the subperiod (quarter, month or week depending on the frequency).
 
-% Copyright (C) 2016 Dynare Team
+% Copyright (C) 2016-2017 Dynare Team
 %
 % This code is free software: you can redistribute it and/or modify
 % it under the terms of the GNU General Public License as published by
diff --git a/src/@dates/subsasgn.m b/src/@dates/subsasgn.m
index 5a49f79..bd23609 100644
--- a/src/@dates/subsasgn.m
+++ b/src/@dates/subsasgn.m
@@ -1,6 +1,6 @@
 function val = subsasgn(val, idx, rhs) % --*-- Unitary tests --*--
 
-% Copyright (C) 2013-2014 Dynare Team
+% Copyright (C) 2013-2015 Dynare Team
 %
 % This code is free software: you can redistribute it and/or modify
 % it under the terms of the GNU General Public License as published by
diff --git a/src/@dates/subsref.m b/src/@dates/subsref.m
index 8668707..cbeea25 100644
--- a/src/@dates/subsref.m
+++ b/src/@dates/subsref.m
@@ -13,7 +13,7 @@ function B = subsref(A,S) % --*-- Unitary tests --*--
 % 1. The type of the returned argument depends on the content of S.
 % 2. See the matlab's documentation about the subsref method.
 
-% Copyright (C) 2011-2015 Dynare Team
+% Copyright (C) 2011-2017 Dynare Team
 %
 % This code is free software: you can redistribute it and/or modify
 % it under the terms of the GNU General Public License as published by
diff --git a/src/@dates/uminus.m b/src/@dates/uminus.m
index 81a80e5..8405921 100644
--- a/src/@dates/uminus.m
+++ b/src/@dates/uminus.m
@@ -8,7 +8,7 @@ function o = uminus(o)  % --*-- Unitary tests --*--
 % OUTPUTS
 % - o [dates]
 
-% Copyright (C) 2013-2014 Dynare Team
+% Copyright (C) 2013-2017 Dynare Team
 %
 % This code is free software: you can redistribute it and/or modify
 % it under the terms of the GNU General Public License as published by
diff --git a/src/@dates/union.m b/src/@dates/union.m
index 977b8f1..3d56a20 100644
--- a/src/@dates/union.m
+++ b/src/@dates/union.m
@@ -11,7 +11,7 @@ function o = union(varargin) % --*-- Unitary tests --*--
 % REMARKS
 % 1. Elements in o are sorted by increasing order.
 
-% Copyright (C) 2013-2014 Dynare Team
+% Copyright (C) 2013-2017 Dynare Team
 %
 % This code is free software: you can redistribute it and/or modify
 % it under the terms of the GNU General Public License as published by
diff --git a/src/@dates/unique.m b/src/@dates/unique.m
index bd1dae5..86c6963 100644
--- a/src/@dates/unique.m
+++ b/src/@dates/unique.m
@@ -11,7 +11,7 @@ function o = unique(o) % --*-- Unitary tests --*--
 % REMARKS
 % 1. Only the last occurence of a date is kept.
 
-% Copyright (C) 2013-2015 Dynare Team
+% Copyright (C) 2013-2017 Dynare Team
 %
 % This code is free software: you can redistribute it and/or modify
 % it under the terms of the GNU General Public License as published by
diff --git a/src/@dates/unique_.m b/src/@dates/unique_.m
index 3a3bf2f..dd14b4e 100644
--- a/src/@dates/unique_.m
+++ b/src/@dates/unique_.m
@@ -11,7 +11,7 @@ function o = unique_(o) % --*-- Unitary tests --*--
 % REMARKS
 % 1. Only the last occurence of a date is kept.
 
-% Copyright (C) 2013-2015 Dynare Team
+% Copyright (C) 2013-2017 Dynare Team
 %
 % This code is free software: you can redistribute it and/or modify
 % it under the terms of the GNU General Public License as published by
diff --git a/src/@dates/uplus.m b/src/@dates/uplus.m
index 98e62ed..23bd48d 100644
--- a/src/@dates/uplus.m
+++ b/src/@dates/uplus.m
@@ -8,7 +8,7 @@ function o = uplus(o)  % --*-- Unitary tests --*--
 % OUTPUTS
 % - o [dates]
 
-% Copyright (C) 2013-2014 Dynare Team
+% Copyright (C) 2013-2017 Dynare Team
 %
 % This code is free software: you can redistribute it and/or modify
 % it under the terms of the GNU General Public License as published by
diff --git a/src/@dates/vertcat.m b/src/@dates/vertcat.m
index 75856db..7738879 100644
--- a/src/@dates/vertcat.m
+++ b/src/@dates/vertcat.m
@@ -15,7 +15,7 @@ function o = vertcat(varargin) % --*-- Unitary tests --*--
 %
 %  Defines a dates object D containing the dates appearing in A, B and C.
 
-% Copyright (C) 2013-2014 Dynare Team
+% Copyright (C) 2013-2017 Dynare Team
 %
 % This code is free software: you can redistribute it and/or modify
 % it under the terms of the GNU General Public License as published by
diff --git a/src/@dates/year.m b/src/@dates/year.m
index 37ddb04..9148435 100644
--- a/src/@dates/year.m
+++ b/src/@dates/year.m
@@ -2,7 +2,7 @@ function y = year(d)
 
 % Returns the year.
 
-% Copyright (C) 2016 Dynare Team
+% Copyright (C) 2016-2017 Dynare Team
 %
 % This code is free software: you can redistribute it and/or modify
 % it under the terms of the GNU General Public License as published by
diff --git a/src/initialize_dates_toolbox.m b/src/initialize_dates_toolbox.m
index 0aeb0fd..39f0657 100644
--- a/src/initialize_dates_toolbox.m
+++ b/src/initialize_dates_toolbox.m
@@ -1,3 +1,19 @@
+% Copyright (C) 2014-2017 Dynare Team
+%
+% This code is free software: you can redistribute it and/or modify
+% it under the terms of the GNU General Public License as published by
+% the Free Software Foundation, either version 3 of the License, or
+% (at your option) any later version.
+%
+% Dynare dates submodule is distributed in the hope that it will be useful,
+% but WITHOUT ANY WARRANTY; without even the implied warranty of
+% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+% GNU General Public License for more details.
+%
+% You should have received a copy of the GNU General Public License
+% along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+
+
 % Get the path to the dates/src folder.
 dates_src_root = strrep(which('initialize_dates_toolbox'),'initialize_dates_toolbox.m','');
 
diff --git a/src/utilities/convert/date2string.m b/src/utilities/convert/date2string.m
index 9aa1f34..c8d0344 100644
--- a/src/utilities/convert/date2string.m
+++ b/src/utilities/convert/date2string.m
@@ -10,7 +10,7 @@ function s = date2string(varargin) % --*-- Unitary tests --*--
 % OUTPUTS
 %  o s               string.
 
-% Copyright (C) 2013 Dynare Team
+% Copyright (C) 2013-2017 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/src/utilities/convert/freq2string.m b/src/utilities/convert/freq2string.m
index 5be1caf..b1b85dd 100644
--- a/src/utilities/convert/freq2string.m
+++ b/src/utilities/convert/freq2string.m
@@ -6,7 +6,7 @@ function s = freq2string(freq) % --*-- Unitary tests --*--
 % OUTPUTS
 %  o s        character, equal to Y, Q, M or W (resp. annual, quaterly, monthly or weekly)
 
-% Copyright (C) 2013 Dynare Team
+% Copyright (C) 2013-2017 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/src/utilities/convert/string2date.m b/src/utilities/convert/string2date.m
index 37466b6..81172b9 100644
--- a/src/utilities/convert/string2date.m
+++ b/src/utilities/convert/string2date.m
@@ -1,6 +1,6 @@
 function date = string2date(a) % --*-- Unitary tests --*--
 
-% Copyright (C) 2013 Dynare Team
+% Copyright (C) 2013-2017 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/src/utilities/convert/string2freq.m b/src/utilities/convert/string2freq.m
index 71d5ac3..8a88b92 100644
--- a/src/utilities/convert/string2freq.m
+++ b/src/utilities/convert/string2freq.m
@@ -6,7 +6,7 @@ function freq = string2freq(s) % --*-- Unitary tests --*--
 % OUTPUTS
 %  o freq     scalar integer,  equal to 1, 4, 12 or 52 (resp. annual, quaterly, monthly or weekly)
 
-% Copyright (C) 2013 Dynare Team
+% Copyright (C) 2013-2017 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/src/utilities/is/isdate.m b/src/utilities/is/isdate.m
index 2cd973a..78ef73c 100644
--- a/src/utilities/is/isdate.m
+++ b/src/utilities/is/isdate.m
@@ -8,7 +8,7 @@ function b = isdate(str)  % --*-- Unitary tests --*--
 % OUTPUTS
 %  o b       integer scalar, equal to 1 if str can be interpreted as a date or 0 otherwise.
 
-% Copyright (C) 2013 Dynare Team
+% Copyright (C) 2013-2017 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/src/utilities/is/isdates.m b/src/utilities/is/isdates.m
index 360eaf9..542569c 100644
--- a/src/utilities/is/isdates.m
+++ b/src/utilities/is/isdates.m
@@ -2,7 +2,7 @@ function B = isdates(A) % --*-- Unitary tests --*--
 
 % Tests if the input A is a dates object.
 
-% Copyright (C) 2013 Dynare Team
+% Copyright (C) 2013-2015 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/src/utilities/is/isfreq.m b/src/utilities/is/isfreq.m
index 3273eab..d966d6c 100644
--- a/src/utilities/is/isfreq.m
+++ b/src/utilities/is/isfreq.m
@@ -8,7 +8,7 @@ function B = isfreq(A) % --*-- Unitary tests --*--
 % OUTPUTS
 %  o B     scalar integer equal to one if A can be interpreted as a frequency, zero otherwise.
 
-% Copyright (C) 2013 Dynare Team
+% Copyright (C) 2013-2017 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/src/utilities/is/ismonthly.m b/src/utilities/is/ismonthly.m
index 0485115..60694cf 100644
--- a/src/utilities/is/ismonthly.m
+++ b/src/utilities/is/ismonthly.m
@@ -8,7 +8,7 @@ function b = ismonthly(str)  % --*-- Unitary tests --*--
 % OUTPUTS
 %  o b       integer scalar, equal to 1 if str can be interpreted as a monthly date or 0 otherwise.
 
-% Copyright (C) 2012-2013 Dynare Team
+% Copyright (C) 2012-2017 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/src/utilities/is/isquaterly.m b/src/utilities/is/isquaterly.m
index 64f1ea2..2c421cb 100644
--- a/src/utilities/is/isquaterly.m
+++ b/src/utilities/is/isquaterly.m
@@ -8,7 +8,7 @@ function b = isquaterly(str)  % --*-- Unitary tests --*--
 % OUTPUTS
 %  o b       integer scalar, equal to 1 if str can be interpreted as a quaterly date or 0 otherwise.
 
-% Copyright (C) 2012-2013 Dynare Team
+% Copyright (C) 2012-2017 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/src/utilities/is/isstringdate.m b/src/utilities/is/isstringdate.m
index e6c4f3d..3f1b84a 100644
--- a/src/utilities/is/isstringdate.m
+++ b/src/utilities/is/isstringdate.m
@@ -8,7 +8,7 @@ function b = isstringdate(str)  % --*-- Unitary tests --*--
 % OUTPUTS
 %  o b       integer scalar, equal to 1 if str can be interpreted as a date or 0 otherwise.
 
-% Copyright (C) 2013 Dynare Team
+% Copyright (C) 2013-2017 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/src/utilities/is/issubperiod.m b/src/utilities/is/issubperiod.m
index ec4dd1f..60fb951 100644
--- a/src/utilities/is/issubperiod.m
+++ b/src/utilities/is/issubperiod.m
@@ -1,6 +1,6 @@
 function C = issubperiod(A,B) % --*-- Unitary tests --*--
 
-% Copyright (C) 2013 Dynare Team
+% Copyright (C) 2013-2015 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/src/utilities/is/isweekly.m b/src/utilities/is/isweekly.m
index b19feca..8c0a398 100644
--- a/src/utilities/is/isweekly.m
+++ b/src/utilities/is/isweekly.m
@@ -8,7 +8,7 @@ function b = isweekly(str)  % --*-- Unitary tests --*--
 % OUTPUTS
 %  o b       integer scalar, equal to 1 if str can be interpreted as a weekly date or 0 otherwise.
 
-% Copyright (C) 2012-2013 Dynare Team
+% Copyright (C) 2012-2017 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/src/utilities/is/isyearly.m b/src/utilities/is/isyearly.m
index 4135efe..a1eb711 100644
--- a/src/utilities/is/isyearly.m
+++ b/src/utilities/is/isyearly.m
@@ -8,7 +8,7 @@ function b = isyearly(str)  % --*-- Unitary tests --*--
 % OUTPUTS
 %  o b       integer scalar, equal to 1 if str can be interpreted as a yearly date or 0 otherwise.
 
-% Copyright (C) 2012-2013 Dynare Team
+% Copyright (C) 2012-2017 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/src/utilities/missing/isint/isint.m b/src/utilities/missing/isint/isint.m
index d4163f2..f01a016 100644
--- a/src/utilities/missing/isint/isint.m
+++ b/src/utilities/missing/isint/isint.m
@@ -13,7 +13,7 @@ function [l,c,d] = isint(a) % --*-- Unitary tests --*--
 %  REMARKS
 %  p+q is equal to the product of m by n.
 
-% Copyright (C) 2009-2014 Dynare Team
+% Copyright (C) 2009-2017 Dynare Team
 %
 % This code is free software: you can redistribute it and/or modify
 % it under the terms of the GNU General Public License as published by
diff --git a/src/utilities/missing/isoctave/isoctave.m b/src/utilities/missing/isoctave/isoctave.m
index 4ea6d3f..7f1b7db 100644
--- a/src/utilities/missing/isoctave/isoctave.m
+++ b/src/utilities/missing/isoctave/isoctave.m
@@ -2,7 +2,7 @@ function l = isoctave()
 
 % Tests if Octave is used.
 
-% Copyright (C) 2013-2014 Dynare Team
+% Copyright (C) 2013-2017 Dynare Team
 %
 % This code is free software: you can redistribute it and/or modify
 % it under the terms of the GNU General Public License as published by
diff --git a/src/utilities/missing/matlab_ver_less_than/matlab_ver_less_than.m b/src/utilities/missing/matlab_ver_less_than/matlab_ver_less_than.m
index f9c3701..5735a54 100644
--- a/src/utilities/missing/matlab_ver_less_than/matlab_ver_less_than.m
+++ b/src/utilities/missing/matlab_ver_less_than/matlab_ver_less_than.m
@@ -11,7 +11,7 @@ function r = matlab_ver_less_than(verstr)
 % REMARKS
 % 1. This function will fail under Octave.
 
-% Copyright (C) 2008-2014 Dynare Team
+% Copyright (C) 2008-2017 Dynare Team
 %
 % This code is free software: you can redistribute it and/or modify
 % it under the terms of the GNU General Public License as published by
diff --git a/src/utilities/missing/shiftS/shiftS.m b/src/utilities/missing/shiftS/shiftS.m
index 447ec3a..c62d22f 100644
--- a/src/utilities/missing/shiftS/shiftS.m
+++ b/src/utilities/missing/shiftS/shiftS.m
@@ -2,7 +2,7 @@ function S = shiftS(S,n) % --*-- Unitary tests --*--
 
 % Removes the first n elements of a one dimensional cell array.
 
-% Copyright (C) 2009-2014 Dynare Team
+% Copyright (C) 2009-2017 Dynare Team
 %
 % This code is free software: you can redistribute it and/or modify
 % it under the terms of the GNU General Public License as published by
diff --git a/src/utilities/op/add_periods_to_array_of_dates.m b/src/utilities/op/add_periods_to_array_of_dates.m
index 4712f2d..6a2171a 100644
--- a/src/utilities/op/add_periods_to_array_of_dates.m
+++ b/src/utilities/op/add_periods_to_array_of_dates.m
@@ -2,7 +2,7 @@ function time = add_periods_to_array_of_dates(time, freq, p)  % --*-- Unitary te
 
 % Adds a p periods (p can be negative) to a date (or a set of dates) characterized by array time and frequency freq.
 
-% Copyright (C) 2013 Dynare Team
+% Copyright (C) 2013-2017 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/src/utilities/op/add_periods_to_date.m b/src/utilities/op/add_periods_to_date.m
index 038600d..6cfee33 100644
--- a/src/utilities/op/add_periods_to_date.m
+++ b/src/utilities/op/add_periods_to_date.m
@@ -2,7 +2,7 @@ function time = add_periods_to_date(time, freq, p)  % --*-- Unitary tests --*--
 
 % Adds a p periods (p can be negative) to a date (or a set of dates) characterized by array time and frequency freq.
 
-% Copyright (C) 2013 Dynare Team
+% Copyright (C) 2013-2017 Dynare Team
 %
 % This file is part of Dynare.
 %
-- 
GitLab