Overview
Comment: | Add -[localYear] to OFDate. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
0a61ada030b0cd9dcf38dff5ec383813 |
User & Date: | js on 2011-05-12 18:45:41 |
Other Links: | manifest | tags |
Context
2011-05-12
| ||
19:45 | Also set finishedParsing if the root element is in short form. check-in: 73aaf87867 user: js tags: trunk | |
18:45 | Add -[localYear] to OFDate. check-in: 0a61ada030 user: js tags: trunk | |
18:27 | Add version to serialization and add serialization to more classes. check-in: ace6f683f7 user: js tags: trunk | |
Changes
Modified src/OFDate.h from [86c0fe3263] to [63ca3c4f75].
︙ | ︙ | |||
197 198 199 200 201 202 203 204 205 206 207 208 209 210 | /** * \brief Returns the year of the date. * * \return The year of the date */ - (uint16_t)year; /** * \brief Returns the day of the week of the date. * * \return The day of the week of the date */ - (uint8_t)dayOfWeek; | > > > > > > > | 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 | /** * \brief Returns the year of the date. * * \return The year of the date */ - (uint16_t)year; /** * \brief Returns the year of the date in local time. * * \return The year of the date in local time */ - (uint16_t)localYear; /** * \brief Returns the day of the week of the date. * * \return The day of the week of the date */ - (uint8_t)dayOfWeek; |
︙ | ︙ |
Modified src/OFDate.m from [fed9345cd2] to [7f8c2a4437].
︙ | ︙ | |||
355 356 357 358 359 360 361 362 363 364 365 366 367 368 | LOCALTIME_RET(tm_mon + 1) } - (uint16_t)year { GMTIME_RET(tm_year + 1900) } - (uint8_t)dayOfWeek { GMTIME_RET(tm_wday) } - (uint8_t)localDayOfWeek | > > > > > | 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 | LOCALTIME_RET(tm_mon + 1) } - (uint16_t)year { GMTIME_RET(tm_year + 1900) } - (uint16_t)localYear { LOCALTIME_RET(tm_year + 1900) } - (uint8_t)dayOfWeek { GMTIME_RET(tm_wday) } - (uint8_t)localDayOfWeek |
︙ | ︙ |