Example usage for com.liferay.portal.util FastDateFormatFactoryImpl FastDateFormatFactoryImpl

List of usage examples for com.liferay.portal.util FastDateFormatFactoryImpl FastDateFormatFactoryImpl

Introduction

In this page you can find the example usage for com.liferay.portal.util FastDateFormatFactoryImpl FastDateFormatFactoryImpl.

Prototype

FastDateFormatFactoryImpl

Source Link

Usage

From source file:com.liferay.dynamic.data.mapping.render.DDMFormFieldValueRendererTest.java

License:Open Source License

protected void setUpFastDateFormatFactoryUtil() {
    FastDateFormatFactoryUtil fastDateFormatFactoryUtil = new FastDateFormatFactoryUtil();

    fastDateFormatFactoryUtil.setFastDateFormatFactory(new FastDateFormatFactoryImpl());
}

From source file:org.mimacom.commons.liferay.adapter526.LiferayToolsImpl.java

License:Apache License

public void initLiferay() {
    new FileUtil().setFile(new FileImpl());
    new SAXReaderUtil().setSAXReader(new SAXReaderImpl());
    new PortalUtil().setPortal(new PortalImpl());
    new HtmlUtil().setHtml(new HtmlImpl());
    ModelHintsImpl modelHints = new ModelHintsImpl();
    modelHints.afterPropertiesSet();/*ww w.  ja va2  s.co  m*/
    new ModelHintsUtil().setModelHints(modelHints);
    new FastDateFormatFactoryUtil().setFastDateFormatFactory(new FastDateFormatFactoryImpl());
}