DateTime Relate Calendar

I am trying to build a module consist of date and time, how do I do to post the date and time to the calendar just like the meeting and call modules? I know how to create a custom module and link the relationship to modules but I have no idea how to reflect the date and time to calendar.

Anyone to guide me? Thanks a lot