Problem in converting ISO 8061 standard

-- Timestamp with offset �8:00 --
2004-02-06T15:24:56.022394-08:00
-- Timestamp with offset 0:00 --
2004-02-06T15:24:56.022483Z
-- Timestamp with lower precision --
2004-02-06T15:24:56.022000-08:00
According to the format i need to use YYYY-MM-DDThh:mm:ss.sTZD
But It is not parsable using SimpleDateFormat, So I am using the format yyyy-MM-dd'T'HH:mm:ss.sZ.. Still could not get the desired format..
Can you please help me, how can i get this format...?
thanks & regards
Balmiki

Put simply, SimpleDateFormat isn't designed to parse ISO-8061. It can't handle microseconds (and nor can Date) or offsets with a colon and no leading "GMT". The latter might be fixable with some hacking around with DateFormatSymbols, but I think you're probably best off looking for a third party parser or writing your own.

Similar Messages

  • Hyperlink problem when converting Word to PDF

    Hi everyone.
    I am using Adobe Acrobat 7.0 Standard version 7.1.4 on a Windows 2000 environment.
    I am using Word XP/2002 SP3.
    I have a couple of problems when converting Word to PDF.
    When converting a long link which is in 2 lines, PDF just takes one line into account, not considering the whole link
    When I have hyperlinks that links to a web page, the link works fine in Word but in pdf, it gets the few words after the url address making the link not work.  For example.  I have a hyperlink that http://www.google.com/ and after this I have the words: "This is a sample text".  The hyperlink in pdf would then become http://www.google.comThisisasampletext
    Do you have any ideas how I can correct this?
    Thanks.

    To get the cross references, you have to use Convert to PDF (PDF Maker part of the Acrobat product). However, you first need to go to the print menu and set the printer to the Adobe PDF printer. Close the print menu and then do a reflow and link update of the document (ctrl-A, then F9 I think). This is needed to get the links correct since WORD reflows the document based on the printer (problem with them going to the wrong place).
    Printing to the Adobe PDF printer (the step of print to file is not needed, just print to the printer and the rest is automatic) does not include the links. PDF Maker is a PreProcessor for the Adobe PDF printer that adds PDF Marks to the PS file before it is sent to Distiller (OK, the printer when used normally creates a PS file and then invokes Distiller to complete the process - your steps did with the Adobe PDF printer is the same process done manually).
    Summary:
    1. Fix document after setting the printer to Adobe PDF.
    2. Use PDF Maker (create PDF button)

  • Problem in converting some images

    Hi all,
    I have a problem when converting a word document in pdf (using acrobat 9). If i use the standard settinings, everything works fine. If I use personalised options to mantain bookmarks and links in the final pdf, some images (png) after the conversion appear with some black stripes on top of them.
    Does someone encountered the same problem?
    Thank You!

    Sorry for the delay in my response. I was on vacation.
    I tried following code (giving the type as related). But still it didn't work out :(
    I am sure i am doing some silly mistake. I guess mistake is in how i use cid:imageDo i need to use four unique cid tag if i attach four images? If yes can someone help me how? Thanks
    MimeMultipart multiPart = new MimeMultipart("related");
    MimeBodyPart msgBody = new MimeBodyPart();
    String htmlText = content+"<H1></H1><img src=\"cid:image\">";
    msgBody.setContent(htmlText, "text/html");
    multiPart.addBodyPart(msgBody);
    File folder = new File("./result");
    File[] listOfFiles = folder.listFiles();
    for (int i = 0; i < listOfFiles.length; i++)
    MimeBodyPart attachmentPart = new MimeBodyPart();
    FileDataSource fds = new FileDataSource(listOfFiles.getAbsolutePath());
    attachmentPart.setDataHandler(new DataHandler(fds));
    attachmentPart.setFileName(listOfFiles[i].getName());
    attachmentPart.setHeader("Content-Type", "image/png" );
    //attachmentPart.setDisposition("inline");
    attachmentPart.setHeader("Content-ID","image"+i);
    mp.addBodyPart(attachmentPart);
    System.out.println("Attached the file " + listOfFiles[i].getAbsolutePath());
    mess.setContent(multiPart);

  • How to convert .iso to .img

    i am being driven absolutely madd by my computer. all i want to do is a simple task, yet hours of my life have now been drained. so to save the rest of my time as well as others in the future, how does one convert a .iso file to .img on a mac? (yes, i've looked at every forums answers and ive copied the instructions (which were slightly different for each forum) perfectly into terminal, but nothing happens. so lets make this as simple as can be....
    just in case this maters, i'm running osx mavericks.
    on my desktop there is an iso file we will call X.iso.
    i want X.iso to be converted to X.img.
    simple right? or at least you’d think so….
    if anyone can write out the formula that i can then type into terminal, you will achieve god like status in my mind.
    the file is on my desktop, and i want the converted file to end up on my desktop as well. so because the file location is simple, and universal, the formula should be pretty easy to figure out.
    thank you to whoever does.

    hi allan,
    thanks for the super quick reply, but i don't think this is true. theres definitely a way of converting .iso to .img; theres many people out there who claim to have success with this through terminal. it doesn't matter what the file is called... like i said in the original post... for reasons of simplicity, we are going to call it X.iso; the name is irrelevant; it's the formula that gets typed into terminal that i need.
    i don't mean to sound rude, but if you don't have an answer please just keep your comments to yourself. the last thing any forum needs is a bunch of "i don't know"'s. there is a way, and i want to hear the formula from someone who knows what he/she's doing.
    a couple examples of this formula from other websites are as follows...
    hdiutil convert -format UDRW -o /convert/newfile/output.img /convert/source.iso
    or
    Type "hdiutil convert source.iso -format UDRW -o destination.img" without quotes, and then press "Return." Replace "source" and "destination" with their actual values.
    BUT...
    none of them have worked for me. this being said, it's worked for others somehow. i must be typing something wrong. this is why i need a mac genius. any takers?

  • Problem in converting Spool Request into PDF format

    Hi,
      I am facing problem to convert spool request (which store output of sap script) in to PDF format. Actually I have converted it with function module 'CONVERT_OTFSPOOLJOB_2_PDF' and it is working properly but the problem occurs where the BOLD fonts are used. I am unable to see the Text/Address where i have used Bold Font in script (PDF FORMAT). Even though in (SPO1) spool request shows every thing perfectly (along with Bold Font). It will great if you could suggest me something.
    Thanks,
    Pradeep

    Hi Pradeep,
    Use ,
    Closing the Sapscript, we save data (OTF) in a table
    CALL FUNCTION 'CLOSE_FORM'
    TABLES
    otfdata = t_otfdata
    EXCEPTIONS
    unopened = 1
    bad_pageformat_for_print = 2
    send_error = 3
    spool_error = 4
    OTHERS = 5.
    DATA: BEGIN OF t_otfdata2 OCCURS 0.
    INCLUDE STRUCTURE solisti1.
    DATA: END OF t_otfdata2.
    Move OTF data to another table with lenght 255
    LOOP AT t_otfdata.
    CONCATENATE t_otfdata-tdprintcom t_otfdata-tdprintpar INTO t_otfdata2.
    APPEND t_otfdata2.
    ENDLOOP.
    Convert OTF format to PDF
    CALL FUNCTION 'SX_OBJECT_CONVERT_OTF_PDF'
    EXPORTING
    format_src = 'OTF'
    format_dst = 'PDF'
    devtype = 'PRINTER'
    FUNCPARA =
    len_in = len_in
    IMPORTING
    len_out = len_out
    TABLES
    content_in = t_otfdata2
    content_out = t_pdfdata
    EXCEPTIONS
    err_conv_failed = 1
    OTHERS = 2.
    Have a look at Progs. RSTXPDF4 and RSTXPDFT2 for converting the Spool to PDF.
    Regards,
    Raj
    Message was edited by: Rajasekhar Dinavahi
    Message was edited by: Rajasekhar Dinavahi

  • Problem in converting Spool to PDF file, having non-English characters

    Hi All,
            I have problem in converting Spool to PDF format.
    Scenario : I have a spool which has non-English characters. I am using CONVERT_ABAPSPOOLJOB_2_PDF  FM to perform conversion. But my output is having junk values( ie # ) for non-English characters. Any pointers to solve this issue will be appreciated.
    I even tried with report RSTXPDFT4 , it also gives me the same junk characters.
    Regards,
    Navin.

    Hi All,
            I have problem in converting Spool to PDF format.
    Scenario : I have a spool which has non-English characters. I am using CONVERT_ABAPSPOOLJOB_2_PDF  FM to perform conversion. But my output is having junk values( ie # ) for non-English characters. Any pointers to solve this issue will be appreciated.
    I even tried with report RSTXPDFT4 , it also gives me the same junk characters.
    Regards,
    Navin.

  • Problem in Converting Shapefile to SDO Layer

    Hi all,
    I am new to the Oracle Spatial database 10g (10.2.0.1.0). I got problem in Converting shapefile to sdo.
    My ESRI Shapefile (Tempshp.shp,Tempshp.shx,Tempshp.dbf) contain field name as "LEVEL".
    I can able to run the shp2sdo and "Tempshp.sql" and "Tempshp.ctl" files are all created without any problem.
    when i try to run the following command in SQLPlus
    @Tempshp.sql
    The following error message were generated
    LEVEL NUMBER,
    ERROR at line 4:
    ORA-00904: : invalid identifier
    May i know whats the actual problem, Is there any Reserved word/ keyword like LEVEL is present in oracle/ Spatial.
    Regards,
    Prema Selvam.
    Message was edited by:
    Prema Selvam
    Message was edited by:
    Prema Selvam

    Hello Ro,
    Thanks,
    If we are changing the field name LEVEL to Something like LEVELX, then whether we need to change the the LEVEL as LEVELX in .ctl also.
    If i am changing the Field name whether it will affect the spatial function such as join, etc..,
    Thanks & Regards,
    Prema Selvam.

  • Problem in converting reports  to PDF format - bug

    dear all,
    There is a problem in converting the reports in PDF format.
    The situation is that if we use the tool bar icon in SAP B1 to get the reports in PDF format, there are printing errors. The output PDF file does not contain the exact data that is in the report, the values are getting interchanged and mismatched.
    But if we do the same using the print in the PDF option in choose from printers window as we do regular pringting, the document is printed properly.
    what may be the cause for this bug like thing. How can we solve it??
    please help me..
    thanks and regards,
    Yeshwanth Prakash

    Check this SAP Note: 1089388     Incorrect value in exported PDF when Concat function is used
    [https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/smb_searchnotes/display.htm?note_langu=E&note_numm=1089388]

  • Problem in converting spool to pdf

    Hi Experts,
    I want an internal table to be converted to the PDF. For this RSPO_OPEN_SPOOLREQUEST, RSPO_WRITE_SPOOLREQUEST and RSPO_CLOSE_SPOOLREQUEST to create the spool. However, somehow the table tsp01 does not gets updated as a result i could not convert the data to PDF. Can any one help me how this problem could be solved.
    Thank.
    Warm Regards,
    Harshad.

    Hi,
    you can refer this sample code.
    DATA: t_otfdata_tab LIKE ITCOO OCCURS 0 WITH HEADER LINE.
    CALL FUNCTION 'CLOSE_FORM'
    TABLES
    OTFDATA = t_otfdata_tab
    fill the exceptions..
    IF SY-SUBRC = 0.
    ENDIF.
    then pass the t_otfdata_tab to this function module..
    CONSTANTS: c_pdf(03) VALUE 'PDF'.
    PDF File size
    DATA: w_file_size TYPE I.
    Internal Table to hold Form contents in PDF format
    DATA: t_pdfdata_tab LIKE tline OCCURS 0 WITH HEADER LINE.
    for converting. the output format from OTF to PDF
    CALL FUNCTION 'CONVERT_OTF'
    EXPORTING
    FORMAT eq c_pdf
    IMPORTING
    BIN_FILESIZE = w_file_size
    TABLES
    OTF eq t_otfdata_tab
    LINES eq t_pdfdata_tab
    EXCEPTIONS...
    use these links, hope it will be useful to you....
    Problem in converting spool to PDF file
    Problem in converting the spool to PDF.
    Thanks and Regards,
    Ahamed.

  • Problem in converting to PDF

    Hi,
    i am facing a strange problem while converting the book file to pdf...
    Error message:
    %%[ ProductName: Distiller ]%%
    %%[Page: 1]%%
    %%[Page: 2]%%
    %%[ Error: ioerror; OffendingCommand: readstring ]%%
    Stack:
    (====;;;;;;::::9998877755554444222222222-\)&# ...)
    -file-
    -mark-
    -save-
    %%[ Flushing: rest of job (to end-of-file) will be ignored ]%%
    %%[ Warning: PostScript error. No PDF file produced. ] %%
    I think its with the encapsulated post script files I use in the book.
    please help me to resolve this issue...
    Thanks...

    PostScript language level 2 dates back to 1990. PostScript language level 3 was announced in 1996 with first devices shipping in 1997. Adobe Acrobat Distiller is effectively an Adobe PostScript 3 device as of Acrobat 4.0. At Adobe, we know of no problems associated with processing of properly generated PostScript language level 3 files by Distiller.
    In terms of what may appear in an EPS file, the major areas of difference would be in use of smooth-shaded gradients in language level 3 as opposed to adjacent similar polygons or images to represent gradients in language level 2.
    Ironically, changing the settings of the Adobe PDF PostScript printer driver instance for PostScript language level (the Distiller itself has no such setting) does
    not affect the placed EPS (or EPS derived from placed PDF) in your FrameMaker document. The PostScript text in the EPS is simply passed through the driver unchanged, regardless of the driver's PostScript language level setting, to the Distiller. The setting you changed affected only the PostScript generated from non-EPS components of your FrameMaker document.
    I cannot rationally explain the symptoms you experienced and why the driver setting change you made resolved the symptoms without looking at your files and knowing exactly how they were generated. It is possible that the problem has nothing to do whatsoever with your EPS files! :-)
    - Dov

  • Alignment problem in converting smartform printpreview into PDF

    Hi all,
    I am getting some alignment problem in converting smartform printpreview into PDF format, i.e the format of PDF is different from printpreviw of smartform.
    kindly suggest something so that alignment is not changed while converting to PDF.
    Regards,
    Sumalatha

    use below f.m to convert it into 255 characters....
         CALL FUNCTION 'QCE1_CONVERT'
            TABLES
              t_source_tab         = i_tline
              t_target_tab         = so_ali[]
            EXCEPTIONS
              convert_not_possible = 1
              OTHERS               = 2.

  • Problem in converting Long Raw to Varchar2

    Hi
    I need to analyze the contents of a 'Long Raw ' field to proceed further. In an attempt to do that, using the following code, I could not see the data in a readable format.Kindly Help...
    create or replace procedure lr2vc1 (lv_id number) is
    c1 long raw;
    note_varchar2 varchar2(32000);
    begin
    select value into c1 from Test_table where id=lv_id; /*value is the Long Raw field*/
    note_varchar2 := utl_raw.cast_to_varchar2(c1);
    insert into lr2vc (prid,lrvalue) values (lv_id, note_varchar2);
    commit;
    --dbms_output.put_line(c1);
    end;
    Thanks
    Sandeep

    Whats wrong with the answer given here?:
    <br>
    Problem while converting Long Raw data to Varchar2

  • Problem with converting .RIFF : I still cannot  transfer RIFF file to ipod

    Snitch
    Posts: 13
    From: Cali
    Registered: Feb 13, 2006
    Problem with converting .RIFF to mpeg4 even tho its a mpeg
    Posted: Jun 2, 2006 2:19 PM
    1st problem trying to convert mpeg video thru ipod converter. I have successfully converted DVD`s and other downlaoded videos but this is the 1st time i ran into a wall.
    I am using GSPOT CODEC software and it says its a "riff- wrapped " file. When I open up Videora converter it doenst do anything meaning no green bars to show its progressing into mpeg4 format. It does finish and it goes to finish videos but when I try to manually put it in my I-tunes it doenst do anything. Why i am posting this. I am frustrated. WHAT -and it appears to be mpeg - the heck is RIFF wrapped file? Please help I have GUNS n ROSES live at ritz 1988 rare footage andI want it on my ipod and It does play in my windows media player so its a true video with sound
    Intel P4 Windows XP Black 60 GB Video w/ Agent 18 shield
    Johnathan Burger
    Posts: 1,450
    Registered: Jul 27, 2005
    Re: Problem with converting .RIFF to mpeg4 even tho its a mpeg
    Posted: Jun 3, 2006 1:38 AM in response to: Snitch
    Never heard of RIFF, so I did research and found these sources: http://ccrma.stanford.edu/courses/422/projects/WaveFormat/
    http://en.wikipedia.org/wiki/RIFF
    Good luck.
    17" iMac 1.8ghz G5 2GB 12 iBook 1.2ghz 512mb 5th gen iPod Mac OS X (10.4.6) Microsoft Free since '92
    Pages: 1 Back to Topic List

    See:
    iOS: Troubleshooting applications purchased from the App Store
    Contact the developer/go to their support site
    Restore from backup. See:
    iOS: How to back up              
    Restore to factory settings/new iPod

  • Problems in converting video in ipod format using quicktime pro...read me!!

    I'm having problems in converting mpeg video with quicktime pro. Tha fact is that after a very long process (more than 1 hour) quicktime crates from the original mpeg file an ipod format .m4v file with no sound at all, just images...
    someone can help, please???
    thanks

    poeple have had the same trouble that you mentioned have you tried this software
    To use Videora iPod Convertor to convert movies for use on your iPod, consult these helpful links:
    To get started: http://www.videora.com/en-us/Converter/iPod/
    If you have questions: http://www.videora.com/en-us/Converter/guides.html
    If you have more questions, post them here: http://www.pspvideo9.com/forums/index.php?c=8
    Note that Videora iPod Convertor is a 3rd party program. If you need help with it, post your question there.
    GFF

  • Problem with Converter

    Problem with Converter.  When I save a PDF it is saved as a Word document and I cannot open it.  What is the problem?  I have uninstalled the Converter, but it continues to save PDF as Word.

    I cannot open the file with Word.  I am not trying to convert the file at
    all.  When I save a PDF and then try to open the file, it is saved as a
    Word document and it will not allow me to open it.
    On Wed, Mar 26, 2014 at 9:58 AM, Claudio González

Maybe you are looking for

  • Can LCD TV 32HL833B not achieve native resolution (1920x1080​) from a PC ?

    Hi, I've bought this LCD TV for use mainly as a PC Monitor.  It's currently at 1280x1024 but the text is too big & blurry and I've read that it would be much better in its native resolution of 1920 x 1080. The PC is running Windows XP with standard "

  • Can a PDF be an app?

    1.  Can you offer fillable pdf forms as an iphone or an ipad app?     Can you store the PDF on the phone?    2..  If you store a  PDF in the cloud...can somone access and display the PDF on their phone?   3.  Does Adobe have a ist of third party deve

  • Adobe Photoshop CC crashes a lot in OSX 10.9.1

    Adobe worked fine for the first two months or so..now crashed all the time I reinstalled abobe helped for a while but quickly went back to crashing...I open photoshop with option-command-shift and this helps for a while also but quickly goes back to

  • I can't connect me In Sql Developer

    Mrs, I can't connect me in Sql Developer , because it Show me a Error : UnKnown Instance . I have a named Instance ( e-xyon-inf-13\sql2005 ) , when a Put the name , it didnt know. Is There any configuration that I must do ? Because I am able to conne

  • LMS 3.1: cwcli config import via tftp crash the switch

    Hi, When we try to import conf file to a switch with tftp, switch crash and reload. D:\CSCOpx\bin>cwcli config import -u admin -p xxxxx -ipaddress 10.160.252.132 -f  D:\CSCOpx\files\rme\dcma\shadow\Switches_and_Hubs\PRIMARY\10.160.255.1.cfg LMS 3.1 S