Yeah, I tried a
struct MyTime <: TimeType
instant::Int
end
before I posted here but it complained about Int not having a period and I couldn’t find a good definition of what the “protocol” was and since I couldn’t see the bottom of the rabbit hole I figured I’d just ask here. I’ll probably just write my own thing. I think I spent 2 hours doing github archeology when I could have just solved the problem in 30 minutes.
Edit: Indeed, it took me about 20 minutes to solve this without any libraries ![]()