Reduce the number of wxAny tests ran under wxOSX further.
[wxWidgets.git] / tests / benchmarks / datetime.cpp
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: tests/benchmarks/datetime.cpp
3 // Purpose: wxDateTime benchmarks
4 // Author: Vadim Zeitlin
5 // Created: 2011-05-23
6 // RCS-ID: $Id$
7 // Copyright: (c) 2011 Vadim Zeitlin <vadim@wxwidgets.org>
8 // Licence: wxWindows licence
9 /////////////////////////////////////////////////////////////////////////////
10
11 #include "wx/datetime.h"
12
13 #include "bench.h"
14
15 BENCHMARK_FUNC(ParseDate)
16 {
17 wxDateTime dt;
18 return dt.ParseDate("May 23, 2011") && dt.GetMonth() == wxDateTime::May;
19 }
20