Summer time causing problems in our system

I am in conflict. I have a graph that generates a 24-hour graph, but the fact is that on NOV 3rd at 2AM the time will change from 2AM to 1AM, means subtracting hr. How can I handle this thing in Java. The font I get from thrid party says ...

  • 01:05 AM (1st Show)
  • 01:05 AM (2nd Show)
  • 03:05 AM (3rd Show) etc.

The second show should be 2:05, but due to a change in time of 1:05. The same time causes an exception. Please help me deal with this scenario.

thanks


The following is the error I get when creating a PDF schedule using an XSL document in Apache FOP.

     Caused by: java.lang.IndexOutOfBoundsException: Index: 450, Size: 421
     at java.util.ArrayList.RangeCheck(ArrayList.java:547)
     at java.util.ArrayList.get(ArrayList.java:322)
     at org.apache.fop.layoutmgr.table.ColumnSetup.getXOffset(ColumnSetup.java:224)
     at org.apache.fop.layoutmgr.table.TableContentLayoutManager.getXOffsetOfGridUnit(
     TableContentLayoutManager.java:603) at              
     org.apache.fop.layoutmgr.table.TableContentLayoutManager$RowPainter.
    addAreasForCell(TableContentLayoutManager.java:981)
at   org.apache.fop.layoutmgr.table.TableContentLayoutManager$RowPainter.
    addAreasAndFlushRow
    (TableContentLayoutManager.java:943)
at org.apache.fop.layoutmgr.table.TableContentLayoutManager$RowPainter.
    handleTableContentPosition(TableContentLayoutManager.java:800)
at org.apache.fop.layoutmgr.table.TableContentLayoutManager.iterateAndPaintPositions
    (TableContentLayoutManager.java:754)
at org.apache.fop.layoutmgr.table.TableContentLayoutManager.addAreas
    (TableContentLayoutManager.java:687)
at org.apache.fop.layoutmgr.table.TableLayoutManager.addAreas
    (TableLayoutManager.java:346)
at org.apache.fop.layoutmgr.AreaAdditionUtil.addAreas(AreaAdditionUtil.java:116)
at org.apache.fop.layoutmgr.FlowLayoutManager.addAreas(FlowLayoutManager.java:297)
at org.apache.fop.layoutmgr.PageSequenceLayoutManager$PageBreaker.addAreas
    (PageSequenceLayoutManager.java:356)
at org.apache.fop.layoutmgr.AbstractBreaker.addAreas(AbstractBreaker.java:507)
at org.apache.fop.layoutmgr.AbstractBreaker.addAreas(AbstractBreaker.java:370)
at   org.apache.fop.layoutmgr.PageSequenceLayoutManager$PageBreaker.doPhase3
    (PageSequenceLayoutManager.java:369)
at org.apache.fop.layoutmgr.AbstractBreaker.doLayout(AbstractBreaker.java:345)
    at org.apache.fop.layoutmgr.AbstractBreaker.doLayout(AbstractBreaker.java:263)

Only this schedule encountered an error. Therefore, I assume that this is due to a change in time. Any idea on how to post / fix this.

+4
1

NOV 3rd at 2AM 2AM 1AM, hr. Java

, - . , " " ( , , , ).

, . , .

/? UTC time , . , , , . , , .

/, , , , . ( .) , Joda Time, , , .

+2
source

All Articles