Пример #1
0
        /// <summary>
        /// Answers a new instance of DecimalFormat with the same pattern and
        /// properties as this DecimalFormat.
        /// </summary>
        ///
        /// <returns>a shallow copy of this DecimalFormat</returns>
        /// <seealso cref="T:System.ICloneable"/>
        public Object Clone()
        {
            DecimalFormat clone = (DecimalFormat)base.Clone();

            clone.dform   = (IBM.ICU.Text.DecimalFormat)dform.Clone();
            clone.symbols = (DecimalFormatSymbols)symbols.Clone();
            return(clone);
        }