summaryrefslogtreecommitdiff
path: root/src/main/java/sevenUnits/unit/USCustomary.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/sevenUnits/unit/USCustomary.java')
-rw-r--r--src/main/java/sevenUnits/unit/USCustomary.java20
1 files changed, 14 insertions, 6 deletions
diff --git a/src/main/java/sevenUnits/unit/USCustomary.java b/src/main/java/sevenUnits/unit/USCustomary.java
index fce829e..ef12043 100644
--- a/src/main/java/sevenUnits/unit/USCustomary.java
+++ b/src/main/java/sevenUnits/unit/USCustomary.java
@@ -1,5 +1,5 @@
/**
- * Copyright (C) 2019 Adrien Hopkins
+ * Copyright (C) 2019, 2021, 2024, 2025 Adrien Hopkins
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
@@ -18,16 +18,21 @@ package sevenUnits.unit;
/**
* A static utility class that contains units in the US Customary system.
- *
+ *
* @author Adrien Hopkins
* @since 2019-10-21
+ * @since v0.3.0
*/
+// this class is just constants, most of which are obvious from the variable name
+// so no need to check for missing values
+@SuppressWarnings("javadoc")
public final class USCustomary {
/**
* US Customary units that measure area
- *
+ *
* @author Adrien Hopkins
* @since 2019-11-08
+ * @since v0.3.0
*/
public static final class Area {
public static final LinearUnit SQUARE_SURVEY_FOOT = Length.SURVEY_FOOT
@@ -43,9 +48,10 @@ public final class USCustomary {
/**
* US Customary units that measure length
- *
+ *
* @author Adrien Hopkins
* @since 2019-10-28
+ * @since v0.3.0
*/
public static final class Length {
public static final LinearUnit FOOT = BritishImperial.Length.FOOT;
@@ -73,9 +79,10 @@ public final class USCustomary {
/**
* mass units
- *
+ *
* @author Adrien Hopkins
* @since 2019-11-08
+ * @since v0.3.0
*/
public static final class Mass {
public static final LinearUnit GRAIN = BritishImperial.Mass.GRAIN;
@@ -93,9 +100,10 @@ public final class USCustomary {
/**
* Volume units
- *
+ *
* @author Adrien Hopkins
* @since 2019-11-08
+ * @since v0.3.0
*/
public static final class Volume {
public static final LinearUnit CUBIC_INCH = Length.INCH.toExponent(3);