net.sf.mmm.util.nls.impl.formatter
Class NlsFormatterDateTimeIso8601

java.lang.Object
  extended by net.sf.mmm.util.component.base.AbstractComponent
      extended by net.sf.mmm.util.component.base.AbstractLoggableComponent
          extended by net.sf.mmm.util.nls.base.AbstractNlsFormatter<O>
              extended by net.sf.mmm.util.nls.base.AbstractNlsFormatterPlugin<Object>
                  extended by net.sf.mmm.util.nls.impl.AbstractNlsFormatterDateIso8601
                      extended by net.sf.mmm.util.nls.impl.formatter.NlsFormatterDateTimeIso8601
All Implemented Interfaces:
NlsFormatter<Object>, NlsFormatterPlugin<Object>

@Singleton
@Named
public class NlsFormatterDateTimeIso8601
extends AbstractNlsFormatterDateIso8601

This is an implementation of NlsFormatter using Iso8601Util.

Since:
1.0.0
Author:
Joerg Hohwiller (hohwille at users.sourceforge.net)

Constructor Summary
NlsFormatterDateTimeIso8601()
          The constructor.
NlsFormatterDateTimeIso8601(Iso8601Util iso8601Util)
          The constructor.
 
Method Summary
 String getType()
          This method gets the type of this formatter.
 
Methods inherited from class net.sf.mmm.util.nls.impl.AbstractNlsFormatterDateIso8601
doInitialize, format, format, getStyle, setIso8601Util
 
Methods inherited from class net.sf.mmm.util.nls.base.AbstractNlsFormatterPlugin
toString
 
Methods inherited from class net.sf.mmm.util.nls.base.AbstractNlsFormatter
format
 
Methods inherited from class net.sf.mmm.util.component.base.AbstractLoggableComponent
getLogger, setLogger
 
Methods inherited from class net.sf.mmm.util.component.base.AbstractComponent
doInitialized, getInitializationState, initialize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface net.sf.mmm.util.nls.api.NlsFormatter
format
 

Constructor Detail

NlsFormatterDateTimeIso8601

public NlsFormatterDateTimeIso8601()
The constructor.


NlsFormatterDateTimeIso8601

public NlsFormatterDateTimeIso8601(Iso8601Util iso8601Util)
The constructor.

Parameters:
iso8601Util - is the Iso8601Util instance to use.
Method Detail

getType

public String getType()
This method gets the type of this formatter. See TYPE_* constants of NlsFormatterManager e.g. NlsFormatterManager.TYPE_NUMBER.

Returns:
the type or null for the default formatter. If type is null then also style needs to be null.


Copyright © 2001-2010 mmm-Team. All Rights Reserved.