From 39886dee5272908a92b2de8e47d3e53d523c4450 Mon Sep 17 00:00:00 2001 From: Steven Caswell Date: Sun, 17 Apr 2005 20:36:17 +0000 Subject: [PATCH] added description of the new mutable package; added description of the new DurationFormatUtils class git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@161694 13f79535-47bb-0310-9956-ffa450edef68 --- xdocs/userguide.xml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/xdocs/userguide.xml b/xdocs/userguide.xml index 3e7c65ba5..262039cd2 100644 --- a/xdocs/userguide.xml +++ b/xdocs/userguide.xml @@ -179,6 +179,8 @@ public final class ColorEnum extends Enum { MutableObject MutableShort --> +

New in 2.1, the mutable package provides mutable wrappers for primitive values (such as int, long, etc.) and Object. These wrappers are simiar to the wrappers provided by the Java API, but allow the wrapped value to be changed without needing to create a separate wrapper object. +

@@ -190,6 +192,7 @@ public final class ColorEnum extends Enum { StopWatch -->

Lang 2.0 saw the arrival of a time package. It contains some basic utilities for manipulating time (a delorean, police box and grandfather clock?). These include a StopWatch for simple performance measurements and an optimised FastDateFormat class.

+

New in Lang 2.1 is the DurationFormatUtils class, which provides various methods for formatting durations.

@@ -200,7 +203,7 @@ public final class ColorEnum extends Enum {
-

The next version of Lang will be 2.1. The most notable addition is a mutable package, but there are also new classes such as DurationFormatUtils [and ...].

+

The next version of Lang is a work in progress.