> Date: Wed, 24 Mar 2010 08:30:56 +0100
> From: br...@lowagie.com
> To: itext-questions@lists.sourceforge.net
> Subject: Re: [iText-questions] iText in Action 2ED,
> part1.chapter03.MovieTimeBlocks.java
>
> Keith O wrote:
> > Hi Bruno,
> >
> > Maybe this:
> >
> > public static long TIME930 = 30600000L; // 0830
> >
> > Should be this:
> >
> > public static long TIME930 = 34200000L; // 0930
>
> The funny thing is that 9:30 is 30600000l in Java.
> Time starts at 1AM in Java (which is confusing).
Ugh, sorry about that. All the Java programmers on the list were probably
thinking "ah, silly .NET programmer" ;-) Saw the value and assumed it was an
offset of Unix time.
And it's a good thing you named the variable that way, or it would have taken
me a lot longer to figure out why the blocks were running off the time table :)
_________________________________________________________________
Hotmail: Trusted email with powerful SPAM protection.
http://clk.atdmt.com/GBL/go/210850553/direct/01/
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions:
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/