Library "... does not define a type"

I've been working on my own time and date library recently. I am just about finished, but I've hit a snag that I just can't figure out. I'm getting a "... does not define a type" and I, obviously, have no idea why. Here's a link to the project GitHub, to keep the post small: https://github.com/Matchlighter/Time The error is occurring on line 58 of DateTime.h, saying that "'Date' does not define a type". Line 59, does not have a problem, even though Time.h and Date.h are the same syntactically. What am I doing wrong?

Thanks! ML

maybe this helps : http://arduinoetcetera.blogspot.nl/2011/01/classes-within-classes-initialiser.html

Thanks for the reply, but I don't think that's it; the errors aren't the same, and, as I stated, Line 59 throws no errors, even with 58 commented. Why would Time work and Date not?

I think the includes are wrong.

Datetime.h needs Time.h and Date.h Time.h needs Datetime.h and Date.h Date.h needs Datetime.h and Time.h

There is a circl, i think that is not the best way.

When i test it, nothing works.

I've done circular deps before and been just fine, but removing them fixes this... C++...