Driverlib's RTC implementation uses a proprietary `Calendar` structure to represent time. In my application, I need to manipulate time structures (i.e. add or calculate differences etc.), which is supported by native C's time.h library. Questions: Can I configure driverlib to produce `time_t`s instead of `Calendar`s? What is the best way to get the difference (i.e. time interval) between two Calendar objects? Convert to time_t and subtract?
↧