Stéphane Adjemian (Charybdis)
1657111fa8
Added tags for unitary tests.
2013-07-04 15:00:24 +02:00
Stéphane Adjemian (Charybdis)
53ce4205e2
Modified behaviour of disp overload method in @dynDate and @dynDates classes.
2013-07-01 18:21:21 +02:00
Stéphane Adjemian (Charybdis)
f042fcdd7b
Fixed display issues for dynDate and dynDates empty objects.
2013-07-01 17:24:22 +02:00
Stéphane Adjemian (Charybdis)
cb5cb03750
Added @dynDate/horzcat method.
2013-07-01 17:24:22 +02:00
Stéphane Adjemian (Charybdis)
59c8089214
Changed unitary test according to Ferhat's commit b5a167caf8830393094cb8e3ec8eed4c17d2e77e.
2013-06-17 17:52:27 +02:00
Ferhat Mihoubi
b7ff26c8aa
Correct the way to handle the frequencies when a number of periods is added to a dynDate
2013-06-17 17:52:26 +02:00
Sébastien Villemot
61485ab809
Fix copyright notices
2013-06-12 17:04:46 +02:00
Houtan Bastani
037ec55dfd
dynDate: add missing case to throw error if another char is passed
2013-06-07 17:23:22 +02:00
Stéphane Adjemian (Charybdis)
be91a24daa
Fixed bug that was affecting the display of dynDates objects.
2013-04-12 17:41:32 +02:00
Houtan Bastani
ea718d6998
dynDate: fix typos
2013-03-29 18:51:26 +01:00
Houtan Bastani
8591e7b4b7
fix typo
2013-03-15 16:43:56 +01:00
Stéphane Adjemian (Ulysses)
ca5bf548a2
Changed the behaviour of @dynDate/eq.
...
Return zero if A and B have no common frequencies (previously an error was returned).
2013-03-14 23:08:35 +01:00
Stéphane Adjemian (Ulysses)
1d3dc37781
Allow declaration of dates with lowercase frequencies.
2013-03-14 18:35:35 +01:00
Stéphane Adjemian (Ulysses)
846aff99fd
Removed useless addpath command from unitary tests.
2013-03-14 18:35:35 +01:00
Stéphane Adjemian (Ulysses)
a18766d676
Cosmetic change.
2013-03-14 18:35:35 +01:00
Stéphane Adjemian (Ulysses)
2152453c7d
Added unitary test.
2013-03-14 18:35:35 +01:00
Stéphane Adjemian (Ulysses)
e4cad0762a
Cosmetic change.
2013-03-14 18:35:35 +01:00
Stéphane Adjemian (Ulysses)
1e4fd736ee
Added unitary test. Removed useless addpath commands from unitary test.
2013-03-14 18:35:35 +01:00
Stéphane Adjemian (Ulysses)
2ee2f0df93
Removed commented lines of code.
2013-03-14 18:35:35 +01:00
Stéphane Adjemian (Ulysses)
59f436dc44
Fixed unitary tests for @dynDate/subsref method.
2013-03-14 14:48:36 +01:00
Stéphane Adjemian (Ulysses)
2ca26ca89a
Rewrote @dynDate/subsref method recursively. Improved error messages.
2013-03-14 14:48:36 +01:00
Stéphane Adjemian (Ulysses)
2dad114eec
Added a new interface to instantiate dynDate objects.
...
Call dynDate constructor with two arguments: teh first one is a 2*1 vector of integers (for time), the second one is a scalar integer (for freq).
2013-03-14 11:08:34 +01:00
Sébastien Villemot
fac7319284
@dynDate.display(): simplify the code by reusing format()
2013-02-07 15:28:43 +01:00
Sébastien Villemot
cfa28a58d3
Add display method for dynDate and dynDates classes
2013-02-05 14:49:30 +01:00
Sébastien Villemot
3a599aee84
Add subsasgn methods to dynDate and dynDates
...
The rationale is that, in the absence of a subsasgn method, MATLAB and Octave
behave differently. The former refuses any data member update, while the latter
allows all. Providing an implementation is therefore required to have uniform
behavior.
2013-02-05 14:32:08 +01:00
Michel Juillard
4f7606f5a1
* matlab/@dynDate: started changing references to dynTime by
...
dynDates; dynDate can be initialized with a single dynDate
2013-01-12 21:39:54 +01:00
Michel Juillard
15fa7fc840
* matlab/@dynDate/colon.m: fixed bug when there is only one series
2013-01-12 21:36:01 +01:00
Stéphane Adjemian (Charybdis)
73c96097bd
Append 'Y' to yearly dates.
2012-12-07 16:43:06 +01:00
Stéphane Adjemian (Charybdis)
c858b366f9
Added dot access to format method (dynDate).
2012-12-07 16:43:06 +01:00
Stéphane Adjemian (Charybdis)
f01b97da18
Check that freq property is also empty.
2012-11-29 12:56:00 +01:00
Stéphane Adjemian (Charybdis)
79b5db3037
Cosmetic change.
2012-11-15 13:54:21 +01:00
Stéphane Adjemian (Charybdis)
89356ba248
Added a unitary test in the overloaded colon method of the dynDate class, using the new feature introduced in the previous commits.
2012-11-15 13:53:35 +01:00
Stéphane Adjemian (Charybdis)
67e8db365c
Changed subsref overloaded method (dynDate): added a new interface to populate empty dynDate objects with specified frequency. Added unitary test.
...
For instance if we instantiate an empty dynDate object for quaterly dates:
qq = dynDate('Q');
Then we can populate this object as follows (2009 second quarter):
d1 = qq(2009,2);
2012-11-15 12:40:24 +01:00
Stéphane Adjemian (Charybdis)
0b7e5910ae
Changed a condition in dynDate constructor (for yearly dates).
2012-11-15 12:34:11 +01:00
Stéphane Adjemian (Charybdis)
e71ccaef0b
Added the possibility to instantiate empty quaterly, monthly or weekly dynDate objects. Added unitary test.
2012-11-15 11:07:43 +01:00
Stéphane Adjemian (Charybdis)
fde2694e0c
Added append method in dynDates class (with unitary tests).
2012-11-14 12:32:02 +01:00
Stéphane Adjemian (Charybdis)
32905b1ce1
Added more complex calls to subsref overloaded method for dynDate class. Added unitary test.
2012-11-14 12:32:02 +01:00
Stéphane Adjemian (Charybdis)
47dd0d09ad
Changed behavior of ne overload method (dynDate) as in commit ##9dc16fc765bfd8957dbe24a2ac1244fbde1edf09. Removed useless variable. Updated copyright.
2012-11-14 12:32:02 +01:00
Stéphane Adjemian (Charybdis)
55a3129644
Removed useless variable + Cosmetic change + Updated copyright
2012-11-14 12:32:02 +01:00
Stéphane Adjemian (Charybdis)
8b3e6e8c4d
Removed useless variable + Cosmetic change + Updated copyright
2012-11-14 12:32:02 +01:00
Stéphane Adjemian (Charybdis)
62794a10c1
Removed useless variable + Cosmetic change + Updated copyright
2012-11-14 12:32:02 +01:00
Stéphane Adjemian (Charybdis)
42331f2239
Updated copyright
2012-11-14 12:32:02 +01:00
Stéphane Adjemian (Charybdis)
602d266bba
Removed useless variable + Cosmetic change.
2012-11-14 12:32:01 +01:00
Stéphane Adjemian (Charybdis)
4339673431
Removed useless variable in dynDate/eq.
2012-11-14 12:32:01 +01:00
Stéphane Adjemian (Charybdis)
2def9f88dd
Adapted unitary to the previous commit (#9dc16fc765bfd8957dbe24a2ac1244fbde1edf09).
2012-11-14 12:32:01 +01:00
Stéphane Adjemian (Charybdis)
131c423059
Changed behavior of eq overloaded method (dynDate class). Trigger an error message if the two compared objects have no common frequency.
2012-11-14 12:32:01 +01:00
Stéphane Adjemian (Charybdis)
3c911e5b2c
Updated copyright.
2012-11-14 12:32:01 +01:00
Stéphane Adjemian (Charybdis)
c40dd62531
Fixed error messages.
2012-11-14 12:32:01 +01:00
Stéphane Adjemian (Charybdis)
cae06f3d80
Added unitary test in colon overladed method (dynDate).
2012-11-14 12:32:01 +01:00
Stéphane Adjemian (Charybdis)
1df227ce21
Updated copyright.
2012-11-14 12:32:01 +01:00