]> git.saurik.com Git - wxWidgets.git/blame_incremental - tests/benchmarks/datetime.cpp
Make @genericAppearance Doxygen macro consistent with @appearance.
[wxWidgets.git] / tests / benchmarks / datetime.cpp
... / ...
CommitLineData
1/////////////////////////////////////////////////////////////////////////////
2// Name: tests/benchmarks/datetime.cpp
3// Purpose: wxDateTime benchmarks
4// Author: Vadim Zeitlin
5// Created: 2011-05-23
6// Copyright: (c) 2011 Vadim Zeitlin <vadim@wxwidgets.org>
7// Licence: wxWindows licence
8/////////////////////////////////////////////////////////////////////////////
9
10#include "wx/datetime.h"
11
12#include "bench.h"
13
14BENCHMARK_FUNC(ParseDate)
15{
16 wxDateTime dt;
17 return dt.ParseDate("May 23, 2011") && dt.GetMonth() == wxDateTime::May;
18}
19