Package com.ethlo.time.internal.token
Class SeparatorToken
- java.lang.Object
-
- com.ethlo.time.internal.token.SeparatorToken
-
- All Implemented Interfaces:
DateTimeToken
public class SeparatorToken extends java.lang.Object implements DateTimeToken
-
-
Field Summary
Fields Modifier and Type Field Description private charseparator
-
Constructor Summary
Constructors Constructor Description SeparatorToken(char separator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intread(java.lang.String text, java.text.ParsePosition parsePosition)java.lang.StringtoString()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.ethlo.time.token.DateTimeToken
getField
-
-
-
-
Method Detail
-
read
public int read(java.lang.String text, java.text.ParsePosition parsePosition)- Specified by:
readin interfaceDateTimeToken
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-