* %Print a directory date field. * * Format is yyyy-mm-dd. * * \param[in] pr Print stream for output. * \param[in] fatDate The date field from a directory entry. */
| 1304 | * \param[in] fatDate The date field from a directory entry. |
| 1305 | */ |
| 1306 | void SdBaseFile::printFatDate(const uint16_t fatDate) { |
| 1307 | SERIAL_ECHO(FAT_YEAR(fatDate)); |
| 1308 | SERIAL_CHAR('-'); |
| 1309 | print2u(FAT_MONTH(fatDate)); |
| 1310 | SERIAL_CHAR('-'); |
| 1311 | print2u(FAT_DAY(fatDate)); |
| 1312 | } |
| 1313 | |
| 1314 | /** |
| 1315 | * %Print a directory time field. |
nothing calls this directly
no test coverage detected