Package com.logviewer.formats.utils
Class LvLayoutSimpleDateNode
java.lang.Object
com.logviewer.formats.utils.LvLayoutDateNode
com.logviewer.formats.utils.LvLayoutSimpleDateNode
- All Implemented Interfaces:
LvLayoutNode,Cloneable
-
Field Summary
FieldsFields inherited from class com.logviewer.formats.utils.LvLayoutDateNode
currentDate, locale, zoneFields inherited from interface com.logviewer.formats.utils.LvLayoutNode
PARSE_FAILED, SKIP_FIELD -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.logviewer.formats.utils.LvLayoutDateNode
getZone, withLocale, withTimeZoneMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.logviewer.formats.utils.LvLayoutNode
getValueStart, removeSpacesBefore
-
Field Details
-
timestamp
-
-
Constructor Details
-
LvLayoutSimpleDateNode
-
-
Method Details
-
getFormat
-
parse
- Parameters:
s- a string to parse.offset- begin of parsable text partend- end of parsable text part- Returns:
- the end of parsed field, or
LvLayoutNode.SKIP_FIELDif the part is not present, orLvLayoutNode.PARSE_FAILEDif the string is not a valid log line.
-
getCurrentDate
public long getCurrentDate()- Overrides:
getCurrentDatein classLvLayoutDateNode
-
isFull
public boolean isFull()- Specified by:
isFullin classLvLayoutDateNode
-
clone
- Specified by:
clonein interfaceLvLayoutNode- Overrides:
clonein classLvLayoutDateNode
-