diff --git a/src/utilities/convert/dseries2M.m b/src/utilities/convert/dseries2M.m index 66fc91c92766129b4f213b23239fe1f4dd61ef67..19eaeb57e339b149b165423a9952efa232d706ce 100644 --- a/src/utilities/convert/dseries2M.m +++ b/src/utilities/convert/dseries2M.m @@ -62,7 +62,7 @@ switch method lastday = datevec(ds.dates.time(idm(end))); tdata(i,:) = ds.data(idm(end),:); if lastday(3)<expectedlastday(dM(i)) - warning('The last available day is not the last observed day of %s.', date2string(dM(i))) + warning('The last available day is not the last day of %s.', date2string(dM(i))) end end otherwise diff --git a/src/utilities/convert/dseries2Q.m b/src/utilities/convert/dseries2Q.m index 879e1ebeebe7801fdb88658123cb24f5a42a09ca..a3e8a408a5667b5367005bc8b097d321ca2235b5 100644 --- a/src/utilities/convert/dseries2Q.m +++ b/src/utilities/convert/dseries2Q.m @@ -72,13 +72,13 @@ switch method if ds.dates.freq==365 lastday = datevec(ds.dates.time(idq(end))); if lastday(3)<expectedlastday(dQ(i)) - warning('The last available day is not the last observed day of %s.', date2string(dQ(i))) + warning('The last available day is not the last day of %s.', date2string(dQ(i))) end end if ds.dates.freq==12 lastmonth = subperiod(ds.dates(idq(end))); if lastmonth<expectedlastmonth(dQ(i)) - warning('The last available day is not the last observed day of %s.', date2string(dQ(i))) + warning('The last available month is not the last month of %s.', date2string(dQ(i))) end end end diff --git a/src/utilities/convert/dseries2S.m b/src/utilities/convert/dseries2S.m index bcd80b5ed229bd5b148ea0276f2497c98238afe1..6fdb269e4e0d3a69f6ac09073de461d1b6570cbd 100644 --- a/src/utilities/convert/dseries2S.m +++ b/src/utilities/convert/dseries2S.m @@ -81,19 +81,19 @@ switch method if ds.dates.freq==365 lastday = datevec(ds.dates.time(idh(end))); if lastday(3)<expectedlastday(dH(i)) - warning('The last available day is not the last observed day of %s.', date2string(dH(i))) + warning('The last available day is not the last day of %s.', date2string(dH(i))) end end if ds.dates.freq==12 lastmonth = subperiod(ds.dates(idh(end))); if lastmonth<expectedlastmonth(dH(i)) - warning('The last available day is not the last observed day of %s.', date2string(dH(i))) + warning('The last available month is not the last month of %s.', date2string(dH(i))) end end if ds.dates.freq==4 lastquarter = subperiod(ds.dates(idh(end))); if lastquarter<expectedlastquarter(dH(i)) - warning('The last available day is not the last observed day of %s.', date2string(dH(i))) + warning('The last available quarter is not the last quarter of %s.', date2string(dH(i))) end end end diff --git a/src/utilities/convert/dseries2Y.m b/src/utilities/convert/dseries2Y.m index 7da46031d14dae8a71742fe692d3005dad912f22..dbe75a5d2c653c3b6ddf9162d32d7318304cc068 100644 --- a/src/utilities/convert/dseries2Y.m +++ b/src/utilities/convert/dseries2Y.m @@ -90,25 +90,25 @@ switch method if ds.dates.freq==365 lastday = datevec(ds.dates.time(idy(end))); if lastday(3)<expectedlastday(dY(i)) - warning('The last available day is not the last observed day of %s.', date2string(dY(i))) + warning('The last available day is not the last day of %s.', date2string(dY(i))) end end if ds.dates.freq==12 lastmonth = subperiod(ds.dates(idy(end))); if lastmonth<12 - warning('The last available day is not the last observed day of %s.', date2string(dY(i))) + warning('The last available month is not the last month of %s.', date2string(dY(i))) end end if ds.dates.freq==4 lastquarter = subperiod(ds.dates(idy(end))); if lastquarter<4 - warning('The last available day is not the last observed day of %s.', date2string(dY(i))) + warning('The last available quarter is not the last quarter of %s.', date2string(dY(i))) end end if ds.dates.freq==2 lastsemester = subperiod(ds.dates(idy(end))); if lastsemester<2 - warning('The last available day is not the last observed day of %s.', date2string(dY(i))) + warning('The last available semester is not the last semester of %s.', date2string(dY(i))) end end end