Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 16 additions & 2 deletions Common/UnitDefinitions/Volume.json
Original file line number Diff line number Diff line change
Expand Up @@ -347,6 +347,20 @@
}
]
},
{
"SingularName": "MetricTablespoon",
"PluralName": "MetricTablespoons",
"XmlDocSummary": "An international metric tablespoon is exactly equal to 15 mL. It is the equivalence of 1⁠ 1/2 metric dessert spoons or 3 metric teaspoons.",
"XmlDocRemarks": "https://en.wikipedia.org/wiki/Tablespoon#International_metric",
"FromUnitToBaseFunc": "{x} * 1.5e-5",
"FromBaseToUnitFunc": "{x} / 1.5e-5",
"Localization": [
{
"Culture": "en-US",
"Abbreviations": [ "tablespoon", "tbsp", "tbsp.", "tblsp", "tblsp." ]
}
]
},
{
"SingularName": "UkTablespoon",
"PluralName": "UkTablespoons",
Expand Down Expand Up @@ -413,7 +427,7 @@
"Localization": [
{
"Culture": "en-US",
"Abbreviations": ["cup (U.S. customary)"]
"Abbreviations": [ "cup (U.S. customary)" ]
}
]
},
Expand All @@ -427,7 +441,7 @@
"Localization": [
{
"Culture": "en-US",
"Abbreviations": ["cup (U.S.)"]
"Abbreviations": [ "cup (U.S.)" ]
}
]
},
Expand Down
3 changes: 2 additions & 1 deletion Common/UnitEnumValues.g.json
Original file line number Diff line number Diff line change
Expand Up @@ -1600,7 +1600,8 @@
"UsTablespoon": 51,
"UsTeaspoon": 52,
"Nanoliter": 53,
"ImperialQuart": 57
"ImperialQuart": 57,
"MetricTablespoon": 63
},
"VolumeConcentration": {
"CentiliterPerLiter": 1,
Expand Down
12 changes: 12 additions & 0 deletions UnitsNet.NanoFramework/GeneratedCode/Quantities/Volume.g.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions UnitsNet.NanoFramework/GeneratedCode/Units/VolumeUnit.g.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions UnitsNet.Tests/CustomCode/VolumeTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ public class VolumeTests : VolumeTestsBase

protected override double UkTablespoonsInOneCubicMeter => 66666.6666667;

protected override double MetricTablespoonsInOneCubicMeter => 66666.6666667;

protected override double UsBeerBarrelsInOneCubicMeter => 8.5216790723083;

protected override double UsGallonsInOneCubicMeter => 264.17217;
Expand Down
Loading