Search Results for

    Show / Hide Table of Contents

    Class SynchronizedSimpleDataFormatWrapper

    Defines a thread safe wrapper for SimpleDateFormat

    Inheritance
    java.lang.Object
    SynchronizedSimpleDataFormatWrapper
    Inherited Members
    Object.clone()
    Object.equals(Object)
    Object.finalize()
    Object.getClass()
    Object.hashCode()
    Object.notify()
    Object.notifyAll()
    Object.toString()
    Object.wait()
    Object.wait(long)
    Object.wait(long,int)
    Namespace:
    Assembly: .dll
    Syntax
    public final class SynchronizedSimpleDataFormatWrapper

    Constructors

    SynchronizedSimpleDataFormatWrapper(SimpleDateFormat dateFormat)

    Creates a new instance of SynchronizedSimpleDataFormatWrapper class

    Declaration
    public SynchronizedSimpleDataFormatWrapper(SimpleDateFormat dateFormat)
    Parameters
    Type Name Description
    SimpleDateFormat dateFormat

    The formatter to wrap

    Methods

    applyPattern(String pattern)

    Applies a pattern to the formatter

    Declaration
    public final void applyPattern(String pattern)
    Parameters
    Type Name Description
    String pattern

    The pattern to apply

    format(Date date)

    Formats the date

    Declaration
    public final String format(Date date)
    Parameters
    Type Name Description
    Date date

    The date to format

    Returns
    Type Description
    String
    Back to top © 2011-2025 SciChart. All rights reserved. | sitemap.xml