Do not have precisely the difference ECCAS current date and the date, we pass to the function.

Hello

I did a feature where when I go to any expiry date that I must check with the current date... and get the difference in days.

When I change the value to this fuction 2012-01-05 and my current date is 2011-12-22 that I am getteing diffDays = 45, when I pass 2011-12-25 and my current date is 2011-12-22, then I'm diffDays = 34.

I didn't know that's why 31 days added in my diffDays? If there are 31 days month so it will add 31 and if the month is 30 we can add 30 days? I didn't know where I am going wrong. I enclose my code that I use. Pls check and tell me where I'm wrong...

 public static String isBookExpired(String date) {
            System.out.println("**********");
            date = date.trim();
            int index = date.indexOf(" ");
            if(index != -1) {
                date = date.substring(0, index);
            }
                String strArr[] = stringtoArray(date , "-" );

            Calendar substribtionDt = Calendar.getInstance();
            //myCalendar.
            substribtionDt.set(Calendar.YEAR, Integer.parseInt(strArr[0]));
            substribtionDt.set(Calendar.MONTH, Integer.parseInt(strArr[1]));
            substribtionDt.set(Calendar.DATE, Integer.parseInt(strArr[2]));

            Calendar today = Calendar.getInstance();

            long diffDays = ( substribtionDt.getTime().getTime() - today.getTime().getTime()) / (24 * 60 * 60 * 1000);

            if(diffDays < 0) {
                return "Yes";
            }
            else
                return "No";
        }

months in a calendar object index starts with 0 rather than 1 in the real world, you must set the value of the months in the calendar by subtracting by the date that you enter.

Tags: BlackBerry Developers

