Commit 268c3621 authored by Michel Juillard's avatar Michel Juillard
Browse files

add exports, fix typo

parent 93739319
......@@ -3,6 +3,6 @@ module Periods
abstract type AbstractPeriod end
export Period
export Frequency, Period, Year, Semester, Quarter, Month, Week, Day
end # module
@enum Frequency Year Semester Quarter Month Week Business Day
struct Period
struct Period <: AbstractPeriod
function Period(year, subperiod, frequency) <: AbstractPeriod
function Period(year, subperiod, frequency)
if frequency == Year
ordinal = year - 1970
elseif frequency == Semester
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment