Class WbsStringify

java.lang.Object
wbs.utils.util.string.WbsStringify

public final class WbsStringify extends Object
  • Method Details

    • toString

      public static String toString(org.bukkit.inventory.ItemStack item)
    • toString

      public static String toString(org.bukkit.Location location, boolean includeWorld)
    • toString

      public static String toString(Duration duration, boolean longFormat)
      Get the duration as a human readable string.
      Parameters:
      duration - The duration to convert
      longFormat - Whether or not the duration is longer than 1 hour - not required, but supports up to years when long, but will show "259 minutes and 25.35 seconds" if not long and more than an hour.
      Returns:
      The duration as a string.
    • toString

      public static String toString(LocalDateTime timeStamp)