Stay organized with collections
    
    
      
      Save and categorize content based on your preferences.
    
  
  
    
  
  
  
  
    
  
  
    
    
  
  
  public
  
  
  abstract
  class
  UFormat
  
  
  
  
    extends Format
  
  
  
  
  
  
  
    
      
        
          Known direct subclasses
          
  
  
    
  
  
    
      
        | DateFormat | 
        
          [icu enhancement] ICU's replacement for DateFormat. Methods, fields, and other functionality specific to ICU are labeled '[icu]'. 
          
    
         | 
       
      
    
      
        | DateIntervalFormat | 
        
          DateIntervalFormat is a class for formatting and parsing date
 intervals in a language-independent manner. 
          
    
         | 
       
      
    
      
        | MeasureFormat | 
        
          A formatter for Measure objects. 
          
    
         | 
       
      
    
      
        | MessageFormat | 
        
          [icu enhancement] ICU's replacement for MessageFormat. Methods, fields, and other functionality specific to ICU are labeled '[icu]'. 
          
    
         | 
       
      
    
      
        | NumberFormat | 
        
          [icu enhancement] ICU's replacement for NumberFormat. Methods, fields, and other functionality specific to ICU are labeled '[icu]'. 
          
    
         | 
       
      
    
      
        | PluralFormat | 
        
          PluralFormat supports the creation of internationalized
 messages with plural inflection. 
          
    
         | 
       
      
    
      
        | TimeZoneFormat | 
        
          TimeZoneFormat supports time zone display name formatting and parsing. 
          
    
         | 
       
      
    
   
   
         
       | 
    
  
  
  
  
    
      
        
          Known indirect subclasses
          
  
  
    
  
  
    
      
        | CompactDecimalFormat | 
        
          Formats numbers in compact (abbreviated) notation, like "1.2K" instead of "1200". 
          
    
         | 
       
      
    
      
        | DecimalFormat | 
        
          [icu enhancement] ICU's replacement for DecimalFormat. Methods, fields, and other functionality specific to ICU are labeled '[icu]'. 
          
    
         | 
       
      
    
      
        | SimpleDateFormat | 
        
          [icu enhancement] ICU's replacement for SimpleDateFormat. Methods, fields, and other functionality specific to ICU are labeled '[icu]'. 
          
    
         | 
       
      
    
   
   
         
       | 
    
  
    
  An abstract class that extends Format to provide
 additional ICU protocol, specifically, the getLocale()
 API.  All ICU format classes are subclasses of this class.
  
Summary
Public constructors | 
  
  
  
    
      
      UFormat()
      
      
        Default constructor.
        
    
 
      
     | 
  
  
Inherited methods | 
| 
  
 | 
  
    From class
      
        
          java.lang.Object
        
      
    
    
      
  
  
  
    
        
        
        
        
        
        Object
     | 
  
    
      
      clone()
      
      
        Creates and returns a copy of this object.
        
    
 
      
     | 
   
  
  
  
  
    
        
        
        
        
        
        boolean
     | 
  
    
      
      equals(Object obj)
      
      
        Indicates whether some other object is "equal to" this one.
        
    
 
      
     | 
   
  
  
  
  
    
        
        
        
        
        
        void
     | 
  
    
      
      finalize()
      
      
        Called by the garbage collector on an object when garbage collection
 determines that there are no more references to the object.
        
    
 
      
     | 
   
  
  
  
  
    
        
        
        
        final
        
        Class<?>
     | 
  
    
      
      getClass()
      
      
        Returns the runtime class of this Object.
        
    
 
      
     | 
   
  
  
  
  
    
        
        
        
        
        
        int
     | 
  
    
      
      hashCode()
      
      
        Returns a hash code value for the object.
        
    
 
      
     | 
   
  
  
  
  
    
        
        
        
        final
        
        void
     | 
  
    
      
      notify()
      
      
        Wakes up a single thread that is waiting on this object's
 monitor.
        
    
 
      
     | 
   
  
  
  
  
    
        
        
        
        final
        
        void
     | 
  
    
      
      notifyAll()
      
      
        Wakes up all threads that are waiting on this object's monitor.
        
    
 
      
     | 
   
  
  
  
  
    
        
        
        
        
        
        String
     | 
  
    
      
      toString()
      
      
        Returns a string representation of the object.
        
    
 
      
     | 
   
  
  
  
  
    
        
        
        
        final
        
        void
     | 
  
    
      
      wait(long timeoutMillis, int nanos)
      
      
        Causes the current thread to wait until it is awakened, typically
 by being notified or interrupted, or until a
 certain amount of real time has elapsed.
        
    
 
      
     | 
   
  
  
  
  
    
        
        
        
        final
        
        void
     | 
  
    
      
      wait(long timeoutMillis)
      
      
        Causes the current thread to wait until it is awakened, typically
 by being notified or interrupted, or until a
 certain amount of real time has elapsed.
        
    
 
      
     | 
   
  
  
  
  
    
        
        
        
        final
        
        void
     | 
  
    
      
      wait()
      
      
        Causes the current thread to wait until it is awakened, typically
 by being notified or interrupted.
        
    
 
      
     | 
   
  
     
   
 | 
Public constructors
    
    
public UFormat ()
    
    
    
  Default constructor.
 
 
 
  
  
    
  
 
  
    
    
      
       
    
    
  
  
  Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
  Last updated 2025-02-10 UTC.
  
  
  
    
      [null,null,["Last updated 2025-02-10 UTC."],[],[]]