• Philippe Marschall's avatar
    Change getters in TimestampWithTimeZone to int · 9c3478e4
    Philippe Marschall 提交于
    The convenience accessors getYear getMonth and getDay in
    TimestampWithTimeZone return long even though their values fall within
    the range of int. This makes them a bit inconvenient to work with as
    most APIs (Calendar, LocalDateTime) take int for such values.
    
    This commit contains the following changes
    
     - change TimestampWithTimeZone#getYear() to return an int instead of
       a long
     - change TimestampWithTimeZone#getMonth() to return an int instead of
       a long
     - change TimestampWithTimeZone#getDay() to return an int instead of
       a long
    9c3478e4
名称
最后提交
最后更新
..
docsrc Loading commit data...
installer Loading commit data...
main Loading commit data...
test Loading commit data...
tools Loading commit data...