From 34e9f0dc14c2d055fa8e6cd96245dcdcfcfc8b3d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Adjemian=20=28Charybdis=29?= Date: Sat, 7 Jun 2014 21:57:28 +0200 Subject: [PATCH] Allow dates objects as first and third arguments (initial and terminal dates). --- matlab/utilities/dseries/from.m | 43 ++++++++++++++++++++++++++------- 1 file changed, 34 insertions(+), 9 deletions(-) diff --git a/matlab/utilities/dseries/from.m b/matlab/utilities/dseries/from.m index 42ef92077..86c4a6821 100644 --- a/matlab/utilities/dseries/from.m +++ b/matlab/utilities/dseries/from.m @@ -27,28 +27,53 @@ if isempty(to_id) || isempty(do_id) end if do_idd2 error('The first date must preceed the second one!') end