Overview
Comment: | Add an implementation of strptime. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
bfdf9135d36c98119d59cef2bd0787b4 |
User & Date: | js on 2011-11-23 00:21:05 |
Other Links: | manifest | tags |
Context
2011-11-23
| ||
00:26 | Make use of \warning in documentation. check-in: a49eec5be4 user: js tags: trunk | |
00:21 | Add an implementation of strptime. check-in: bfdf9135d3 user: js tags: trunk | |
2011-11-21
| ||
16:47 | Implement -[OFString_UTF8 hash] for better performance. check-in: 855de7c3a7 user: js tags: trunk | |
Changes
Modified src/Makefile from [20adf089e6] to [42a0ccaa90].
︙ | |||
61 62 63 64 65 66 67 68 69 70 71 72 73 74 | 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 | + | OFXMLElement.m \ OFXMLElement+Serialization.m \ OFXMLElementBuilder.m \ OFXMLNode.m \ OFXMLParser.m \ base64.m \ of_asprintf.m \ of_strptime.m \ unicode.m INCLUDES := ${SRCS:.m=.h} \ OFCollection.h \ OFSerialization.h \ ObjFW.h \ asprintf.h \ |
︙ |
Modified src/OFDate.h from [39834a73b3] to [b7bf140a82].
︙ | |||
56 57 58 59 60 61 62 | 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 | - + + + + - + + + + | * \brief Creates a new OFDate with the specified string in the specified * format. * * The time zone used is UTC. If a time zone is specified anyway, an * OFInvalidFormatException is thrown. See +[dateWithLocalDateString:format:] * if you want to specify a time zone. * |
︙ | |||
124 125 126 127 128 129 130 | 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 | - + + + + - + + + + | * \brief Initializes an already allocated OFDate with the specified string in * the specified format. * * The time zone used is UTC. If a time zone is specified anyway, an * OFInvalidFormatException is thrown. See -[initWithLocalDateString:format:] * if you want to specify a time zone. * |
︙ |
Modified src/OFDate.m from [7dd968f934] to [fb1894f71c].
︙ | |||
37 38 39 40 41 42 43 44 45 46 47 48 49 50 | 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 | + | #import "OFInitializationFailedException.h" #import "OFInvalidArgumentException.h" #import "OFInvalidFormatException.h" #import "OFOutOfRangeException.h" #import "macros.h" #import "of_strptime.h" #if (!defined(HAVE_GMTIME_R) || !defined(HAVE_LOCALTIME_R)) && \ defined(OF_THREADS) static OFMutex *mutex; #endif #ifdef HAVE_GMTIME_R |
︙ | |||
240 241 242 243 244 245 246 | 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 | - + | self = [super init]; @try { struct tm tm = {}; tm.tm_isdst = -1; |
︙ | |||
293 294 295 296 297 298 299 | 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 | - + | self = [super init]; @try { struct tm tm = {}; tm.tm_isdst = -1; |
︙ |
Modified src/ObjFW.h from [ec3eaa6f1a] to [9489a60f19].
︙ | |||
139 140 141 142 143 144 145 | 139 140 141 142 143 144 145 146 | + | # import "OFThread.h" # import "threading.h" #endif #import "asprintf.h" #import "base64.h" #import "of_asprintf.h" #import "of_strptime.h" |
Added src/of_strptime.h version [6114c33c82].
|
Added src/of_strptime.m version [b3617998c4].