Look at the examples that are included with the DS3231 library. The constructor for the class does not take any arguments.