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

Support for compound #4

Open
exavolt opened this issue Dec 28, 2011 · 0 comments
Open

Support for compound #4

exavolt opened this issue Dec 28, 2011 · 0 comments

Comments

@exavolt
Copy link
Owner

exavolt commented Dec 28, 2011

The type is string but the value is actually a compound of two or more fields.

For example measurement is a compound of the value and the unit. The output will be something like 25 m.

Every subfield could be defined independently. For example, the value is limited to 0 to 999 and the unit could be meter, feet, parsec. The delimiter is configurable too.

Another example is URL. It's constructed from elements: scheme, host, path, query, fragment.

Date-time is another obvious example.

See date-time editor on OS X for the reference.

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

No branches or pull requests

1 participant