Class NSDateComponentsFormatterUnitsStyle


  • public final class NSDateComponentsFormatterUnitsStyle
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static long Abbreviated
      "1h 10m"
      static long Brief
      "1hr 10min" - Brief is shorter than Short (e.g. in English, it removes the comma)
      static long Full
      "1 hour, 10 minutes"
      static long Positional
      "1:10; may fall back to abbreviated units in some cases, e.g. 3d"
      static long Short
      "1 hr, 10 min"
      static long SpellOut
      "One hour, ten minutes"
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • Positional

        public static final long Positional
        "1:10; may fall back to abbreviated units in some cases, e.g. 3d"
        See Also:
        Constant Field Values
      • Brief

        public static final long Brief
        "1hr 10min" - Brief is shorter than Short (e.g. in English, it removes the comma)
        See Also:
        Constant Field Values