MCPcopy Create free account
hub / github.com/amazon-ion/ion-java / toString

Method toString

src/main/java/com/amazon/ion/Timestamp.java:2057–2061  ·  view source on GitHub ↗

Returns the string representation (in Ion format) of this Timestamp in its local time. @throws IonException if the text representation of the timestamp requires more than Timestamp#DEFAULT_MAXIMUM_DIGITS_TEXT. @see #toZString() @see #print(Appendable)

()

Source from the content-addressed store, hash-verified

2055 * @see #print(Appendable)
2056 */
2057 @Override
2058 public String toString()
2059 {
2060 return toString(DEFAULT_MAXIMUM_DIGITS_TEXT);
2061 }
2062
2063 /**
2064 * Returns the string representation (in Ion format) of this Timestamp in

Calls 2

printMethod · 0.95
toStringMethod · 0.65