Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement unum.h #141

Closed
filmil opened this issue Jun 23, 2020 · 0 comments
Closed

Implement unum.h #141

filmil opened this issue Jun 23, 2020 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@filmil
Copy link
Member

filmil commented Jun 23, 2020

The function in the unum.h header provide number formatting. Needed for issue #137.

@filmil filmil changed the title Implement ufmt.h Implement unum.h Jun 23, 2020
@filmil filmil self-assigned this Jun 23, 2020
@filmil filmil added the enhancement New feature or request label Jun 23, 2020
filmil added a commit to filmil/rust_icu that referenced this issue Jun 24, 2020
This will allow us to implement the functionality in `unum.h`

Issue google#141.
filmil added a commit to filmil/rust_icu that referenced this issue Jun 24, 2020
filmil added a commit to filmil/rust_icu that referenced this issue Jun 24, 2020
Open, close and basic stylistic formatting is implemented and
tests added.  More methods are underway; but this is a good
point to stop and check what we already have.

Issue google#141.
filmil added a commit to filmil/rust_icu that referenced this issue Jun 24, 2020
This will allow us to implement the functionality in `unum.h`

Issue google#141.
filmil added a commit to filmil/rust_icu that referenced this issue Jun 24, 2020
filmil added a commit to filmil/rust_icu that referenced this issue Jun 24, 2020
Open, close and basic stylistic formatting is implemented and
tests added.  More methods are underway; but this is a good
point to stop and check what we already have.

Issue google#141.
filmil added a commit that referenced this issue Jun 24, 2020
This will allow us to implement the functionality in `unum.h`

Issue #141.
filmil added a commit that referenced this issue Jun 24, 2020
filmil added a commit that referenced this issue Jun 24, 2020
Open, close and basic stylistic formatting is implemented and
tests added.  More methods are underway; but this is a good
point to stop and check what we already have.

Issue #141.
filmil added a commit to filmil/rust_icu that referenced this issue Jun 25, 2020
This header file and its methods are needed in the implementation
of iteration functions from `unum.h`, for example
`unum_formatDoubleForFields`.

See issue google#141 for some background.
filmil added a commit to filmil/rust_icu that referenced this issue Jun 25, 2020
filmil added a commit to filmil/rust_icu that referenced this issue Jun 25, 2020
Field iteration can be used to walk the characters
used for formatting.  Since indexes are based on the
UChar encoding, no UTF8 equivalent is provided.

Issue google#141
filmil added a commit to filmil/rust_icu that referenced this issue Jun 26, 2020
Using uformattable::UFormattable provides
generalized value parsing for the particular
locale.

While this isn't the full spectrum of the
underlying functions that ICU4C provides
for value parsing, it's general enough
to be usable for all the use cases where
parsing is needed, *if* needed.  However,
those uses are rare.

Issue google#141.
@filmil filmil mentioned this issue Jun 26, 2020
filmil added a commit that referenced this issue Jul 8, 2020
This header file and its methods are needed in the implementation
of iteration functions from `unum.h`, for example
`unum_formatDoubleForFields`.

See issue #141 for some background.
filmil added a commit that referenced this issue Jul 8, 2020
filmil added a commit that referenced this issue Jul 8, 2020
Field iteration can be used to walk the characters
used for formatting.  Since indexes are based on the
UChar encoding, no UTF8 equivalent is provided.

Issue #141
filmil added a commit to filmil/rust_icu that referenced this issue Jul 8, 2020
Using uformattable::UFormattable provides
generalized value parsing for the particular
locale.

While this isn't the full spectrum of the
underlying functions that ICU4C provides
for value parsing, it's general enough
to be usable for all the use cases where
parsing is needed, *if* needed.  However,
those uses are rare.

Issue google#141.
filmil added a commit that referenced this issue Jul 17, 2020
Using uformattable::UFormattable provides
generalized value parsing for the particular
locale.

While this isn't the full spectrum of the
underlying functions that ICU4C provides
for value parsing, it's general enough
to be usable for all the use cases where
parsing is needed, *if* needed.  However,
those uses are rare.

Issue #141.
filmil added a commit to filmil/rust_icu that referenced this issue Jul 17, 2020
- updates the bindings
- updates the coverage report

Issue google#141
filmil added a commit to filmil/rust_icu that referenced this issue Jul 17, 2020
Not very swell with test coverage now, since most remaining methods are
getters and setters.

Some attempts at generalizing the getters and setters through macros,
with unremarkable results.

Issue google#141
filmil added a commit that referenced this issue Jul 21, 2020
- updates the bindings
- updates the coverage report

Issue #141
filmil added a commit that referenced this issue Jul 21, 2020
Not very swell with test coverage now, since most remaining methods are
getters and setters.

Some attempts at generalizing the getters and setters through macros,
with unremarkable results.

Issue #141
@filmil filmil closed this as completed Jul 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant