@@ -203,7 +203,7 @@ class TRANTOR_EXPORT Date
203203 std::string toFormattedString (bool showMicroseconds) const ;
204204
205205 /* *
206- * @brief Generate a UTC time string formated by the @p fmtStr
206+ * @brief Generate a UTC time string formatted by the @p fmtStr
207207 * @param fmtStr is the format string for the function strftime()
208208 * @param showMicroseconds whether the microseconds are returned.
209209 * @note Examples:
@@ -212,26 +212,27 @@ class TRANTOR_EXPORT Date
212212 * - "2018-01-01 10:10:25:102414" if the @p fmtStr is "%Y-%m-%d %H:%M:%S"
213213 * and the @p showMicroseconds is true
214214 */
215- std::string toCustomedFormattedString (const std::string &fmtStr,
216- bool showMicroseconds = false ) const ;
215+ std::string toCustomizedFormattedString (
216+ const std::string &fmtStr,
217+ bool showMicroseconds = false ) const ;
217218
218219 /* *
219220 * @brief Generate a local time zone string, the format of the string is
220- * same as the mothed toFormattedString
221+ * same as the method toFormattedString
221222 *
222223 * @param showMicroseconds
223224 * @return std::string
224225 */
225226 std::string toFormattedStringLocal (bool showMicroseconds) const ;
226227
227228 /* *
228- * @brief Generate a local time zone string formated by the @p fmtStr
229+ * @brief Generate a local time zone string formatted by the @p fmtStr
229230 *
230231 * @param fmtStr
231232 * @param showMicroseconds
232233 * @return std::string
233234 */
234- std::string toCustomedFormattedStringLocal (
235+ std::string toCustomizedFormattedStringLocal (
235236 const std::string &fmtStr,
236237 bool showMicroseconds = false ) const ;
237238
@@ -268,9 +269,9 @@ class TRANTOR_EXPORT Date
268269 * @param str The string buffer for the generated time string.
269270 * @param len The length of the string buffer.
270271 */
271- void toCustomedFormattedString (const std::string &fmtStr,
272- char *str,
273- size_t len) const ; // UTC
272+ void toCustomizedFormattedString (const std::string &fmtStr,
273+ char *str,
274+ size_t len) const ; // UTC
274275
275276 /* *
276277 * @brief Return true if the time point is in a same second as another.
0 commit comments