Is there any method in Java to convert from system time to variant time?

From MSDN:
A variant time is stored as an 8-byte real value (double), representing a date between January 1, 100 and December 31, 9999, inclusive. The value 2.0 represents January 1, 1900; 3.0 represents January 2, 1900, and so on. Adding 1 to the value increments the date by a day. The fractional part of the value represents the time of day. Therefore, 2.5 represents noon on January 1, 1900; 3.25 represents 6:00 A.M. on January 2, 1900, and so on. Negative numbers represent dates prior to December 30, 1899.
Is there any method in Java to do this or do I need to write it?

do I need to write it?yes

Similar Messages

  • Is there any method to export the data from oracle 10g in any format !!!!!

    is there any methods to export the data from oracle 10g in the format of excel or csc or txt or anyother. i already downloaded the sql developer tool but it only exports the data of upto one lakh rows ,but i have two tables of more than 3 lakh and 10 lakh rows respectively.for this i used 'where' command to break the file through sql developer but that didnt work
    plz help me out if any thing possible
    i need to again import this data into microsoft sql if there is any direct method plz let me know
    its urgent
    Message was edited by:
    user628031
    Message was edited by:
    user628031

    Take a look at DUMP_CSV function by Tom Kyte.

  • Is there any Method to remove the request from STMS OR SE10 OR SE09

    HELLO ALL ABAP GURUS,
    Is there any Method to remove or delete the request from STMS OR SE10 OR SE09 ?
    Thanks,
    Sumit.

    Hi,
    Before deleting a transport request you need to unlock all the objects in a transport request. Please follow these steps.
    1. Go to SE03. Under Requests/Tasks folder in the left pane you can see Unlock Objects, double click on that.
    2. Enter your request number (sub task) there and click on execute button.
    3. SAP will prompt you with a message, click on Unlock button.
    4. Now go to SE09/SE10 and click on your request number (sub task) and click on delete button on the application toolbar.
    5. Now click on main task and click on delete button to completely remove the request number.
    Hope this will help you.
    Regards,
    Venkat

  • Any method to Import the data from Ingres Database to Oracle Database

    Hi,
    Is there any method to import the datas from Ingres Database to Oracle Database,
    Thanks in Advance.

    Check out this link.
    HTH...

  • Is there any method which reflects the names of classes of java?

    is there any method with which dynamically we can get all the packages's name along with their classes of java(specially core classes of java)?if not how can we do that?

    The resource from which the Java VM loads the classes is considered to be implementation dependent. It may be class files or jar files contained in a file system hierarchy, or some kind of remote database. The now defunct Microsoft VM used a database repository that was able to reside on a remote class server within a network domain.
    Unfortunately, Sun did not design a class resource service interface with a "list resources" function, only a "get resource" function. You can get the class resource for any named class, but you cannot list packages or classes within a package or at the root level.
    This is further complicated by the fact that there is no such thing as an "installed package" as Java does not define any package installation system. The packages available to any runtime instance of the JVM is defined by the classpath properties passed from the OS. Different JVM instances can have completely different sets of available packages because they were passed different classpath values by the OS.
    If you know the class resource of the runtime environment, then you could create a subclass of the sun.misc.URLClassPath class and add to it methods that will list packages and classes found within a package using the interface of that known class resource.
    Most runtime environments use a standard hierarchical file system to hold jar and class files. A subclass of sun.misc.URLClassPath could use the java.io.File class to traverse the file system classpath paths in search of package directories and class files (Watch out for recursive directory links).
    The root packages can be obtained from the three levels of classpath paths in the System properties used by the JVM:     "sun.boot.class.path"
         "java.ext.dirs"
         "java.class.path"The collection of file system paths obtained from these properties would be searched for the names of the root level package directory names. Just remember that this will only work in a runtime environment that only uses this kind of class resource. If you run this where some other resource is also used, you will not see all of the packages available to that JVM.
    One note of caution: A single directory can hold package directories, jar files, and class files that belong to a specific package, but the package may include other package directories, jar files, and class files that are contained in other directories. Pieces of a single package may be strewn throughout the file system. The only way to find them all is to scan all of the classpath paths for that same package name. The directory does not define the package, it only provides more content for that package.
    I hope you find this of some use.

  • IPhone calendar appointments set to local calendar, and need to switch to exchange calendar. Have to edit each appointment one at a time and change to exchange calendar. Is there any method to edit all appoints in my calendar at once?

    iPhone calendar appointments set to local calendar, and need
    to switch to exchange calendar. Have to edit each appointment one at a time and
    change to exchange calendar. Is there any method to edit all appoints in my
    calendar at once and change the calendar setting?

    Not sure this will work but if you go into the Keyboard preferences, then click the Keyboad Shortcuts tab, and then the '+', you can add your own shortcuts for any application.  I am not sure what happens if you try to override an existing shortcut since I haven't tried using this.
    Edit/Update:
    Probably against my better judgement I'll also throw this out there - there's an Unsanity haxie called Menumaster which might also allow you to do what you want.  Against my better judgement because personally I stay clear of haxies.  It's (all haxies) probably almost certain to break in Lion.  They always do with each major release.

  • Is there any way to prevent web.xml from any change like java class?

    hi all,
    Is there any way to prevent web.xml from any change after making EAR(WAR)?
    One can easily make a change in web.xml and redeploy the application to get the result. Now we want to restrict the web.xml as java class for any change after making EAR(or WAR).
    Could some one help me to do this?
    thanks,
    dinesh

    hi,
    Not at development level. We want it after deploying the application on server .
    We want to create it (web.xml) at tomcat startup (or in any other web/app server ) before loading any context.
    Is there any way to run a simple java class(not servlet) on tomcat startup(before initializing the contexts)?
    Message was edited by:
    DP_java
    Message was edited by:
    DP_java

  • Is there any method to remember the running subtitle and audio stream when navigating through menus?

    I have a language Menu named 'Setup' with 4 buttons 1.English  2.Spanish  3.Spanglish  4.Subtitle Off.
    To reach this page you have to hit Setup button on Main Menu. The setup button takes to a sub-menu of Setup where I have a symbol of 'tick' at Subtitle Off indicating the state of the current subtitle stream. I have 3 more sub-menus with similar buttons but with 'tick' at different languages indicating the state of the current running/selected language, 2nd page has English with tick, 3rd page has Spanish with tick and 4th has Spanglish with tick. My client wants me to jump on the respective language ticked page when you hit the setup button on Main Menu. As far as I understand we cannot assign a code in Encore to a single button to read what subtitle stream is running.
    Is there any method to remember the running stream when navigating through menus?
    I have done this in Sonic Scenarist.
    Regards,
    A Gandhi

    I think this was added in a "newer" version of Encore (meaning anywhere from CS4 up). In any event, it is available in Encore CS6.
    There is a menu (not button) property that allows yoi9u to make the active subtitle track button the default (i.e. selected/highlight shows) just as you want.

  • Is there any method to use network printer without installing driver?

    We have some embeded win7 devices which we cannot install drivers to.
    Is there any method to use network printer without installing driver?

    Hi,
    Please read the following article:
       http://en.wikipedia.org/wiki/Device_driver
    You definitely need this middle man.
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • Is there any methods to use network printer without installing driver?

    We have some embeded win7 devices which we cannot install drivers to.
    Is there any methods to use network printer without installing driver?

    Hi,
    Please refer to your other post:
      http://h30434.www3.hp.com/t5/forums/replypage/board-id/Printing/message-id/77319
    Thanks.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • Is there any method to deactivate the execute button?

    Hi Experts,
      I have created a ztransaction for a report program. When i execute the transaction the 'execute' button comes automatically in the application toolbar. Is there any method to disable it??

    Get the function code for that execute button(PLace the cursor on that button using the TAB key and press F1 to know the Fcode for that button).
    then use the following statement in the set pf-status
    set pf-status 'STATUS' excluding '<Fcode for exec button>'.
    Regards,
    ravi

  • Is there any method or function to update/modify an existing trip data?

    Hey, ABAP  gurus,
    Is there any method or function to update/modify an existing trip (PR05) receipts data and cost distribution data?
    Thanks in advance!
    Fisher

    Hi Fisher,
    Please try HRTRV_IF_MODIFY_TRIP.
    Regards,
    Dilek

  • Is There Any Tool in Java That Can Create Reports?

    Is there any tool in Java that can create reports? What is the tool?

    Google is your friend
    http://www.google.com/search?q=java+reporting+tools&sourceid=mozilla-search&start=0&start=0&ie=utf-8&oe=utf-8
    I've heard good things about JasperReports (theres a link on the first results page from the above Google search) but I haven't used it myself.

  • Is there any method like refresh,reload etc

    Sir/Madam,
    when i m trying to add new controls dynamically, in a Frame ,they are not appeariing until we made a click on the window.Is there any method to reload,or refersh or update to make changes without made a click on window.

    validate(); OR repaint(); OR pack(); //this method resizes the frame though...... after you add components to the frame you should call validate();
    David

  • I want to put my .m2ts movies (Sony HD recorder) on my Ipad3. It looks they need to be converted to h.264 format. Question is will Quicktime Pro work or are there any better software solutions. Running XP system. Thanks

    I want to put my .m2ts movies (Sony HD recorder) on my Ipad3. It looks they need to be converted to h.264 format. Question is will Quicktime Pro work or are there any better software solutions. Running XP system. Thanks

    You could try Handbrake, it works quite well.

Maybe you are looking for

  • How do i edit photos?

    hi all, new ipod nano-2 gb owner here. can somebody tell me how to edit my photos. i want to delete and or add a photo or two. i would like to keep my i-photo file intact. i don't want to have to try and remember which photos were in it. i would also

  • Logging in to remote site, reset safari does not clear the user login info?

    I'm logging in to a remote site with a 2 step login.  Authentication then citrix.  User info is not cleared in the authentication portion when I reset safari.  Must be stored somewhere else.  Where should I look?

  • Does java support file seeking operation?

    Just like MFC CFile::Seek or API seekp. What I want to do is to write on indicated position in the file.

  • How do i get drum kits to load in reason?

    i got the folder to show up to be loaded, but it won't load... how do i fix this?

  • Partial sync only

    When I sync my iTouch 2.2 to my iTunes Library, some of the Podcasts don't sync. All My Music syncs, and most Podcasts do, but some Podcasts don't. I subscribe to a number of NPR and BBC Podcasts which update regularly, and I'd like to get the update