|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cascading.operation.BaseOperation<Pair<SimpleDateFormat,Tuple>> cascading.operation.text.DateOperation
public class DateOperation
Class DateOperation is the base class for DateFormatter
and DateParser
.
Field Summary | |
---|---|
protected Locale |
locale
Field locale |
protected TimeZone |
zone
Field zone |
Fields inherited from class cascading.operation.BaseOperation |
---|
fieldDeclaration, numArgs, trace |
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 | |
---|---|
boolean |
equals(Object object)
|
protected Calendar |
getCalendar()
|
SimpleDateFormat |
getDateFormat()
Method getDateFormat returns the dateFormat of this DateParser object. |
String |
getDateFormatString()
|
int |
hashCode()
|
void |
prepare(FlowProcess flowProcess,
OperationCall<Pair<SimpleDateFormat,Tuple>> operationCall)
Method prepare does nothing, and may safely be overridden. |
Methods inherited from class cascading.operation.BaseOperation |
---|
cleanup, flush, getFieldDeclaration, getNumArgs, getTrace, isSafe, printOperationInternal, toString, toStringInternal |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected TimeZone zone
protected Locale locale
Constructor Detail |
---|
@ConstructorProperties(value={"numArgs","fieldDeclaration","dateFormatString"}) public DateOperation(int numArgs, Fields fieldDeclaration, String dateFormatString)
numArgs
- of type intfieldDeclaration
- of type FieldsdateFormatString
- of type String@ConstructorProperties(value={"numArgs","fieldDeclaration","dateFormatString","zone","locale"}) public DateOperation(int numArgs, Fields fieldDeclaration, String dateFormatString, TimeZone zone, Locale locale)
numArgs
- of type intfieldDeclaration
- of type FieldsdateFormatString
- of type Stringzone
- of type TimeZonelocale
- of type LocaleMethod Detail |
---|
public String getDateFormatString()
public SimpleDateFormat getDateFormat()
protected Calendar getCalendar()
public void prepare(FlowProcess flowProcess, OperationCall<Pair<SimpleDateFormat,Tuple>> operationCall)
BaseOperation
prepare
in interface Operation<Pair<SimpleDateFormat,Tuple>>
prepare
in class BaseOperation<Pair<SimpleDateFormat,Tuple>>
public boolean equals(Object object)
equals
in class BaseOperation<Pair<SimpleDateFormat,Tuple>>
public int hashCode()
hashCode
in class BaseOperation<Pair<SimpleDateFormat,Tuple>>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |