Google uses AI technology to translate content into your preferred language. AI translations can contain errors.
单位
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
本页面介绍了 unit 规范概念数据集。通过
完整的 XML 文件也可供审核。
基本信息
提供商
导入的命名空间
主题
未定义任何主题。
概念
概念:单位
| 单位 [XML] |
| 单位 |
| entity:entity |
指定与指标概念相关联的单位。示例: <concept id="area_unit" extends="unit:unit">
<info>
<name>
<value>Area in square kilometers</value>
</name>
</info>
<table ref="area_unit_table"/>
</concept>
该表格有一行包含以下属性值:
symbol,symbol_position,unit_text
km²,END,square kilometers
然后,可以使用此单位来定义指标概念:
<concept id="country_area" extends="quantity:magnitude">
<info>
<name>
<value>Country area in square kilometers</value>
</name>
</info>
<attribute id="unit" concept="area_unit"/>
<table ref="country_area_table"/>
</concept>
|
| 没有本地属性。 |
| unit_text [XML] |
| 单元文字 |
| 字符串 |
| 可在值旁边显示的描述性文字。 |
|
概念:sym_position
概念:货币
切片
未定义任何切片。
表
表:unit_symbol_position_table
| unit_symbol_position_table [XML]XML |
| unit_symbol_positions.csv [CSV] |
| 名称 |
类型 |
| symbol_position |
字符串 |
|
表:currency_table
| currency_table [XML] |
| currencies.csv [CSV] |
| 名称 |
类型 |
| currency |
字符串 |
| unit_text |
字符串 |
| 符号 |
字符串 |
| symbol_position |
字符串 |
|
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2026-02-18。
[null,null,["最后更新时间 (UTC):2026-02-18。"],[],["This dataset defines unit concepts, including `unit`, `symbol_position`, and `currency`. The `unit` concept, extending `entity:entity`, specifies units associated with metrics. It includes properties like `symbol`, `symbol_position`, and `unit_text`. `symbol_position` describes the placement of the unit symbol. The `currency` concept, extending `unit`, specifies currencies identified by ISO 4217 codes. Data is stored in tables like `unit_symbol_position_table` and `currency_table`, accessible as XML and CSV files.\n"]]