Finding advanced date (urgent)

Suppose i have a date in string format mm/dd/yy. Now i hav given some no. of days and i hav to add these to the current or any date and to find a resultant date. Is there some utility in java so as to calculate it.

Sure - convert the String date to a Date object (use SimpleDateFormat.parse) then set a Calendar object (check the API docs) to that Date,. then use Calendar's add method to add your days, then get the Date of the Calendar, then convert that back to a String (use SimpleDateFormat.format) - check the API docs for these classes/methods and you should be good
Good Luck
Lee

Similar Messages

  • Unable to find requested Data Object

    Hi,
    I import a standar data object in my DOE... It is a simple getlist and getdetail.
    I import all correctly, but when i activate it appear this error:
    "Unable to find requested Data Object"
    What happend?
    Thanks in advance,
    Regards,

    I delete de data object and the bappi, i create the bappi with the wizard, and now work fine the data object...
    Regards,

  • Unable to find a data source in RSA5 which can be seen in RSA3.

    Hi there,
    I am unable to find the business content data sources in RSA5, but I can find the same data sources in RSA3 (extract checker).
    I need these data sources to be replicated to BW and take it up further.
    Any light on the above issue will be of great help.
    Thanks in advance.
    Regards.

    Guys
    Regarding my previous messages, None of the posts where working out for me. I Had tried all the possibilites of your messages,but I am facing the same problem
    1. I am unable to find data source in RSA5,But I had find the data in RSA3. Pls let me know how you guys what me to go. It will be really appreciated. pls let me know from ground level how do you want me to dig in to the issue.

  • How to find the data loaded from r/3 to bw

    hi
    how to find the data loaded from r/3 to bw is correct . i am not able to find which feild in the query is connected to which feild in the r/3 . where i am geting the data from r/3 . is there any process to find which feild  and table the data is comming from . plz help
    thanks in advance to u all

    Hi Veda ... the mapping between R/3 fields and BW InfoObjects should take place in Transfer Rules. Other transformation could take place in Update Rule.
    So you could proceed this way: look at InfoProvider Data Model and see if the Query does perform any calculation (even with Virtual keyfigures / chars). Than go back to Update Rules and search for other calculation / transformation. At least there are Tranfer Rule and eventually DataSource / Extraction Enhancements.
    As you can easily get there are many points where you have to look for ... it's a quite complex work but very usefull.
    Once you will have identified all mappings / transfromation see if BW data matchs R/3 (considering calculations ...)
    Good job
    GFV

  • Debuging mapping - error : Could not find test data for target operators ?

    Hello, Please help me.
    I use Oracle Warehouse Builder 10gR2.
    I created a cube with two dimensions.
    I debugged the mappings of these two dimensions then viewed their data after deployment.
    I tried to debug the mapping of the cube, and got the error: Could not find test data for all source and target operators.
    For source objects exist test data but for the target operator (cube_out) logically we do not need test data !!!! .
    But the error is here: Could not find test data for target operators. Why ??
    How to configure or explain to owb that the target operator do not have test data ????
    I need your help.
    thank you in advance.

    Sorry, I can not understand your approach ?
    I explain you in detail : I work in ROLAP.
    I have two dimensions : DIM_1 and DIM_2 linked with the cube (Fact_table).
    I have three mappings : MAP_DIM1, MAP_DIM2, MAP_CUBE.
    For the MAP_CUBE, I have source operator : VIEW_IN and Target operator : CUBE_OUT.
    I could see the data dimensions : DIM_1 and DIM_2 after debugging and Deployment in the OLAP schema.
    I tried debugged the mapping: MAP_CUBE so I got the error: Could not find test data for all source and target operators.*
    thank you for help.

  • How to find the date my iPhone 4s was manufactured

    Hi, Please can anyone tell me how to find the date my iPhone 4s 64gb was manufactured. I have the serial and i-m-e numbers. For some reason my Insurance company want to know, all I wanted to do was add the phone to my all risks policy. Thanks in advance for any advice.

    That's all you will get, there is no way to know the manufactured date only the warranty status from date of original sale and it is most unlikely your warranty is still "good" on an iPhone 4

  • Column formatting based on grouping data value- advanced data grid

    Hello Everyone,
    I am using advanced data grid to display hierarchial data nested upto depth 4. I have to color the leaf nodes conditionally based on  the grouped column value.
    Say for Eg.,
    If the data is something like
    Company
         Manager
              Jim          $4000
              John        $3000
         Accountant
              Smith     $2000
              Sam       $3000
    I have to color Jim and John based on they being a manager. In other words, how do I get Manager and Company information for the leaf rows. The data is serial to start with and I am grouping it before displaying.
    Please let me know how this could be done.
    Thanks
    Arun

    Once htmldb.oracle.com is available again, you may have a look in my demo application:
    http://htmldb.oracle.com/pls/otn/f?p=31517:1
    In the tab section I, you will find several examples on pop-up pages. There this conditional
    displaying is included as well.
    Denes Kubicek

  • How to find missed data

    hi friend,
    i did not find the data for the last two days in the info provider manage screen and in the process chain maintanance also.
    we r getting data from crm and r/3
    can anyone help me how to find the missed records?
    Thanks in advance
    sridath

    Hi,
    The first step is to check in the extractor checker (RSA3) in the source system...
    Then you ahve to check the delta queue...also the missing of record can happen on the delta option that you have chosen...generally unserialized V3 update is preferred so that we do not miss any records....
    Thanks
    santo

  • How to find Installation Date for each SQL installation

    Dear All,
    I need a basic info. How to find installation date of each SQL instance (My environment running with multiple standalone/cluster instances)?
    So, I need a query to find installation date easily (I don't want to check it in registry by manual). Thanks in advance...

    Hi Balmukund
    This is the same answer that (1) Prashanth posted
    from the start, letter on (2) Stan posted
    this again with the same link, and now for the third time, (3) you posted it with the same link :-)
    * This answer is correct for specific instance.
    The OP asked a solution for several instances. Therefore he should execute this on each instance. As I mentioned he can do it dynamically on all instances, for example using powershell (basic logic is, first find all instances and than post this query in a
    loop).
      Ronen Ariely
     [Personal Site]    [Blog]    [Facebook]
    Then your answer is correct :)
    Balmukund Lakhani
    Please mark solved if I've answered your question, vote for it as helpful to help other users find a solution quicker
    This posting is provided "AS IS" with no warranties, and confers no rights.
    My Blog |
    Team Blog | @Twitter
    | Facebook
    Author: SQL Server 2012 AlwaysOn -
    Paperback, Kindle

  • Advanced data grid and grouping

    This is probably a basic questions, so hopefully someone will
    know the answer. I have an advanced data grid that works find a
    follows:
    <mx:AdvancedDataGrid id="adgReportList"
    horizontalCenter="0"
    y="28" width="485" height="500" dataProvider="{reports}">
    <mx:columns>
    <mx:AdvancedDataGridColumn headerText="Proposal Number"
    dataField="PROPOSAL_NUMBER"/>
    <mx:AdvancedDataGridColumn headerText="Report Title"
    dataField="REPORT_TITLE"/>
    <mx:AdvancedDataGridColumn headerText="Report Start Date"
    dataField="PERIOD_BEGINING"/>
    </mx:columns>
    </mx:AdvancedDataGrid>
    So the data coming back seems to be fine. But when I try to
    group the data as follows, nothing shows:
    <mx:AdvancedDataGrid id="adgReportList"
    horizontalCenter="0"
    y="28" width="485" height="500"
    initialize="gc.refresh();">
    <mx:dataProvider>
    <mx:GroupingCollection id="gc" source="{reports}">
    <mx:grouping>
    <mx:Grouping>
    <mx:GroupingField name="PROPOSAL_NUMBER" />
    </mx:Grouping>
    </mx:grouping>
    </mx:GroupingCollection>
    </mx:dataProvider>
    <mx:columns>
    <mx:AdvancedDataGridColumn headerText="Proposal Number"
    dataField="PROPOSAL_NUMBER"/>
    <mx:AdvancedDataGridColumn headerText="Report Title"
    dataField="REPORT_TITLE"/>
    <mx:AdvancedDataGridColumn headerText="Report Start Date"
    dataField="PERIOD_BEGINING"/>
    </mx:columns>
    </mx:AdvancedDataGrid>
    Thanks for any help.
    Jim

    "jim1234" <[email protected]> wrote in
    message
    news:g7eqkr$g6m$[email protected]..
    > Ok, I know what the problem is, I just don't know a good
    way to fix it.
    >
    > The problem is that the ArrayCollection that I use to
    populate the data
    > grid
    > does not have data until after the initialize event is
    fired. So I need
    > to
    > find out where/how to call the gc.refresh() method after
    the
    > ArrayCollection
    > has data.
    You're binding to it. Make sure it is bindable.

  • Advanced data grid and SummaryRow

    Hello,
    I've gotten the SummaryRow to work in AdvancedDataGrids in the past for performing certain functions like sum or average... but for this specific instance I want to do a summary row on non-numeric values (approved or rejected).
    For instance... lets say I have a GroupingCollection in the advanced data grid and I want to group by department (this is a 1 to many with dept having 1 or more employees). At that grouped level I want to show either "approved" or "rejected"... how can i show this next to the grouped department (not as another group below the department)? See my screenshot below of my output and how I could achieve this.

    "jim1234" <[email protected]> wrote in
    message
    news:g7eqkr$g6m$[email protected]..
    > Ok, I know what the problem is, I just don't know a good
    way to fix it.
    >
    > The problem is that the ArrayCollection that I use to
    populate the data
    > grid
    > does not have data until after the initialize event is
    fired. So I need
    > to
    > find out where/how to call the gc.refresh() method after
    the
    > ArrayCollection
    > has data.
    You're binding to it. Make sure it is bindable.

  • I restored my iPad and then repurchased App Pages. But I am not able to find my data saved with Pages before the restore. qwn

    I restored my iPad and then repurchased App Pages. But I am not able to find my data saved with Pages before the restore. qwn

    Those sites take a long time to load for me (almost a minute)
    Reload web page(s) and bypass the cache.
    *Press and hold Shift and left-click the Reload button.
    *Press "Ctrl + F5" or press "Ctrl + Shift + R" (Windows,Linux)
    *Press "Cmd + Shift + R" (MAC)
    Clear the cache and the cookies from sites that cause problems.
    "Clear the Cache":
    *Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    "Remove Cookies" from sites causing problems:
    *Tools > Options > Privacy > Cookies: "Show Cookies"

  • Can not find master data in the cube

    ItemNo is an navigation attribute of 0Material. We are using 0material in a cube. When I display the cube data include ItemNo, I don't find the data I am looking for. For example:
    In 0Material:
    0Material      ItemNo    Description
    AAA                001           Test
    BBB                002           Test
    In the cube I expect to see:
    0Material             ItemNo            On Hand Qty
    AAA                      001                      1000
    BBB                      002                       2000
    Instead I saw:
    0Material             ItemNo            On Hand Qty
    AAA                                                1000
    BBB                                                2000
    0Material got refreshed after cube data got loaded. Is that why I don't find the refreshed Master data?
    Thank you!

    Hi,
    When you laod the cube, the Values for Master are automatically get created in the master data (If they are not present earlier and with "Data Update Type in the Data Tragets" setting in InfoPackage).
    Now when you are loading your cube with 0Material and Item Number, the values for Item Number seems blank. Thats the reason why you are not able to see the Item Number in Cube though it is present in Master. Because now these are two different keys, one with Item Number value and other without Item Number value.
    Regards,
    Yogesh.

  • Can't find my data from Time Machine network backup

    Migration assistant shows inconsistent sizes for applications, computer settings and other files/folders, about 30GB when I had 270 GB only in pictures.
    I did a clean Mavericks install.
    How do I find my data from the TimeMachine network backup?
    The size of the TimeMachine backup is consistent with what I had before ( >300 GB)...so how do I recover it?.
    I'm using a new user account name in the clean installation.
    Thanks

    Read a few threads about this being a problem with account access, so I renamed the account in my new installation to the account name used to create the backup and found the old accounts....now when trying to proceed it told me there was a conflict with the account name and i had to use a different one!!.
    Apple has stopped to be simple...
    So how are we suppose to use the migration assistant if either way there is a problem? ( using same or different account name )...

  • Can V find Master data datasource by having Transaction data datasource?

    Hello All
    I have a datasource in r/3 side by this can v find Master data datasource?
    The Transaction datasource is 2lis_02_scl?
    how to find Master datasource for this?
    Many Thanks
    balaji

    AHP hello
    Thanks for info given
    Can v view same for customized datasources also?
    is it possible?
    so for datasource 2lis_11_vaitm,if v click on "Infosource Overview" v can view all the Infosource name,by this v can find our Master Datasource.?
    so for ex.,I can c infosource 0CUST_GRP1,so this is the datasource for Master data from r/3 side?
    Is it correct?
    Many Thanks
    balaji

Maybe you are looking for