Skip to content

Add getUnitCategory() - #43

Merged
hugovdm merged 4 commits into
sffc:units-stagingfrom
hugovdm:getUnitCategory
May 14, 2020
Merged

hugovdm merged 4 commits into
sffc:units-stagingfrom
hugovdm:getUnitCategory

Conversation

@hugovdm

@hugovdm hugovdm commented May 11, 2020

Copy link
Copy Markdown
Collaborator
Checklist

@hugovdm
hugovdm marked this pull request as ready for review May 14, 2020 19:05
@hugovdm
hugovdm requested review from sffc and younies May 14, 2020 19:05
@sffc

sffc commented May 14, 2020

Copy link
Copy Markdown
Owner

Feel free to merge this if it's ready.

@hugovdm

hugovdm commented May 14, 2020

Copy link
Copy Markdown
Collaborator Author

I'll merge as-is then. I do like giving this function access to the "get base unit" function, but let's do that later.

@hugovdm
hugovdm merged commit d406b91 into sffc:units-staging May 14, 2020
@hugovdm
hugovdm deleted the getUnitCategory branch May 22, 2020 17:41
hugovdm added a commit to hugovdm/icu that referenced this pull request Jul 15, 2020
PR: sffc#42
Commit: 24494d9
UnitPreferences class in unitsdata.cpp

PR: sffc#43
Commit: d406b91
Add getUnitCategory()

PR: sffc#45
Commit: 6b14d7f
Support usage component dropping, and more

PR: sffc#46
Commit: 5e4f8d4
Add six more unit tests for getPreferencesFor.
hugovdm added a commit to hugovdm/icu that referenced this pull request Jul 23, 2020
PR: sffc#42
Commit: 24494d9
UnitPreferences class in unitsdata.cpp

PR: sffc#43
Commit: d406b91
Add getUnitCategory()

PR: sffc#45
Commit: 6b14d7f
Support usage component dropping, and more

PR: sffc#46
Commit: 5e4f8d4
Add six more unit tests for getPreferencesFor.

Rebase fixes:
- No getConstAlias
- SingleUnitImpl::getSimpleUnitID()
- ConversionRates class
- Use intltest.cpp/intltest.h from units-staging HEAD
hugovdm added a commit to hugovdm/icu that referenced this pull request Jul 23, 2020
PR: sffc#42
Commit: 24494d9
UnitPreferences class in unitsdata.cpp

PR: sffc#43
Commit: d406b91
Add getUnitCategory()

PR: sffc#45
Commit: 6b14d7f
Support usage component dropping, and more

PR: sffc#46
Commit: 5e4f8d4
Add six more unit tests for getPreferencesFor.

Rebase fixes:
- No getConstAlias
- SingleUnitImpl::getSimpleUnitID()
- Use intltest.cpp/intltest.h from units-staging HEAD
hugovdm added a commit to hugovdm/icu that referenced this pull request Jul 23, 2020
PR: sffc#42
Commit: 24494d9
UnitPreferences class in unitsdata.cpp

PR: sffc#43
Commit: d406b91
Add getUnitCategory()

PR: sffc#45
Commit: 6b14d7f
Support usage component dropping, and more

PR: sffc#46
Commit: 5e4f8d4
Add six more unit tests for getPreferencesFor.

Rebase fixes:
- No getConstAlias
- SingleUnitImpl::getSimpleUnitID()
- Use intltest.cpp/intltest.h from units-staging HEAD
hugovdm added a commit to hugovdm/icu that referenced this pull request Aug 3, 2020
PR: sffc#42
Commit: 24494d9
UnitPreferences class in unitsdata.cpp

PR: sffc#43
Commit: d406b91
Add getUnitCategory()

PR: sffc#45
Commit: 6b14d7f
Support usage component dropping, and more

PR: sffc#46
Commit: 5e4f8d4
Add six more unit tests for getPreferencesFor.

Rebase fixes:
- No getConstAlias
- SingleUnitImpl::getSimpleUnitID()
- Use intltest.cpp/intltest.h from units-staging HEAD
hugovdm added a commit to hugovdm/icu that referenced this pull request Aug 3, 2020
PR: sffc#42
Commit: 24494d9
UnitPreferences class in unitsdata.cpp

