Add FastDateParser.TimeZoneStrategy.TzInfo.toString()

This commit is contained in:
Gary Gregory 2023-08-10 09:20:58 -04:00
parent 2e9b000e6c
commit f28a603045
2 changed files with 6 additions and 0 deletions

View File

@ -58,6 +58,7 @@ The <action> type attribute can be add,update,fix,remove.
<action type="add" dev="ggregory" due-to="Gary Gregory">Add CalendarUtils.getInstance().</action> <action type="add" dev="ggregory" due-to="Gary Gregory">Add CalendarUtils.getInstance().</action>
<action type="add" dev="aherbert" due-to="Dan Watson">Add syntax for optional tokens to DurationFormatUtils #1062.</action> <action type="add" dev="aherbert" due-to="Dan Watson">Add syntax for optional tokens to DurationFormatUtils #1062.</action>
<action type="add" dev="ggregory" due-to="Gary Gregory">Add ArrayFill.</action> <action type="add" dev="ggregory" due-to="Gary Gregory">Add ArrayFill.</action>
<action type="add" dev="ggregory" due-to="Gary Gregory">Add FastDateParser.TimeZoneStrategy.TzInfo.toString().</action>
<!-- UPDATE --> <!-- UPDATE -->
<action type="update" dev="ggregory" due-to="Gary Gregory">Bump commons-parent from 58 to 59.</action> <action type="update" dev="ggregory" due-to="Gary Gregory">Bump commons-parent from 58 to 59.</action>
</release> </release>

View File

@ -896,6 +896,11 @@ public class FastDateParser implements DateParser, Serializable {
zone = tz; zone = tz;
dstOffset = useDst ? tz.getDSTSavings() : 0; dstOffset = useDst ? tz.getDSTSavings() : 0;
} }
@Override
public String toString() {
return "TzInfo [zone=" + zone + ", dstOffset=" + dstOffset + "]";
}
} }
/** /**