Similar Questions

  • Error 28000 (licensing module does not have) on the installation of Acrobat DC.

    I receive the error 28000 (licensing module does not have) on the installation of Acrobat DC. The installation is on a new computer Windows 10 Pro. Installation was attempted at the start using Dell's digital delivery program, but have also tried installing after downloading directly from Adobe. I used the cleaning tool and tried to install it again with the same result. I tried installing using the administrator account with all services non - Microsoft Startup and antivirus disabled and received the same error message. I restored the system to a point before the initial setup attempt was made and tried to install it again and received the same error.

    Hi jeffreym27466292,

    You can refer to another thread on the same question and try the steps.

    Error 28000. Installation of the Module of licensing Acrobat failed?

    Let me know how it goes.

    Concerning

    Sarojini

  • Of image processing and machine vision do not appear in the function Palette

    Hello

    I have the problem and I can't solve

    Of image processing and machine vision do not appear in the function Palette, although I have implemented NEITHER imaq and NI Vision Acquisition why?

    Can someone help me?

    Vision Development module is the package that contains the entire library of Vision.

    http://www.NI.com/LabVIEW/vision/

  • How to replace a bad IDE disk with a USB Flash drive system - and have all the functionality of XP Pro SP3

    How to replace a bad IDE disk with a USB Flash drive system - and have all the functionality of XP Pro SP3
    Given a PC without hard disk...
    How can you use a flash drive instead?
    So, indeed, the USB key works as an SSD...
    I saw online options that gives partial functionality of the system... and an option that is more than $100 (more than the system's worth)...
    None of these options are acceptable in the circumstances.
    It is an effort to create a machine for a particular use, built from a recycled pc for which hard drive was removed and destroyed by the original owner...
    The criterion is that it must work just like it was a mechanical drive running xp pro sp3 with all updates, etc...
    Thanks for any help.

    You can not install XP on a Flash as his unsupported drive. Your only two options are a traditional hard drive or Solid State Drive (SSD).

    J W Stuart: http://www.pagestart.com

  • I have my old laptop work, admin access, and I need to pass the parameters of language from German to English, especially the menus. Can you please indicate.

    I have my old laptop work, admin access, and I need to pass the parameters of language from German to English, especially the menus. Can you please indicate.

    A.I have changed the time zone.

    But I can't understand how to move to the menus in ENGLISH and the keyboard settings. They are in German. Need urgent help

    The system is running on Windows XP Professional

    Thank you for your help in advance.

    (Yes the multi language pack is somewhere on the laptop... where I'm not sure)

    Hello

    1. - you want to say that you have an administrator access on this computer?

    2. What is the operating system default language when the laptop was purchased?

    If the default language is German so it is not possible to change it to English.

    Reference: to change the language used for menus and dialog boxes

  • DRIVER FOR VISTA OR DELL 1600N MFP PRINTER NOT TO "DRIVE" THE FUNCTIONS.

    DRIVER FOR VISTA FOR DELL 1600N MFP PRINTER NOT TO "DRIVE" THE FUNCTIONS. MORE SPECIFICALLY: 1) I CAN'T SCAN; 2.) I CAN'T REDUCE THE SIZE OF THE PAGE WHEN I PRINT. (3.) I CAN NOT SEND FAX.

    I INSTALLED THE RECOMMENDED DRIVE, BUT IT DOES NOT WORK. MY GUESS IS THAT I NEED TO UPGRADE VISTA TO A SUPERIOR VERSION OR A DOWNGRADE TO XP (WHICH THIS PRINTER WAS WORKING WELL ON).

    http://www.google.com.au/search?hl=en&source=HP&q=Dell+Support&Meta=&aq=f&aqi=G10&AQL=&OQ=&gs_rfai=

    Dell drivers and downloads.

    http://support.Dell.com/support/topics/global.aspx/support/DellCare/contact_technical_support

    Contact Dell printer drivers re OK.

    See you soon.

    Mick Murphy - Microsoft partner

  • Is it is possible to add script in Adobe Muse? I have added the functionality to export file .csv to the contact form

    Is it is possible to add script in Adobe Muse? I have added the functionality to export file .csv to the contact form

    Hi Vicky,

    Yes, you can add scripts customized to a page of muse. To do this, you must go to 'properties-> metadata-> html to head page' or ' object-> insert html.

    - Abhishek Maurya

  • I do not understand what the function of the Pseudo-classes

    I do not understand what the function of the CSS Pseudo-classes 'top', 'right', 'bottom' and 'left' in a tab pane.

    Could someone explain to me? Can you give me an example?

    Another thing... How to center the tabs in a tab pane?

    In advance thank you very much to all

    I do not understand what the function of the CSS Pseudo-classes 'top', 'right', 'bottom' and 'left' in a tab pane.

    They are related to the side property.
    http://docs.Oracle.com/JavaFX/2/API/JavaFX/scene/control/TabPane.html#sideProperty
    The property side is where the tabs are placed with respect to the visible tab pane.

    If you do not use this property, you don't need to worry their about to much.
    The default value for the side is high, as the pseudo-class flaw that will be active.

    Another thing... How to center the tabs in a tab pane?

    Ask a separate question.

  • No data when querying XML document which does not have all the elements that are populated

    Hi people

    Following the previous post http://bit.ly/beyCdc forum, I met a new show that I'm looking to solve today.

    General information:

    The xml document, I try to shred them may exist in 2 forms; b limited form and (b) complex form, which
    to comply with the same xmlschema.

    The structure of the two forms of the document is:

    b limited version

    (1) under the parent node (of BASANTA) is a child node - RTDRFileHeader
    (2) also under the parent node is a node of complex "ConnectionList. This can consist of thousands of child nodes 'connection '.
    (3) below a given node of "Connection" are child nodes that are of interest, they are:
          
          Connection/HPMN
          Connection/VPM
          Connection/FileItemList/FileItem/FileType/InitTAP/TAPSeqNo
          Connection/FileItemList/FileItem/FileType/InitTAP/ChargeInfo/TAPTxCutoffTmstp
          Connection/FileItemList/FileItem/FileType/InitTAP/ChargeInfo/TAPAvailTmstp
          Connection/FileItemList/FileItem/FileType/InitTAP/ChargeInfo/TAPCurrency
          Connection/FileItemList/FileItem/FileType/InitTAP/ChargeInfo/TotalNetCharge
          Connection/FileItemList/FileItem/FileType/InitTAP/ChargeInfo/TotalTax
    (b) extended version

    The structure of the Extended version is identical to the above limited version but there are elements of additional group under the /chargeInfo. element
    It's TrafficBreakdownList and AdditionalChargeInfo. In addition, the TrafficBreakdownList has child nodes that contain elements of the group.
    For example.
        Connection/FileItemList/FileItem/FileType/InitTAP/ChargeInfo/TrafficBreakdownList/TrafficBreakdownItem/CallEventType
        Connection/FileItemList/FileItem/FileType/InitTAP/ChargeInfo/TrafficBreakdownList/TrafficBreakdownItem/CallEventType/CallEventInfo/NumberOfEvents
        Connection/FileItemList/FileItem/FileType/InitTAP/ChargeInfo/TrafficBreakdownList/TrafficBreakdownItem/CallEventType/CallEventInfo/TotNetCharge
        Connection/FileItemList/FileItem/FileType/InitTAP/ChargeInfo/TrafficBreakdownList/TrafficBreakdownItem/CallEventType/CallEventInfo/TotTaxValue
        Connection/FileItemList/FileItem/FileType/InitTAP/ChargeInfo/TrafficBreakdownList/TrafficBreakdownItem/AdditionalChargeInfo/InvPeriod
        Connection/FileItemList/FileItem/FileType/InitTAP/ChargeInfo/TrafficBreakdownList/TrafficBreakdownItem/AdditionalChargeInfo/TotalNetChargeSDR
        Connection/FileItemList/FileItem/FileType/InitTAP/ChargeInfo/TrafficBreakdownList/TrafficBreakdownItem/AdditionalChargeInfo/TotalTaxSDR
        Connection/FileItemList/FileItem/FileType/InitTAP/ChargeInfo/TrafficBreakdownList/TrafficBreakdownItem/AdditionalChargeInfo/VPMNLocCurr
        Connection/FileItemList/FileItem/FileType/InitTAP/ChargeInfo/TrafficBreakdownList/TrafficBreakdownItem/AdditionalChargeInfo/TotalNetChargeVLCSR
        Connection/FileItemList/FileItem/FileType/InitTAP/ChargeInfo/TrafficBreakdownList/TrafficBreakdownItem/AdditionalChargeInfo/TotalNetChargeVLCCD
        Connection/FileItemList/FileItem/FileType/InitTAP/ChargeInfo/TrafficBreakdownList/TrafficBreakdownItem/AdditionalChargeInfo/TotalTaxVLCCD
        Connection/FileItemList/FileItem/FileType/InitTAP/ChargeInfo/TrafficBreakdownList/TrafficBreakdownItem/AdditionalChargeInfo/TotalTaxVLCCD
    What I'm trying to achieve, if possible, is to have a SQL statement that can interrogate the two versions of the xml document. Currently
    the following SQL statement works properly against the extended version XML document, but when used against the limited version he returns no rows.

    I guess what I'm after is like a LEFT JOIN XML :-) If the node is not present, returns NULL for this element.

    b limited Version of XML
    <RTDR>
      <RTDRFileHeader>
        <Prefix>MRTDR</Prefix>
        <Sender>EDSCH</Sender>
        <Recipient>NXTMP</Recipient>
        <PMN>UKRAS</PMN>
        <ReportSeqNo>5</ReportSeqNo>
        <TADIGGenSchemaVersion>2.2</TADIGGenSchemaVersion>
        <RTDRSchemaVersion>1.1</RTDRSchemaVersion>
        <CreationTmstp>2009-09-04T04:04:00.000000+02:00</CreationTmstp>
      </RTDRFileHeader>
    <ConnectionList>
     <Connection>
          <VPMN>UKRAS</VPMN>
          <HPMN>LIEK9</HPMN>
          <FileItemList>
            <FileItem>
              <FileID>CDUKRASLIEK901274-00005-m</FileID>
              <ExchTmstp>2009-08-24T12:07:22.000000+02:00</ExchTmstp>
              <FileType>
                <InitTAP>
                  <TAPSeqNo>1274</TAPSeqNo>
                  <NotifFileInd>true</NotifFileInd>
                  <ChargeInfo>
                    <TAPTxCutoffTmstp>2009-08-24T12:52:10.000000+03:00</TAPTxCutoffTmstp>
                    <TAPAvailTmstp>2009-08-24T11:52:10.000000+02:00</TAPAvailTmstp>
                    <TAPCurrency>SDR</TAPCurrency>
                    <TotalNetCharge>0</TotalNetCharge>
                    <TotalTax>0</TotalTax>
                  </ChargeInfo>
                </InitTAP>
              </FileType>
            </FileItem>
            <FileItem>
              <FileID>CDUKRASLIEK901280-00005-m</FileID>
              <ExchTmstp>2009-08-30T12:14:39.000000+02:00</ExchTmstp>
              <FileType>
                <InitTAP>
                  <TAPSeqNo>1280</TAPSeqNo>
                  <NotifFileInd>true</NotifFileInd>
                  <ChargeInfo>
                    <TAPTxCutoffTmstp>2009-08-30T12:52:34.000000+03:00</TAPTxCutoffTmstp>
                    <TAPAvailTmstp>2009-08-30T11:52:34.000000+02:00</TAPAvailTmstp>
                    <TAPCurrency>SDR</TAPCurrency>
                    <TotalNetCharge>0</TotalNetCharge>
                    <TotalTax>0</TotalTax>
                  </ChargeInfo>
                </InitTAP>
              </FileType>
            </FileItem>
          </FileItemList>
        </Connection>
      <Connection>
          <VPMN>UKRZZ</VPMN>
          <HPMN>LIEZZ</HPMN>
          <FileItemList>
            <FileItem>
              <FileID>CDUKRZZLIEZZ01274-00005-m</FileID>
              <ExchTmstp>2009-08-24T12:07:22.000000+02:00</ExchTmstp>
              <FileType>
                <InitTAP>
                  <TAPSeqNo>1274</TAPSeqNo>
                  <NotifFileInd>true</NotifFileInd>
                  <ChargeInfo>
                    <TAPTxCutoffTmstp>2009-08-24T12:52:10.000000+03:00</TAPTxCutoffTmstp>
                    <TAPAvailTmstp>2009-08-24T11:52:10.000000+02:00</TAPAvailTmstp>
                    <TAPCurrency>SDR</TAPCurrency>
                    <TotalNetCharge>0</TotalNetCharge>
                    <TotalTax>0</TotalTax>
                  </ChargeInfo>
                </InitTAP>
              </FileType>
            </FileItem>
            <FileItem>
              <FileID>CDUKRZZLIEZZ01280-00005-m</FileID>
              <ExchTmstp>2009-08-30T12:14:39.000000+02:00</ExchTmstp>
              <FileType>
                <InitTAP>
                  <TAPSeqNo>1280</TAPSeqNo>
                  <NotifFileInd>true</NotifFileInd>
                  <ChargeInfo>
                    <TAPTxCutoffTmstp>2009-08-30T12:52:34.000000+03:00</TAPTxCutoffTmstp>
                    <TAPAvailTmstp>2009-08-30T11:52:34.000000+02:00</TAPAvailTmstp>
                    <TAPCurrency>SDR</TAPCurrency>
                    <TotalNetCharge>0</TotalNetCharge>
                    <TotalTax>0</TotalTax>
                  </ChargeInfo>
                </InitTAP>
              </FileType>
            </FileItem>
          </FileItemList>
        </Connection>
     </ConnectionList>
     </RTDR> '
    (b) extended version of XML
    <RTDR xmlns:tadig-gen="https://infocentre.gsm.org/TADIG-GEN" xmlns="https://infocentre.gsm.org/TADIG-RTDR">
      <RTDRFileHeader>
        <Prefix>DRTDR</Prefix>
        <Sender>EDSCH</Sender>
        <Recipient>NXTMP</Recipient>
        <PMN>AAAAA</PMN>
        <ReportSeqNo>1</ReportSeqNo>
        <TADIGGenSchemaVersion>2.2</TADIGGenSchemaVersion>
        <RTDRSchemaVersion>1.1</RTDRSchemaVersion>
        <CreationTmstp>2010-03-17T12:32:37.000000+01:00</CreationTmstp>
      </RTDRFileHeader>
      <ConnectionList>
        <Connection>
          <VPMN>AAAAA</VPMN>
          <HPMN>GRCCO</HPMN>
          <FileItemList>
            <FileItem>
              <FileID>CDAAAAAGRCCO04164-00001-d</FileID>
              <ExchTmstp>2010-03-16T00:30:27.000000+01:00</ExchTmstp>
              <FileType>
                <InitTAP>
                  <TAPSeqNo>4164</TAPSeqNo>
                  <NotifFileInd>false</NotifFileInd>
                  <ChargeInfo>
                    <TAPTxCutoffTmstp>2010-03-16T00:15:25.000000+01:00</TAPTxCutoffTmstp>
                    <TAPAvailTmstp>2010-03-16T00:15:25.000000+01:00</TAPAvailTmstp>
                    <TAPCurrency>SDR</TAPCurrency>
                    <TotalNetCharge>48.546</TotalNetCharge>
                    <TotalTax>0</TotalTax>
                    <TrafficBreakdownList>
                      <TrafficBreakdownItem>
                        <CallEventType>CS MO</CallEventType>
                        <CallEventInfo>
                          <NumberOfEvents>7</NumberOfEvents>
                          <TotNetCharge>11.16</TotNetCharge>
                          <TotTaxValue>0</TotTaxValue>
                        </CallEventInfo>
                      </TrafficBreakdownItem>
                      <TrafficBreakdownItem>
                        <CallEventType>CS MT</CallEventType>
                        <CallEventInfo>
                          <NumberOfEvents>2</NumberOfEvents>
                          <TotNetCharge>0</TotNetCharge>
                          <TotTaxValue>0</TotTaxValue>
                        </CallEventInfo>
                      </TrafficBreakdownItem>
                      <TrafficBreakdownItem>
                        <CallEventType>GPRS Calls</CallEventType>
                        <CallEventInfo>
                          <NumberOfEvents>26</NumberOfEvents>
                          <TotNetCharge>37.35</TotNetCharge>
                          <TotTaxValue>0</TotTaxValue>
                        </CallEventInfo>
                      </TrafficBreakdownItem>
                      <TrafficBreakdownItem>
                        <CallEventType>SM-MO</CallEventType>
                        <CallEventInfo>
                          <NumberOfEvents>1</NumberOfEvents>
                          <TotNetCharge>.036</TotNetCharge>
                          <TotTaxValue>0</TotTaxValue>
                        </CallEventInfo>
                      </TrafficBreakdownItem>
                      <TrafficBreakdownItem>
                        <CallEventType>SM-MT</CallEventType>
                        <CallEventInfo>
                          <NumberOfEvents>3</NumberOfEvents>
                          <TotNetCharge>0</TotNetCharge>
                          <TotTaxValue>0</TotTaxValue>
                        </CallEventInfo>
                      </TrafficBreakdownItem>
                    </TrafficBreakdownList>
                    <AdditionalChargeInfo>
                      <InvPeriod>2010-03</InvPeriod>
                      <TotalNetChargeSDR>48.546</TotalNetChargeSDR>
                      <TotalTaxSDR>0</TotalTaxSDR>
                      <VPMNLocCurr>EUR</VPMNLocCurr>
                      <TotalNetChargeVLCSR>54.687</TotalNetChargeVLCSR>
                      <TotalTaxVLCSR>0</TotalTaxVLCSR>
                      <TotalNetChargeVLCCD>54.216</TotalNetChargeVLCCD>
                      <TotalTaxVLCCD>0</TotalTaxVLCCD>
                    </AdditionalChargeInfo>
                  </ChargeInfo>
                </InitTAP>
              </FileType>
            </FileItem>
            <FileItem>
              <FileID>CDAAAAAGRCCO04165-00001-d</FileID>
              <ExchTmstp>2010-03-16T09:27:15.000000+01:00</ExchTmstp>
              <FileType>
                <InitTAP>
                  <TAPSeqNo>4165</TAPSeqNo>
                  <NotifFileInd>false</NotifFileInd>
                  <ChargeInfo>
                    <TAPTxCutoffTmstp>2010-03-16T09:15:20.000000+01:00</TAPTxCutoffTmstp>
                    <TAPAvailTmstp>2010-03-16T09:15:20.000000+01:00</TAPAvailTmstp>
                    <TAPCurrency>SDR</TAPCurrency>
                    <TotalNetCharge>7.114</TotalNetCharge>
                    <TotalTax>0</TotalTax>
                    <TrafficBreakdownList>
                      <TrafficBreakdownItem>
                        <CallEventType>CS MO</CallEventType>
                        <CallEventInfo>
                          <NumberOfEvents>5</NumberOfEvents>
                          <TotNetCharge>4.985</TotNetCharge>
                          <TotTaxValue>0</TotTaxValue>
                        </CallEventInfo>
                      </TrafficBreakdownItem>
                      <TrafficBreakdownItem>
                        <CallEventType>CS MT</CallEventType>
                        <CallEventInfo>
                          <NumberOfEvents>1</NumberOfEvents>
                          <TotNetCharge>0</TotNetCharge>
                          <TotTaxValue>0</TotTaxValue>
                        </CallEventInfo>
                      </TrafficBreakdownItem>
                      <TrafficBreakdownItem>
                        <CallEventType>GPRS Calls</CallEventType>
                        <CallEventInfo>
                          <NumberOfEvents>10</NumberOfEvents>
                          <TotNetCharge>2.057</TotNetCharge>
                          <TotTaxValue>0</TotTaxValue>
                        </CallEventInfo>
                      </TrafficBreakdownItem>
                      <TrafficBreakdownItem>
                        <CallEventType>SM-MO</CallEventType>
                        <CallEventInfo>
                          <NumberOfEvents>2</NumberOfEvents>
                          <TotNetCharge>.072</TotNetCharge>
                          <TotTaxValue>0</TotTaxValue>
                        </CallEventInfo>
                      </TrafficBreakdownItem>
                      <TrafficBreakdownItem>
                        <CallEventType>SM-MT</CallEventType>
                        <CallEventInfo>
                          <NumberOfEvents>6</NumberOfEvents>
                          <TotNetCharge>0</TotNetCharge>
                          <TotTaxValue>0</TotTaxValue>
                        </CallEventInfo>
                      </TrafficBreakdownItem>
                    </TrafficBreakdownList>
                    <AdditionalChargeInfo>
                      <InvPeriod>2010-03</InvPeriod>
                      <TotalNetChargeSDR>7.114</TotalNetChargeSDR>
                      <TotalTaxSDR>0</TotalTaxSDR>
                      <VPMNLocCurr>EUR</VPMNLocCurr>
                      <TotalNetChargeVLCSR>8.014</TotalNetChargeVLCSR>
                      <TotalTaxVLCSR>0</TotalTaxVLCSR>
                      <TotalNetChargeVLCCD>7.959</TotalNetChargeVLCCD>
                      <TotalTaxVLCCD>0</TotalTaxVLCCD>
                    </AdditionalChargeInfo>
                  </ChargeInfo>
                </InitTAP>
              </FileType>
            </FileItem>
            <FileItem>
              <FileID>CDAAAAAGRCCO04166-00001-d</FileID>
              <ExchTmstp>2010-03-16T14:28:43.000000+01:00</ExchTmstp>
              <FileType>
                <InitTAP>
                  <TAPSeqNo>4166</TAPSeqNo>
                  <NotifFileInd>false</NotifFileInd>
                  <ChargeInfo>
                    <TAPTxCutoffTmstp>2010-03-16T14:15:23.000000+01:00</TAPTxCutoffTmstp>
                    <TAPAvailTmstp>2010-03-16T14:15:23.000000+01:00</TAPAvailTmstp>
                    <TAPCurrency>SDR</TAPCurrency>
                    <TotalNetCharge>1.638</TotalNetCharge>
                    <TotalTax>0</TotalTax>
                    <TrafficBreakdownList>
                      <TrafficBreakdownItem>
                        <CallEventType>CS MO</CallEventType>
                        <CallEventInfo>
                          <NumberOfEvents>2</NumberOfEvents>
                          <TotNetCharge>1.458</TotNetCharge>
                          <TotTaxValue>0</TotTaxValue>
                        </CallEventInfo>
                      </TrafficBreakdownItem>
                      <TrafficBreakdownItem>
                        <CallEventType>CS MT</CallEventType>
                        <CallEventInfo>
                          <NumberOfEvents>7</NumberOfEvents>
                          <TotNetCharge>0</TotNetCharge>
                          <TotTaxValue>0</TotTaxValue>
                        </CallEventInfo>
                      </TrafficBreakdownItem>
                      <TrafficBreakdownItem>
                        <CallEventType>SM-MO</CallEventType>
                        <CallEventInfo>
                          <NumberOfEvents>5</NumberOfEvents>
                          <TotNetCharge>.18</TotNetCharge>
                          <TotTaxValue>0</TotTaxValue>
                        </CallEventInfo>
                      </TrafficBreakdownItem>
                      <TrafficBreakdownItem>
                        <CallEventType>SM-MT</CallEventType>
                        <CallEventInfo>
                          <NumberOfEvents>15</NumberOfEvents>
                          <TotNetCharge>0</TotNetCharge>
                          <TotTaxValue>0</TotTaxValue>
                        </CallEventInfo>
                      </TrafficBreakdownItem>
                    </TrafficBreakdownList>
                    <AdditionalChargeInfo>
                      <InvPeriod>2010-03</InvPeriod>
                      <TotalNetChargeSDR>1.638</TotalNetChargeSDR>
                      <TotalTaxSDR>0</TotalTaxSDR>
                      <VPMNLocCurr>EUR</VPMNLocCurr>
                      <TotalNetChargeVLCSR>1.845</TotalNetChargeVLCSR>
                      <TotalTaxVLCSR>0</TotalTaxVLCSR>
                      <TotalNetChargeVLCCD>1.832</TotalNetChargeVLCCD>
                      <TotalTaxVLCCD>0</TotalTaxVLCCD>
                    </AdditionalChargeInfo>
                  </ChargeInfo>
                </InitTAP>
              </FileType>
            </FileItem>
          </FileItemList>
        </Connection>
        <Connection>
          <VPMN>AAAAA</VPMN>
          <HPMN>GRCSH</HPMN>
          <FileItemList>
            <FileItem>
              <FileID>CDAAAAAGRCSH03283-00001-d</FileID>
              <ExchTmstp>2010-03-16T00:30:29.000000+01:00</ExchTmstp>
              <FileType>
                <InitTAP>
                  <TAPSeqNo>3283</TAPSeqNo>
                  <NotifFileInd>false</NotifFileInd>
                  <ChargeInfo>
                    <TAPTxCutoffTmstp>2010-03-16T00:15:25.000000+01:00</TAPTxCutoffTmstp>
                    <TAPAvailTmstp>2010-03-16T00:15:25.000000+01:00</TAPAvailTmstp>
                    <TAPCurrency>SDR</TAPCurrency>
                    <TotalNetCharge>0</TotalNetCharge>
                    <TotalTax>0</TotalTax>
                    <TrafficBreakdownList>
                      <TrafficBreakdownItem>
                        <CallEventType>SM-MT</CallEventType>
                        <CallEventInfo>
                          <NumberOfEvents>1</NumberOfEvents>
                          <TotNetCharge>0</TotNetCharge>
                          <TotTaxValue>0</TotTaxValue>
                        </CallEventInfo>
                      </TrafficBreakdownItem>
                    </TrafficBreakdownList>
                    <AdditionalChargeInfo>
                      <InvPeriod>2010-03</InvPeriod>
                      <TotalNetChargeSDR>0</TotalNetChargeSDR>
                      <TotalTaxSDR>0</TotalTaxSDR>
                      <VPMNLocCurr>EUR</VPMNLocCurr>
                      <TotalNetChargeVLCSR>0</TotalNetChargeVLCSR>
                      <TotalTaxVLCSR>0</TotalTaxVLCSR>
                      <TotalNetChargeVLCCD>0</TotalNetChargeVLCCD>
                      <TotalTaxVLCCD>0</TotalTaxVLCCD>
                    </AdditionalChargeInfo>
                  </ChargeInfo>
                </InitTAP>
              </FileType>
            </FileItem>
            <FileItem>
              <FileID>CDAAAAAGRCSH03284-00001-d</FileID>
              <ExchTmstp>2010-03-16T09:27:16.000000+01:00</ExchTmstp>
              <FileType>
                <InitTAP>
                  <TAPSeqNo>3284</TAPSeqNo>
                  <NotifFileInd>false</NotifFileInd>
                  <ChargeInfo>
                    <TAPTxCutoffTmstp>2010-03-16T09:15:20.000000+01:00</TAPTxCutoffTmstp>
                    <TAPAvailTmstp>2010-03-16T09:15:20.000000+01:00</TAPAvailTmstp>
                    <TAPCurrency>SDR</TAPCurrency>
                    <TotalNetCharge>.072</TotalNetCharge>
                    <TotalTax>0</TotalTax>
                    <TrafficBreakdownList>
                      <TrafficBreakdownItem>
                        <CallEventType>SM-MO</CallEventType>
                        <CallEventInfo>
                          <NumberOfEvents>2</NumberOfEvents>
                          <TotNetCharge>.072</TotNetCharge>
                          <TotTaxValue>0</TotTaxValue>
                        </CallEventInfo>
                      </TrafficBreakdownItem>
                      <TrafficBreakdownItem>
                        <CallEventType>SM-MT</CallEventType>
                        <CallEventInfo>
                          <NumberOfEvents>2</NumberOfEvents>
                          <TotNetCharge>0</TotNetCharge>
                          <TotTaxValue>0</TotTaxValue>
                        </CallEventInfo>
                      </TrafficBreakdownItem>
                    </TrafficBreakdownList>
                    <AdditionalChargeInfo>
                      <InvPeriod>2010-03</InvPeriod>
                      <TotalNetChargeSDR>.072</TotalNetChargeSDR>
                      <TotalTaxSDR>0</TotalTaxSDR>
                      <VPMNLocCurr>EUR</VPMNLocCurr>
                      <TotalNetChargeVLCSR>.081</TotalNetChargeVLCSR>
                      <TotalTaxVLCSR>0</TotalTaxVLCSR>
                      <TotalNetChargeVLCCD>.081</TotalNetChargeVLCCD>
                      <TotalTaxVLCCD>0</TotalTaxVLCCD>
                    </AdditionalChargeInfo>
                  </ChargeInfo>
                </InitTAP>
              </FileType>
            </FileItem>
            <FileItem>
              <FileID>CDAAAAAGRCSH03285-00001-d</FileID>
              <ExchTmstp>2010-03-16T14:28:45.000000+01:00</ExchTmstp>
              <FileType>
                <InitTAP>
                  <TAPSeqNo>3285</TAPSeqNo>
                  <NotifFileInd>false</NotifFileInd>
                  <ChargeInfo>
                    <TAPTxCutoffTmstp>2010-03-16T14:15:24.000000+01:00</TAPTxCutoffTmstp>
                    <TAPAvailTmstp>2010-03-16T14:15:24.000000+01:00</TAPAvailTmstp>
                    <TAPCurrency>SDR</TAPCurrency>
                    <TotalNetCharge>0</TotalNetCharge>
                    <TotalTax>0</TotalTax>
                    <TrafficBreakdownList>
                      <TrafficBreakdownItem>
                        <CallEventType>SM-MT</CallEventType>
                        <CallEventInfo>
                          <NumberOfEvents>1</NumberOfEvents>
                          <TotNetCharge>0</TotNetCharge>
                          <TotTaxValue>0</TotTaxValue>
                        </CallEventInfo>
                      </TrafficBreakdownItem>
                    </TrafficBreakdownList>
                    <AdditionalChargeInfo>
                      <InvPeriod>2010-03</InvPeriod>
                      <TotalNetChargeSDR>0</TotalNetChargeSDR>
                      <TotalTaxSDR>0</TotalTaxSDR>
                      <VPMNLocCurr>EUR</VPMNLocCurr>
                      <TotalNetChargeVLCSR>0</TotalNetChargeVLCSR>
                      <TotalTaxVLCSR>0</TotalTaxVLCSR>
                      <TotalNetChargeVLCCD>0</TotalNetChargeVLCCD>
                      <TotalTaxVLCCD>0</TotalTaxVLCCD>
                    </AdditionalChargeInfo>
                  </ChargeInfo>
                </InitTAP>
              </FileType>
            </FileItem>
          </FileItemList>
        </Connection>
      </ConnectionList>
    </RTDR>’
    It's the query I want to be able to run against the two XML documents. As mentioned, this works very well against the complex XML but no result against the simple XML.
    SELECT
             rtd.rtdr_document_id
            ,rtd.filename
            ,EXTRACTVALUE(rtd.rtdr , '/RTDR/RTDRFileHeader/PMN' )                                      client_pmn
            ,connXML."VPMN"                                                                            vpmn
            ,connXML."HPMN"                                                                            hpmn
            ,fileXML."TAPSeqNo"                                                                        tap_seq_no
            ,chrgXML."TAPTxCutoffTmstp"                                                                tap_tx_cut_off_tmstp
            ,chrgXML."TAPAvailTmstp"                                                                   tap_avail_tmstp
            ,chrgXML."TAPCurrency"                                                                     tap_currency
            ,chrgXML."TotalNetCharge"                                                                  total_net_charge
            ,chrgXML."TotalTax"                                                                        total_tax
            ,traffXML."CallEventType"                                                                  call_event_type     
            ,callEvtXML."NumberOfEvents"                                                               number_of_events
            ,callEvtXML."TotNetCharge"                                                                 call_event_ttl_net_charge
            ,callEvtXML."TotTaxValue"                                                                  call_event_ttl_tax_value
    FROM     t   rtd
            ,XMLTABLE(
                      XMLNAMESPACES
                      (
                        DEFAULT 'https://infocentre.gsm.org/TADIG-RTDR'
                      ),
                      '/RTDR/ConnectionList/Connection'
                      PASSING  rtd.myXML
                      COLUMNS
                      "VPMN"       VARCHAR2(5)    PATH '/Connection/VPMN'
                     ,"HPMN"       VARCHAR2(5)    PATH '/Connection/HPMN'
                     ,"FileXML"    XMLTYPE        PATH '/Connection/FileItemList/FileItem/FileType/InitTAP'
                     )  connXML
           ,XMLTABLE(
                      XMLNAMESPACES
                      (
                        DEFAULT 'https://infocentre.gsm.org/TADIG-RTDR'
                      ),
                      '/InitTAP'
                      PASSING  connXML."FileXML"
                      COLUMNS
                      "TAPSeqNo"       VARCHAR2(50)   PATH '/InitTAP/TAPSeqNo'
                     ,"ChargeInfoXML"  XMLTYPE        PATH '/InitTAP/ChargeInfo'
                    )  fileXML
           ,XMLTABLE(
                      XMLNAMESPACES
                      (
                        DEFAULT 'https://infocentre.gsm.org/TADIG-RTDR'
                      ),
                     '/ChargeInfo'
                      PASSING  fileXML."ChargeInfoXML"
                      COLUMNS
                      "TAPTxCutoffTmstp"          VARCHAR2(30)     PATH '/ChargeInfo/TAPTxCutoffTmstp'
                     ,"TAPAvailTmstp"             VARCHAR2(30)     PATH '/ChargeInfo/TAPAvailTmstp'
                     ,"TAPCurrency"               VARCHAR2(30)     PATH '/ChargeInfo/TAPCurrency'
                     ,"TotalNetCharge"            NUMBER(22,5)     PATH '/ChargeInfo/TotalNetCharge'
                     ,"TotalTax"                  NUMBER(22,5)     PATH '/ChargeInfo/TotalTax'
                     ,"TrafficBreakdownListXML"   XMLTYPE          PATH 'TrafficBreakdownList/TrafficBreakdownItem'
                    )  chrgXML
           ,XMLTABLE(
                      XMLNAMESPACES
                      (
                        DEFAULT 'https://infocentre.gsm.org/TADIG-RTDR'
                      ),
                     '/TrafficBreakdownItem'
                      PASSING  chrgXML."TrafficBreakdownListXML"
                      COLUMNS
                      "CallEventType"             VARCHAR2(20)     PATH '/TrafficBreakdownItem/CallEventType'
                     ,"CallEventInfoXML"          XMLTYPE          PATH '/TrafficBreakdownItem/CallEventInfo'
                    )  traffXML
           ,XMLTABLE(
                      XMLNAMESPACES
                      (
                        DEFAULT 'https://infocentre.gsm.org/TADIG-RTDR'
                      ),
                     '/CallEventInfo'
                      PASSING  traffXML."CallEventInfoXML" 
                      COLUMNS
                      "NumberOfEvents"            NUMBER           PATH '/CallEventInfo/NumberOfEvents'
                     ,"TotNetCharge"              NUMBER           PATH '/CallEventInfo/TotNetCharge'
                     ,"TotTaxValue"               NUMBER           PATH '/CallEventInfo/TotTaxValue'
                    )   callEvtXML
    Thank you very much

    Kind regards

    Simon Gadd

    Hi Simon,.

    I guess what I'm after looks like a LEFT JOIN XML

    Exactly.

    Try to add a (+) after the last two XMLTABLEs operator:

    ...
           ,XMLTABLE(
                      XMLNAMESPACES
                      (
                        DEFAULT 'https://infocentre.gsm.org/TADIG-RTDR'
                      ),
                     '/TrafficBreakdownItem'
                      PASSING  chrgXML."TrafficBreakdownListXML"
                      COLUMNS
                      "CallEventType"             VARCHAR2(20)     PATH '/TrafficBreakdownItem/CallEventType'
                     ,"CallEventInfoXML"          XMLTYPE          PATH '/TrafficBreakdownItem/CallEventInfo'
                    ) (+)  traffXML
           ,XMLTABLE(
                      XMLNAMESPACES
                      (
                        DEFAULT 'https://infocentre.gsm.org/TADIG-RTDR'
                      ),
                     '/CallEventInfo'
                      PASSING  traffXML."CallEventInfoXML"
                      COLUMNS
                      "NumberOfEvents"            NUMBER           PATH '/CallEventInfo/NumberOfEvents'
                     ,"TotNetCharge"              NUMBER           PATH '/CallEventInfo/TotNetCharge'
                     ,"TotTaxValue"               NUMBER           PATH '/CallEventInfo/TotTaxValue'
                    ) (+)  callEvtXML
    

    HTH.

    PS: the declaration of namespaces does not appear in the 'limited' version, perhaps you simply forgotten in your sample? Could you confirm?

  • "Can't find the mozilla, run time" message when I try to open Thunderbird. I should not have allowed the upgrade!

    What can I do? I'm not a computer scientist, but we do not have.

    I download and install again. Maybe your update didn't quite finish the job.

    https://www.Mozilla.org/en-us/Thunderbird/all/

  • My DVD will play. My DVD says disc is bad or needs to be formatted when I try to burn. Backup stops and says back up does not have all the

    I want to backup my computer to an external hard drive but the popup of backup does not have this option.

    Hi Janice,.

    (a) have you tried using different DVD to burn backup files and check if it burns?

    (b) your use of any third-party burning software on the computer?

    (c) what is the size of the backup files that you try to burn on DVD?

    (d) you are able to burn CD/DVD in Windows Explorer?

    (e) you are able to perform the backup to internal hard drive? You cannot save to the C: drive, try to perform the backup on a different partition and check.

    Try to uninstall the burning of third-party of the computer software and check. Also try using different DVD to back up files. I suggest you follow these methods and see if it helps:

    Method 1: run this Microsoft fixit tool:

    http://support.Microsoft.com/mats/cd_dvd_drive_problems

    Method 2:

    Navigate to the following location and delete all the files and then try to burn the DVD and check if it helps:

    C:\Users\(User Name) \AppData\Local\Microsoft\Windows\Burn\Temporary file Burn

    You can see this Microsoft article and check if it helps:

    http://Windows.Microsoft.com/en-in/Windows-Vista/change-where-you-back-up-your-files

    http://Windows.Microsoft.com/en-in/Windows-Vista/back-up-and-restore-frequently-asked-questions

    http://Windows.Microsoft.com/en-in/Windows-Vista/which-CD-or-DVD-format-should-i-use

    Hope this helps, if you need help on Windows or the problem persists, please let us know we will be happy to help you.

  • PC does not have deleted the registry manually ProfileImagepath

    I followed a tutorial video and pc will not boot after the removal of Profileimagepath

    Could you please help how to recover my original profile or how to create a new ProfileImagepath in safe mode

    I just want my original pc help me

    Hello

    In-depth help, please post your request on this site.

    Kind regards.

  • Difference between current block and CR

    Hi, fields,
    What is the difference bwtween current and the block of CR?

    Kind regards

    as already explained by aman...

    Consider this, for example,

    SQL > connect scott/tiger.
    Connected.

    SQL > select sal from emp where ename = 'SMITH ';.

    SAL
    --------------
    800

    SQL > update set sal = '1000' emp where ename = 'SMITH ';.

    1 line update.

    SQL > select * from emp where ename = 'SMITH ';.

    SAL
    --------------------
    1000

    Here, the sal will be 1000 because its use the current block to the owner of this transaction.

    Open another command window and try this

    SQL > connect test/test;
    Connected.
    SQL > select * from scott.emp where ename = 'SMITH ';.

    SAL
    -------------------
    800
    Here, the sal will be 800 because it will use block CR for coherent reading since the transaction by scott did not.

    Published by: rohit Maron 13 Sep, 2011 23:30

  • Hello everyone. I seem to have lost the function of CD/DVD altogether on my Acer.

    Problem is that I don't know the model I have. Somebody bought it for me and I have the paperwork. The label on the watch tower

    GFC 02021 but the info. on the PC shows G185H. Once I know what I have I can see my CD. Thank you.

    Hello zollie,.

    In the bios Setup utility, you will find your series number S/N (not to communicate).

    The first ten digit and letter are part of your office number.

    With this one, I'll find the model.

    To enter the bios configuration utility:

    1. start your desktop computer.

    2. When you see the Acer screen, press the [F2] key

    3. Note the S/N

    4. exit without save

    Maybe you will also find on the label of the tower under the bar code. You need nothing else.

  • Query that does not work inside the function

    So I have this movement script that I copied from Cs6 as «Copying the movement in AS3» It works fine until I tried to control it with a function of mouse event. So what don't understand me? It works very well outside the function but not at all backwards.


    Import fl.motion.AnimatorFactory;

    Import fl.motion.MotionBase;

    Import fl.motion.Motion;

    flash.filters import. *;

    to import flash.geom.Point;

    var __motion_NewBall_7: MotionBase;

    theButton.addEventListener (MouseEvent.CLICK, on_press1);

    function on_press1(event: MouseEvent): void {}

    If (__motion_NewBall_7 == null) {}

    __motion_NewBall_7 = new Motion();

    __motion_NewBall_7.duration = 60;

    __motion_NewBall_7.addPropertyArray ("x", [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,-4.02143,-8.04286,-12.0603,-16.0857,-20.1071,-24.1246,-28.15,-35.6987,-43.2474,-50.7885,-58.3447,-65.8934,-73.4346,-80.9832,-88.5395,-96.0882,-103.637,-111.186,-118.727,-126.283,-133.824,-141.38,-148.929,-156.478,-164.026,-171.575,-179.124,-186.672,-194.221,-201.77,-209.311,-216.867,-224.416,-231.957,-239.506,-247.062,-254.611,-262.152,-269.708,-277.257,-284.805 -292.346 ([, - 299.903, - 307.451,-315]);

    __motion_NewBall_7.addPropertyArray ("y", [0, 9.41071, 18.8214, 28.2227, 37.6429, 47.0536, 56.4549, 65.875, 75.2857, 84.6964, 94.1071, 103.518, 112.919, 122.339, 131.75, 124.157, 116.564, 108.979, 101.379, 93.7857, 86.2004, 78.6, 84.0237, 89.4474, 94.8656, 100.295, 105.718, 111.137, 116.56, 121.989, 127.413, 132.837, 138.261, 143.679, 149.108, 154.526, 159.955, 165.379, 170.803, 176.226, 181.65, 187.074, 192.497, 197.921, 203.345, 208.763, 214.192, 219.616, 225.034, 230.458, 235.887, 241.311, 246.729, 252.158, 257.582, 263.005 268.424]) 273.853, 279.276, 284,7]);

    __motion_NewBall_7.addPropertyArray ("scaleX", [1.000000]);

    __motion_NewBall_7.addPropertyArray ("scaleY", [1.000000]);

    __motion_NewBall_7.addPropertyArray ("Scewx", [0]);

    __motion_NewBall_7.addPropertyArray ("transformations", [0]);

    __motion_NewBall_7.addPropertyArray ("rotationConcat", [0]);

    __motion_NewBall_7.addPropertyArray ("blendMode", "normal");

    __motion_NewBall_7.addPropertyArray ("cacheAsBitmap", [false]);

    __motion_NewBall_7.addPropertyArray ("opaqueBackground", [null]);

    __motion_NewBall_7.addPropertyArray ('visible', [true]);

    var __animFactory_NewBall_7: AnimatorFactory = new AnimatorFactory (__motion_NewBall_7);

    __animFactory_NewBall_7.transformationPoint = new Point (0.500000, 0.500000);

    __animFactory_NewBall_7.addTarget (myClip, 0);

    }

    }

    use:

    Import fl.motion.AnimatorFactory;

    Import fl.motion.MotionBase;

    Import fl.motion.Motion;

    flash.filters import. *;

    to import flash.geom.Point;

    theButton.addEventListener (MouseEvent.CLICK, on_press1);

    var __motion_NewBall_7: MotionBase;

    var __animFactory_NewBall_7: AnimatorFactory; //<-just the="" declaration="" was="" to="" be="" moved. ="" not="" the="">

    function on_press1(event: MouseEvent): void {}

    If (__motion_NewBall_7 == null) {}

    __motion_NewBall_7 = new Motion();

    __motion_NewBall_7.duration = 60;

    __motion_NewBall_7.addPropertyArray ("x", [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,-4.02143,-8.04286,-12.0603,-16.0857,-20.1071,-24.1246,-28.15,-35.6987,-43.2474,-50.7885,-58.3447,-65.8934,-73.4346,-80.9832,-88.5395,-96.0882,-103.637,-111.186,-118.727,-126.283,-133.824,-141.38,-148.929,-156.478,-164.026,-171.575,-179.124,-186.672,-194.221,-201.77,-209.311,-216.867,-224.416,-231.957,-239.506,-247.062,-254.611,-262.152,-269.708,-277.257,-284.805 -292.346 ([, - 299.903, - 307.451,-315]);

    __motion_NewBall_7.addPropertyArray ("y", [0, 9.41071, 18.8214, 28.2227, 37.6429, 47.0536, 56.4549, 65.875, 75.2857, 84.6964, 94.1071, 103.518, 112.919, 122.339, 131.75, 124.157, 116.564, 108.979, 101.379, 93.7857, 86.2004, 78.6, 84.0237, 89.4474, 94.8656, 100.295, 105.718, 111.137, 116.56, 121.989, 127.413, 132.837, 138.261, 143.679, 149.108, 154.526, 159.955, 165.379, 170.803, 176.226, 181.65, 187.074, 192.497, 197.921, 203.345, 208.763, 214.192, 219.616, 225.034, 230.458, 235.887, 241.311, 246.729, 252.158, 257.582, 263.005 268.424]) 273.853, 279.276, 284,7]);

    __motion_NewBall_7.addPropertyArray ("scaleX", [1.000000]);

    __motion_NewBall_7.addPropertyArray ("scaleY", [1.000000]);

    __motion_NewBall_7.addPropertyArray ("Scewx", [0]);

    __motion_NewBall_7.addPropertyArray ("transformations", [0]);

    __motion_NewBall_7.addPropertyArray ("rotationConcat", [0]);

    __motion_NewBall_7.addPropertyArray ("blendMode", "normal");

    __motion_NewBall_7.addPropertyArray ("cacheAsBitmap", [false]);

    __motion_NewBall_7.addPropertyArray ("opaqueBackground", [null]);

    __motion_NewBall_7.addPropertyArray ('visible', [true]);

    __animFactory_NewBall_7 = new AnimatorFactory (__motion_NewBall_7); Set after the motion, _motion_NewBall_7 exists

    __animFactory_NewBall_7.transformationPoint = new Point (0.500000, 0.500000);

    __animFactory_NewBall_7.addTarget (myClip, 1);

    }

    }

Maybe you are looking for

  • How can I select photos to iCloud applications when this option has been disabled?

    I'm puzzled. I tried to add a photo in the Mail, but the picture does not appear.  I was puzzled that only about 3,000 of my 48000 pictures were in the media browser and decided to investigate and even rebuilt my entire library without change in sigh

  • Width of the window for Diff in IDE

    When you use the "Diff" of the CVI feature, both not confined windows that are created for both files are closer I want.  I must always manually expand their. Is it possible to make them automatically more wide? OR: I suggest that these windows shoul

  • LabVIEW 2009 crashing when opening thermotron 2800/4800 control live

    IM in the early stages of prog. for the control of thermotron and im unable to open one of the screws, I got from thermotron on the control pc. they can be used on my pc of office design using the same verse. LabVIEW. the gpib interface is functional

  • Update hard drive of 320 GB to 1 TB

    I'm running out of space in my HD (320 GB).  I used the windows backup and restore for full backup of my drive and then did a full restore for the bigger drive.  The problem was that the program kept them were leaving the same size as the original dr

  • All-in - one C6100 HP turns on and off several times

    All-in - one C6100 HP turns on and turns off repeatedly. Error message, use no power cord to turn off.