[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can't define methods on a @datetime class

From: Andreas Weber
Subject: Re: Can't define methods on a @datetime class
Date: Sat, 12 Jan 2019 10:11:49 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0

Am 12.01.19 um 08:23 schrieb Andrew Janke:
I have a basic class that defines properties and basic conversions: https://github.com/apjanke/octave-addons/blob/968429c90ac25a422dec70bdd3c25811faba92ce/Mcode/datetime.m

As far as I can see there is a end in line 96 for the switch.
Tehn display and disp are defined which causes, that they are inside function datetime

If I fix the end and remove isnan because it is implemented twice disp is called as expected.

HTH, Andy

reply via email to

[Prev in Thread] Current Thread [Next in Thread]