History log of /haiku/src/tests/kits/locale/DurationFormatTest.cpp
Revision Date Author Comments
# 62abb67d 30-Aug-2017 Adrien Destugues <pulkomandy@pulkomandy.tk>

Cleanup my mess.

Repeatedly applying the wrong patch won't work.

When do we switch to Gerrit? :'(


# f2c46049 26-Aug-2017 Akshay Agarwal <agarwal.akshay.akshay8@gmail.com>

BDurationFormatTest: Add test cases for abbreviated format style.

Signed-off-by: Adrien Destugues <pulkomandy@pulkomandy.tk>


# dadffbdb 26-Aug-2017 Akshay Agarwal <agarwal.akshay.akshay8@gmail.com>

BDurationFormatTest: Add test cases for abbreviated format style.

Signed-off-by: Adrien Destugues <pulkomandy@pulkomandy.tk>


# b73f6bf1 26-Aug-2017 Akshay Agarwal <agarwal.akshay.akshay8@gmail.com>

BDurationFormatTest: Add test cases for abbreviated format style.

Signed-off-by: Adrien Destugues <pulkomandy@pulkomandy.tk>


# 5d5ec05b 27-Oct-2014 Adrien Destugues <pulkomandy@gmail.com>

B*Format: make immutable and remove locking

The language and formatting conventions can now only be set when
creating the objects. This removed the needs for locking them when
formatting to avoid some other thread changing the format while it's
being used.

Adjust tests and DeskBar TimeView to the API changes.


# df4a02e0 02-Oct-2014 Adrien Destugues <pulkomandy@gmail.com>

Fix initialization of BTimeUnitFormat

* The default constructor must configure it for the default locale
* Fix uptime not showing in AboutSystem
* Add a testcase for this


# 03b2550e 01-Oct-2014 Adrien Destugues <pulkomandy@gmail.com>

Move time formatting to BTimeformat.

* Harmonize API for all B*Format to take an output BString by reference
as the first parameter,
* Move the FormatTime methods from BLocale to BTimeFormat
* Adjust all callers for BTimeFormat, BTimeUnitFormat and
BDurationFormat.


# cedd1e15 01-Oct-2014 Adrien Destugues <pulkomandy@gmail.com>

Add tests for BDurationFormat and BTimeUnitFormat.


# 5d5ec05b1df089eff03f04a7122ac7cf355c4f3e 27-Oct-2014 Adrien Destugues <pulkomandy@gmail.com>

B*Format: make immutable and remove locking

The language and formatting conventions can now only be set when
creating the objects. This removed the needs for locking them when
formatting to avoid some other thread changing the format while it's
being used.

Adjust tests and DeskBar TimeView to the API changes.


# df4a02e0facdf184f33900d2137532bb37e0442d 02-Oct-2014 Adrien Destugues <pulkomandy@gmail.com>

Fix initialization of BTimeUnitFormat

* The default constructor must configure it for the default locale
* Fix uptime not showing in AboutSystem
* Add a testcase for this


# 03b2550ef1fba975beb15689659a4a5f38986aa0 01-Oct-2014 Adrien Destugues <pulkomandy@gmail.com>

Move time formatting to BTimeformat.

* Harmonize API for all B*Format to take an output BString by reference
as the first parameter,
* Move the FormatTime methods from BLocale to BTimeFormat
* Adjust all callers for BTimeFormat, BTimeUnitFormat and
BDurationFormat.


# cedd1e158b898956252bfb746bff6bc072e7e8b9 01-Oct-2014 Adrien Destugues <pulkomandy@gmail.com>

Add tests for BDurationFormat and BTimeUnitFormat.