-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Sebb,
sebb wrote:
| Here is the implementation that I developed [for an xs:dateTime
converter]. Oddly,
| it seems that sometimes the TimeZone is incorrectly set (though the
| normalized time appears to be correct) in the resulting Date. Any tips
Christopher Schultz schrieb:
Sebb,
sebb wrote:
| Here is the implementation that I developed [for an xs:dateTime
converter]. Oddly,
| it seems that sometimes the TimeZone is incorrectly set (though the
| normalized time appears to be correct) in the resulting Date. Any tips
| would be
I just discovered that an option that takes an argument can't provide a
negative value, --value -2 is seen as option value followed by option
2. This is true even if I use NumberValidator; I tried that thinking
it might provide a hint to the parser.
259 roland cd commons-cli-2.0
260 roland
Can you quote it?
On Tue, May 20, 2008 at 5:12 PM, Roland Roberts [EMAIL PROTECTED] wrote:
I just discovered that an option that takes an argument can't provide a
negative value, --value -2 is seen as option value followed by option 2.
This is true even if I use NumberValidator; I tried that
James Carman wrote:
Can you quote it?
No. If I do
foo --value -2
it works but then 'new Integer( -2) throws NumberException; it
doesn't like leading spaces. I can work around that to provide some way
to get in negative values, but it just looks like a bug to me.
Particularly since I
Why the leading space inside the quote?
On Tue, May 20, 2008 at 5:51 PM, Roland Roberts [EMAIL PROTECTED] wrote:
James Carman wrote:
Can you quote it?
No. If I do
foo --value -2
it works but then 'new Integer( -2) throws NumberException; it doesn't
like leading spaces. I can work
What type of parser are you using?
On Tue, May 20, 2008 at 10:51 PM, Roland Roberts [EMAIL PROTECTED] wrote:
James Carman wrote:
Why the leading space inside the quote?
The first part of the answer was and is NO. Quoting does not help. Single
quotes, double quotes, backslashes, nada,