PR: sffc#43
Commit: d406b91
Add getUnitCategory()

PR: sffc#45
Commit: 6b14d7f
Support usage component dropping, and more

PR: sffc#46
Commit: 5e4f8d4
Add six more unit tests for getPreferencesFor.

Rebase fixes:
- No getConstAlias
- SingleUnitImpl::getSimpleUnitID()
- Use intltest.cpp/intltest.h from units-staging HEAD
hugovdm added a commit to hugovdm/icu that referenced this pull request Aug 15, 2020
PR: sffc#42
Commit: 24494d9
UnitPreferences class in unitsdata.cpp

PR: sffc#43
Commit: d406b91
Add getUnitCategory()

PR: sffc#45
Commit: 6b14d7f
Support usage component dropping, and more

PR: sffc#46
Commit: 5e4f8d4
Add six more unit tests for getPreferencesFor.

Rebase fixes:
- No getConstAlias
- SingleUnitImpl::getSimpleUnitID()
- Use intltest.cpp/intltest.h from units-staging HEAD
hugovdm added a commit to hugovdm/icu that referenced this pull request Aug 28, 2020
PR: sffc#42
Commit: 24494d9
UnitPreferences class in unitsdata.cpp

PR: sffc#43
Commit: d406b91
Add getUnitCategory()

PR: sffc#45
Commit: 6b14d7f
Support usage component dropping, and more

PR: sffc#46
Commit: 5e4f8d4
Add six more unit tests for getPreferencesFor.

Rebase fixes:
- No getConstAlias
- SingleUnitImpl::getSimpleUnitID()
- Use intltest.cpp/intltest.h from units-staging HEAD
hugovdm added a commit to hugovdm/icu that referenced this pull request Sep 1, 2020
PR: sffc#42
Commit: 24494d9
UnitPreferences class in unitsdata.cpp

PR: sffc#43
Commit: d406b91
Add getUnitCategory()

PR: sffc#45
Commit: 6b14d7f
Support usage component dropping, and more

PR: sffc#46
Commit: 5e4f8d4
Add six more unit tests for getPreferencesFor.

Rebase fixes:
- No getConstAlias
- SingleUnitImpl::getSimpleUnitID()
- Use intltest.cpp/intltest.h from units-staging HEAD
hugovdm added a commit to hugovdm/icu that referenced this pull request Sep 2, 2020
PR: sffc#42
Commit: 24494d9
UnitPreferences class in unitsdata.cpp

PR: sffc#43
Commit: d406b91
Add getUnitCategory()

PR: sffc#45
Commit: 6b14d7f
Support usage component dropping, and more

PR: sffc#46
Commit: 5e4f8d4
Add six more unit tests for getPreferencesFor.

Rebase fixes:
- No getConstAlias
- SingleUnitImpl::getSimpleUnitID()
- Use intltest.cpp/intltest.h from units-staging HEAD

SQUASHED:
- A CI fix for source/i18n/unitsdata.h

squash! CI fix for source/test/intltest/unitsdatatest.cpp
hugovdm added a commit to hugovdm/icu that referenced this pull request Sep 9, 2020
UnitPreferences class in unitsdata.cpp
PR: sffc#42
Commit: 24494d9

Add getUnitCategory()
PR: sffc#43
Commit: d406b91

Support usage component dropping, and more
PR: sffc#45
Commit: 6b14d7f

Add six more unit tests for getPreferencesFor.
PR: sffc#46
Commit: 5e4f8d4

Change getPreferencesFor parameters from char* to StringPiece.
PR: sffc#47
Commit: a7ca496
hugovdm added a commit to unicode-org/icu that referenced this pull request Sep 10, 2020
UnitPreferences class in unitsdata.cpp
PR: sffc#42
Commit: 24494d9

Add getUnitCategory()
PR: sffc#43
Commit: d406b91

Support usage component dropping, and more
PR: sffc#45
Commit: 6b14d7f

Add six more unit tests for getPreferencesFor.
PR: sffc#46
Commit: 5e4f8d4

Change getPreferencesFor parameters from char* to StringPiece.
PR: sffc#47
Commit: a7ca496
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants