Top Description Fields Constructors Methods
de.undercouch.citeproc.csl.internal.locale

public Class LDate

extends Object
Class Inheritance
Imports
de.undercouch.citeproc.csl.internal.rendering.SDatePart, de.undercouch.citeproc.helper.NodeHelper, org.w3c.dom.Node, .NodeList, java.util.ArrayList, .List

A localized date format
Author
Michel Kraemer

Field Summary

Modifier and TypeField and Description
private final List<SDatePart>
private final String
private final String

Constructor Summary

AccessConstructor and Description
public
LDate(Node
the XML node
node
)

Construct the date format from an XML node

Method Summary

Modifier and TypeMethod and Description
public List<SDatePart>

Returns:

the elements
getDateParts
()

Get the date-part elements to render

public String

Returns:

a delimiter or null if no delimiter should be used
getDelimiter
()

An optional delimiter for the elements returned by getDateParts()

public String

Returns:

the form
getForm
()

Get the date form (text or numerical)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

datePartsback to summary
private final List<SDatePart> dateParts
delimiterback to summary
private final String delimiter
formback to summary
private final String form

Constructor Detail

LDateback to summary
public LDate(Node node)

Construct the date format from an XML node

Parameters
node:Node

the XML node

Method Detail

getDatePartsback to summary
public List<SDatePart> getDateParts()

Get the date-part elements to render

Returns:List<SDatePart>

the elements

getDelimiterback to summary
public String getDelimiter()

An optional delimiter for the elements returned by getDateParts()

Returns:String

a delimiter or null if no delimiter should be used

getFormback to summary
public String getForm()

Get the date form (text or numerical)

Returns:String

the form