Returns the hour of this Timestamp, in its local time. @return a number within the range [0, 23], in its local time; 0 is returned if the Timestamp isn't precise to the hour
()
| 1784 | * precise to the hour |
| 1785 | */ |
| 1786 | public int getHour() |
| 1787 | { |
| 1788 | Timestamp adjusted = this; |
| 1789 | if (this._offset != null) { |
| 1790 | if (this._offset.intValue() != 0) { |
| 1791 | adjusted = make_localtime(); |
| 1792 | } |
| 1793 | } |
| 1794 | return adjusted._hour; |
| 1795 | } |
| 1796 | |
| 1797 | |
| 1798 | /** |