Try to enjoy your work while doing it,it will Automatically convert in Hard Work...
Out on HF and heard nobody, but didn't call CQ? Nobody heard you either. 73 de N7GH
Try to enjoy your work while doing it,it will Automatically convert in Hard Work...
Campbell Ritchie wrote:And what do you think that error message means?
Recaip Sanli wrote:
DecDate constructor accepts int,int,int and I am sending int,int,int why that's an issue?
Henry Wong wrote:
Recaip Sanli wrote:
DecDate constructor accepts int,int,int and I am sending int,int,int why that's an issue?
You can't call constructors like methods. Constructors are *not* methods.
You can, however, instantiate another object, which, in turn, calls the constructor... but you can't call constructors like methods.
Henry
Recaip Sanli wrote:
Does anyone have any idea to get this done, without coding anything outside decrement method? or is what I am thinking not possible?
Carey Brown wrote:The Date class contains a lot of deprecated methods and constructors which you are using. This is very bad practice. For example:
Recaip Sanli wrote:Thank you @praveen kumaar, I am not allowed to make any change anywhere else besides inside of decrement method.
Experience keeps a dear School, but Fools will learn in no other.
---
Benjamin Franklin - Postal official and Weather observer