Commit graph

14 commits

Author SHA1 Message Date
Страхиња Радић
ecc5d8008c Tests/base/NSCalendar/era.m: Fix testing with non-English locale
Signed-off-by: Страхиња Радић <contact@strahinja.org>
2024-01-14 17:24:02 +01:00
Gregory John Casamento
9cc7266931 Move era/hour/min/sec tests to it's own file. 2022-04-06 16:01:41 -04:00
Gregory John Casamento
e99dd4ec6b Add implementation for getEra:... and getHour:... method in NSCalendar. Add documentation to all methods. 2022-04-06 14:19:36 -04:00
fredkiefer
a48694941c Add newer features for NSDateComponents and
started to clean up NSCalendar implementation.
2020-04-26 21:13:22 +02:00
Richard Frith-MacDonald
8904edf3fe skip component diff if ICU too old
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39491 72102866-910b-0410-8b05-ffd578937521
2016-03-09 09:37:20 +00:00
Niels Grewe
cd9dfc915e Implement -components:fromDate:toDate:options:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39202 72102866-910b-0410-8b05-ffd578937521
2015-11-30 10:06:04 +00:00
Richard Frith-MacDonald
c3b5c2897a a few more tests
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36435 72102866-910b-0410-8b05-ffd578937521
2013-03-26 09:59:35 +00:00
Richard Frith-MacDonald
0602cf2514 fix typo
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36433 72102866-910b-0410-8b05-ffd578937521
2013-03-26 06:00:15 +00:00
Richard Frith-MacDonald
8c973be76c test a few more methods
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36432 72102866-910b-0410-8b05-ffd578937521
2013-03-26 05:56:40 +00:00
Richard Frith-MacDonald
4c7b5c5726 Set minimum days in first week so we number weeks in December 2012 from 0
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36398 72102866-910b-0410-8b05-ffd578937521
2013-03-22 16:26:42 +00:00
Richard Frith-MacDonald
25a3815477 add calendar tests
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36390 72102866-910b-0410-8b05-ffd578937521
2013-03-20 17:08:00 +00:00
Richard Frith-MacDonald
e6dc5a58b6 Important change to the START_SET and END_SET macros to stop their use
being confusing.  They now both take a simple C-string argument which
names the set, and the macros check that each end matches a start of
the same name.  Since tis means that a START_SET no longer takes an
argument sayng whether or notthe set is to be skipped, we now have a
SKIP macro to be used inside a set to skip to the end of it.  This
is actually more versatile as we can have multiple SKIP macros in the
same set, each providing a different reason for the set being skipped.
Also removed a few obsolete/unused functions and macros.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32355 72102866-910b-0410-8b05-ffd578937521
2011-02-24 16:26:01 +00:00
Richard Frith-MacDonald
9f593f6b8e Add TestInfo markers
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32335 72102866-910b-0410-8b05-ffd578937521
2011-02-23 18:34:39 +00:00
Richard Frith-MacDonald
0e02133729 import testsuite
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32187 72102866-910b-0410-8b05-ffd578937521
2011-02-16 08:21:17 +00:00