Volume.Companion

object Volume.Companion


Summary

Public methods

final @NonNull Volume
fluidOuncesUs(double value)

Creates Volume with the specified value in US fluid ounces.

final @NonNull Volume
liters(double value)

Creates Volume with the specified value in liters.

final @NonNull Volume
milliliters(double value)

Creates Volume with the specified value in milliliters.

Public methods

fluidOuncesUs

public final @NonNull Volume fluidOuncesUs(double value)

Creates Volume with the specified value in US fluid ounces.

liters

public final @NonNull Volume liters(double value)

Creates Volume with the specified value in liters.

milliliters

public final @NonNull Volume milliliters(double value)

Creates Volume with the specified value in milliliters.