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 char
separator
-
Constructor Summary
Constructors Constructor Description SeparatorToken(char separator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
read(java.lang.String text, java.text.ParsePosition parsePosition)
java.lang.String
toString()
-
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:
read
in interfaceDateTimeToken
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-