Changeset 4669 for trunk/data


Ignore:
Timestamp:
Nov 26, 2008, 12:05:59 PM (13 years ago)
Author:
Nicklas Nordborg
Message:

Merged 2.9-stable@4643:4666 to trunk.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/data/units.xml

    r4635 r4669  
    11871187    </unit>
    11881188  </quantity>
     1189  <quantity system-id="net.sf.basedb.core.Quantity.STORAGE_SIZE">
     1190    <name>Storage size</name>
     1191    <reference-unit>1 byte</reference-unit>
     1192    <description>
     1193      A byte is the basic unit of for measuring storage
     1194      requirements for files, etc. We use the binary meaning
     1195      of the prefixes kilo (k), mega (M) and giga (G). Eg. 1
     1196      kilobyte = 1 024 bytes.
     1197    </description>
     1198    <unit>
     1199      <name>Byte</name>
     1200      <symbol>B</symbol>
     1201      <alias>bytes</alias>
     1202      <factor>1</factor>
     1203      <description>1 byte is the reference unit of file size.</description>
     1204    </unit>
     1205    <unit>
     1206      <name>Kilobyte</name>
     1207      <symbol>kB</symbol>
     1208      <factor>1024</factor>
     1209      <description>1 kilobyte is 1 024 bytes.</description>
     1210    </unit>
     1211    <unit>
     1212      <name>Megabyte</name>
     1213      <symbol>MB</symbol>
     1214      <factor>1048576</factor>
     1215      <description>1 megabyte is 1 048 576 bytes.</description>
     1216    </unit>
     1217    <unit>
     1218      <name>Gigabyte</name>
     1219      <symbol>GB</symbol>
     1220      <factor>1073741824</factor>
     1221      <description>1 gigabyte is 1 073 741 824 bytes.</description>
     1222    </unit>
     1223  </quantity>
    11891224
    11901225<!--
Note: See TracChangeset for help on using the changeset viewer.