Set the time with RtcDS1302 library

That function takes a reference to a RtcDateTime object as its argument. You can find the definition of this class in RtcDateTime.h.