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

Method getDay

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

Returns the day (within the month) of this Timestamp, in its local time. @return a number within the range [1, 31], in its local time; 1 is returned if the Timestamp isn't precise to the day

()

Source from the content-addressed store, hash-verified

1764 * precise to the day
1765 */
1766 public int getDay()
1767 {
1768 Timestamp adjusted = this;
1769 if (this._offset != null) {
1770 if (this._offset.intValue() != 0) {
1771 adjusted = make_localtime();
1772 }
1773 }
1774 return adjusted._day;
1775 }
1776
1777
1778 /**

Calls 2

make_localtimeMethod · 0.95
intValueMethod · 0.65