Periods.jl merge requestshttps://git.dynare.org/DynareJulia/Periods.jl/-/merge_requests2021-02-13T10:13:25Zhttps://git.dynare.org/DynareJulia/Periods.jl/-/merge_requests/4Fix weekly frequency.2021-02-13T10:13:25ZStéphane Adjemianstepan@adjemian.euFix weekly frequency.Also added:
- A global for the base year (BaseYear) in the module (not exported)
- Unit tests.
Note that weekly frequency will not work properly if the period precedes the base year (currently 1970). I would suggest to set BaseYear ...Also added:
- A global for the base year (BaseYear) in the module (not exported)
- Unit tests.
Note that weekly frequency will not work properly if the period precedes the base year (currently 1970). I would suggest to set BaseYear to 0 or 1 (to be consistent with what Julia does with Dates) to keep the code as simple as possible.
Closes #1MichelJuillardMichelJuillardhttps://git.dynare.org/DynareJulia/Periods.jl/-/merge_requests/3Fixed monthly periods.2021-02-04T07:45:56ZStéphane Adjemianstepan@adjemian.euFixed monthly periods.Wrong variable name.Wrong variable name.MichelJuillardMichelJuillardhttps://git.dynare.org/DynareJulia/Periods.jl/-/merge_requests/2Fix daily periods (value is not a field of type Date).2021-02-03T19:55:32ZStéphane Adjemianstepan@adjemian.euFix daily periods (value is not a field of type Date).MichelJuillardMichelJuillardhttps://git.dynare.org/DynareJulia/Periods.jl/-/merge_requests/1Fixed typo.2020-10-26T13:52:29ZStéphane Adjemianstepan@adjemian.euFixed typo.Ordinal value was not consistent across all constructors for Year frequency.Ordinal value was not consistent across all constructors for Year frequency.MichelJuillardMichelJuillard