IRIS-Solutions-Team / IRIS-Toolbox

[IrisToolbox] for Macroeconomic Modeling
Other
90 stars 41 forks source link

Working with Matlab's datetime object #347

Open tosapola opened 1 year ago

tosapola commented 1 year ago

Hi,

Is it possible to do something like:

mm(a_matlab_datetime_obj)
dd(a_matlab_datetime_obj)
qq(a_matlab_datetime_obj)

and so on...

I tried to look for similar work around but just wonder if you have some proper function in place.

Best, Tos

jaromir-benes commented 1 year ago

Yes.

dater.fromMatlab(freq, xxx) for a numeric date Dater.fromMatlab(freq, xxx) for a Dater object

where freq is e.g. Frequency.Monthly (or simply 12)

Best Jaromir

On Thu, Oct 27, 2022 at 6:38 AM tosapola @.***> wrote:

Hi,

Is it possible to do something like:

mm(a_matlab_datetime_obj) dd(a_matlab_datetime_obj) qq(a_matlab_datetime_obj)

and so on...

I tried to look for similar work around but just wonder if you have some proper function in place.

Best, Tos

— Reply to this email directly, view it on GitHub https://github.com/IRIS-Solutions-Team/IRIS-Toolbox/issues/347, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGCVKKQQ5QK74IFO22K4FSTWFIBNBANCNFSM6AAAAAARPUOV7A . You are receiving this because you are subscribed to this thread.Message ID: @.***>