cascading.operation.text
Class DateOperation

java.lang.Object
  extended by cascading.operation.BaseOperation
      extended by cascading.operation.text.DateOperation
All Implemented Interfaces:
Operation, Serializable
Direct Known Subclasses:
DateFormatter, DateParser

public class DateOperation
extends BaseOperation

Class DateOperation is the base class for DateFormatter and DateParser.

See Also:
Serialized Form

Field Summary
protected  Locale locale
          Field locale
protected  TimeZone zone
          Field zone
 
Fields inherited from class cascading.operation.BaseOperation
fieldDeclaration, numArgs
 
Fields inherited from interface cascading.operation.Operation
ANY
 
Constructor Summary
DateOperation(int numArgs, Fields fieldDeclaration, String dateFormatString)
          Constructor DateOperation creates a new DateOperation instance.
DateOperation(int numArgs, Fields fieldDeclaration, String dateFormatString, TimeZone zone, Locale locale)
          Constructor DateOperation creates a new DateOperation instance.
 
Method Summary
protected  Calendar getCalendar()
           
 SimpleDateFormat getDateFormat()
          Method getDateFormat returns the dateFormat of this DateParser object.
 
Methods inherited from class cascading.operation.BaseOperation
getFieldDeclaration, getNumArgs, printOperationInternal, toString, toStringInternal
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

zone

protected TimeZone zone
Field zone


locale

protected Locale locale
Field locale

Constructor Detail

DateOperation

public DateOperation(int numArgs,
                     Fields fieldDeclaration,
                     String dateFormatString)
Constructor DateOperation creates a new DateOperation instance.

Parameters:
numArgs - of type int
fieldDeclaration - of type Fields
dateFormatString - of type String

DateOperation

public DateOperation(int numArgs,
                     Fields fieldDeclaration,
                     String dateFormatString,
                     TimeZone zone,
                     Locale locale)
Constructor DateOperation creates a new DateOperation instance.

Parameters:
numArgs - of type int
fieldDeclaration - of type Fields
dateFormatString - of type String
zone - of type TimeZone
locale - of type Locale
Method Detail

getDateFormat

public SimpleDateFormat getDateFormat()
Method getDateFormat returns the dateFormat of this DateParser object.

Returns:
the dateFormat (type SimpleDateFormat) of this DateParser object.

getCalendar

protected Calendar getCalendar()


Copyright © 2007-2008 Concurrent, Inc. All Rights Reserved.