libraries/STM32RTC-1.2.0/src/STM32RTC.cpp
void STM32RTC::syncDate(void)
{
  if (_configured) {
    RTC_GetDate(&_year, &_month, &_day, &_wday);
  }
}
/**
  * @brief  synchronise the time from the current RTC one
  * @param  none
  */
@brief  synchronise the time from the current RTC one
@param  none
@brief synchronise the time from the current RTC one @param none
void STM32RTC::syncDate(void)
{
  if (_configured) {
    RTC_GetDate(&_year, &_month, &_day, &_wday);
  }
}
void STM32RTC :: syncDate ( void ) { if ( _configured ) { RTC_GetDate ( & _year , & _month , & _day , & _wday ) ; } }
@brief  synchronise the time from the current RTC one
 @param  none
@brief synchronise the time from the current RTC one @param none