Java Measurement Utilities for JSR 363

Classes for using and formatting data and data-rate values in the JSR 363 Units of Measurement API.

Лицензия

Лицензия

Группа

Группа

com.pervasivecode
Идентификатор

Идентификатор

measurement-utils-jsr363
Последняя версия

Последняя версия

1.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

Java Measurement Utilities for JSR 363
Classes for using and formatting data and data-rate values in the JSR 363 Units of Measurement API.
Ссылка на сайт

Ссылка на сайт

https://github.com/JamieFlournoy/java-measurement-utils-jsr363
Система контроля версий

Система контроля версий

https://github.com/JamieFlournoy/java-measurement-utils-jsr363

Скачать measurement-utils-jsr363

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/com.pervasivecode/measurement-utils-jsr363/ -->
<dependency>
    <groupId>com.pervasivecode</groupId>
    <artifactId>measurement-utils-jsr363</artifactId>
    <version>1.0</version>
</dependency>
// https://jarcasting.com/artifacts/com.pervasivecode/measurement-utils-jsr363/
implementation 'com.pervasivecode:measurement-utils-jsr363:1.0'
// https://jarcasting.com/artifacts/com.pervasivecode/measurement-utils-jsr363/
implementation ("com.pervasivecode:measurement-utils-jsr363:1.0")
'com.pervasivecode:measurement-utils-jsr363:jar:1.0'
<dependency org="com.pervasivecode" name="measurement-utils-jsr363" rev="1.0">
  <artifact name="measurement-utils-jsr363" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.pervasivecode', module='measurement-utils-jsr363', version='1.0')
)
libraryDependencies += "com.pervasivecode" % "measurement-utils-jsr363" % "1.0"
[com.pervasivecode/measurement-utils-jsr363 "1.0"]

Зависимости

compile (3)

Идентификатор библиотеки Тип Версия
systems.uom : systems-common-java8 jar 0.9
systems.uom : systems-unicode-java8 jar 0.9
systems.uom : systems-quantity jar 0.9

runtime (2)

Идентификатор библиотеки Тип Версия
com.pervasivecode : time-utils jar 1.0
com.google.guava : guava jar 27.0.1-jre

Модули Проекта

Данный проект не имеет модулей.

Pervasive Code's Java Measurement Utilities for JSR 363

This library includes classes for using the JSR 363 Units of Measurement API with measurements of amount of data and rate of data.

The JSR 363 API specification provides for a type-safe Java representation of quantities with units.

This library depends on the Units of Measurement GitHub project and its Units of Measurement Systems and JSR 363 Implementation for Java SE 8.

This library provides bytes-per-second and bits-per-second unit types, and code to format quantities using these types in familiar formats, such as "300 GB" (SI prefixes) or "1.4 KiB" (IEC binary prefixes).

Overview of included classes

Javadocs are available on javadoc.io:

Javadocs

See the separate OVERVIEW.md file for a description of what interfaces and classes are included. (Overview content is taken from class Javadoc comments, so there's no need to read both.)

How to use it in your code

See the Example Code section in OVERVIEW.md for details.

Including it in your project

Use groupId com.pervasivecode, name measurement-utils-jsr363, version 1.0 in your build tool of choice.

Gradle Example

If you are using Gradle 4.x, put this in your build.properties file:

// in your build.gradle's repositories {} block:
    mavenCentral();

// in your build.gradle's dependencies {} block:
    implementation 'com.pervasivecode:measurement-utils-jsr363:1.0'

    // or, if you prefer the separated group/name/version syntax:
    implementation group: 'com.pervasivecode', name: 'measurement-utils-jsr363', version: '1.0'

Contributing

See DEVELOPERS.md and GRADLE_INTRO.md if you want to build and hack on the code yourself.

Copyright and License

Copyright © 2018 Jamie Flournoy.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Версии библиотеки

Версия
1.0
0.9.3
0.9.1
0.9