libraries/STM32RTC-1.2.0/src/STM32RTC.cpp
void STM32RTC::setY2kEpoch(uint32_t ts)
{
  if (_configured) {
    setEpoch(ts + EPOCH_TIME_OFF);
  }
}
/**
  * @brief  set RTC time from epoch time since 1st January 2000, 00:00:00
  * @param  epoch time in seconds
  */
@brief  set RTC time from epoch time since 1st January 2000, 00:00:00
@param  epoch time in seconds
@brief set RTC time from epoch time since 1st January 2000 00 : 00 : 00 @param epoch time in seconds
void STM32RTC::setY2kEpoch(uint32_t ts)
{
  if (_configured) {
    setEpoch(ts + EPOCH_TIME_OFF);
  }
}
void STM32RTC :: setY2kEpoch ( uint32_t ts ) { if ( _configured ) { setEpoch ( ts + EPOCH_TIME_OFF ) ; } }
@brief  set RTC time from epoch time since 1st January 2000, 00:00:00
 @param  epoch time in seconds
@brief set RTC time from epoch time since 1st January 2000 00 : 00 : 00 @param epoch time in seconds