Looking for a duration / scheduling API

I was not sure how to even search for this on Google. Java duration and java scheduling turned up too many results and were not really what I was looking for. I also looked at joda-time, but they do not provide this functionality either.
Basically, I am looking for a DSL parser that will work for durations specified as:
Two weeks
Quarterly
Until the end of the year
etc.
And also to handle scheduling specified as:
Next Friday
Two months from now
Last year
etc.
Anyone know of something on sourceforge or something similar that can do the above? It would not be hard to write a DSL parser for the above, but I figured if one already existed, then why not use that.
Thanks!
- Saish

Ah, OK, Domain-Specific Language... you want to express durations and schedules in plain text, not actually schedule the events, right?
Then my former post is completely off-base, sorry (to my defense, your title is misleading then)...
I did not delete it though, in case you plan to actually implement the scheduling of what is expressed in the DSL :o)
Edited by: jduprez on Oct 14, 2009 7:43 PM

Similar Messages

  • Looking for experience of QuickTime API for Windows

    Hello,
    I have an application which calls the QuickTime JAVA API provided by Apple.
    Every time I'm trying to update to a new QuickTime version (for example to QT 7.6.1), I got compatibility problems.
    It seems the API have not been changed since 2003.
    Is there an alternate way that to connect to QT from the Apple java API ?
    Is there a good soul around there to share his/her experience with me ?
    Thanks
    Gege

    You should ask your questions on the Quicktime Java API mailing list:
    http://lists.apple.com/mailman/listinfo/quicktime-java
    Though it is almost equally unsupported by its originators as JMF, QTJ does work for 90% of what it promises rather than just 10. I'm sure people on the mentioned list can help you out. Usually mpg - and millions of other formats - work just fine in Quicktime java.
    nils

  • Looking for documentation of scheduling agreement

    Dear friends,
    Please kindly let me know if you know where to find the documentation of business process documentation of Scheduling agreement(SA)..
    Also,,Can a PO created reference the SA?
    As I realized that SA could be shown on MD04 a after source list to it..if I am able to create a PO reference SA, Could PO replace SA on MD04?
    Your advice will be deeply appreciated,
    Thanks,
    Linda

    Hi
    Refer the below link for documentation on SA
    http://help.sap.com/saphelp_erp60_sp/helpdata/en/75/ee1fa755c811d189900000e8322d00/frameset.htm
    Check the below link also
    http://www.sap-img.com/materials/what-is-outline-and-scheduling-agreement.htm
    Thanks !
    E.Avudaiappan

  • Looking for tree drawing API

    Hello
    I made a k-children tree algorithm in Java. Now I'm looking for a ready-made API/classes for drawing the tree.
    Anyone knows any good tree drawing APIs?
    I searched google for hours and couldn't find anything.
    Thank you

    Here are some links that you may find usefull:
    An interactive canvas component where you can paint any shapes:
    https://jcanvas.dev.java.net/
    A graph library:
    http://jung.sourceforge.net/
    Another graph library:
    http://graph.netbeans.org/

  • Looking for pure Java API to read metadata from an MP4 file.

    Hi, I am looking for a pure Java api that can read MP4 metadata. I have been trying to look online for one but have not found anything
    suitable. If there are no good api's, can someone point me to resources on how to parse metadata from an MP4, tutorials would be great
    as well. I have looked online for that as well but have not found much. Any help would be greatly appreciated.

    Cross posted
    http://www.java-forums.org/new-java/59652-looking-pure-java-api-read-metadata-mp4-file.html
    http://www.coderanch.com/t/580833/Streams/java/Looking-pure-Java-API-read
    http://stackoverflow.com/questions/10568588/looking-for-pure-java-api-to-read-metadata-from-an-mp4-file
    db

  • Looking for api hooks w/o invoking server

    hi there,
    i'm are looking into the automated conversion of millions of pdf's from version 1.0 to 1.4 A/1-b. i am evaluating multiple ways to do this, and i have no prior experience with livecycle, but i am an experienced programmer. most of these pdf's are quite large (some gigabytes in size) and so i'm looking for a way to use the api without having to invoke a service over the network.
    i have looked into watched folders, and this maybe the way to go, but i'm really hoping for hooks into an api that basically allows me to open a pdf in place, manipulate it (add, change or remove some parts such as xmp, creator, document id, etc), and then save it as pdf A\1-b.
    are there any such hooks in the api? if not, would i need to build a custom service that did the above, and then invoke over the network, or have it watch a folder?
    basically, i hoping to not to have to use the lc es server.
    any thoughts/help is appreciated!

    please forgive some of my gramatical errors... typing to slow for my thoughts :-)

  • Looking for  beep(frequency,duration) class method

    These 2 last days, I had already posted topics about this subject , but I was certainly not very clear in the topic header. (or even about what I was really looking for).
    Is there a package somewhere I can download which contains a class with a beep method to fire a sound at a particular frequency and for a specified duration ?
    System.beep() does not allow to change the frequency.
    Thanks

    "nd on a google search gives http://www.developer.com/java/other/article.php/2226701#Complete%20Program%20Listings which containes more than you need. You will have to extract the bits you need and say thanks to Richard Baldwin.

  • API error: Element link does not exist for the duration of the entry

    I am trying to create an element using the API_PAY_ELEMENT_ENTRY.CREATE_ELEMENT_ENTRY API
    While I am able to create many elements for years this way, for one particular non-recurring element I get the following error
    ORA-20001: Element link does not exist for the duration of the entry
    Cause: The link has been purged or date effectively deleted.
    Action: Check the effective start and end dates on the link definitions for this element.
    I have checked evertything and the Link is defined far before my element entry starts and with no end date. The assignment I want to attach this element entry is perfectly eligible.
    The weirdest is that I am able to create this element entry with the values I want and the dates I want through standard User interface...
    Any idea?
    Message was edited by:
    briard

    Here are the parameters I use in my call.
    DECLARE
    L_EFFECTIVE_START_DATE DATE;
    L_EFFECTIVE_END_DATE DATE;
    L_ELEMENT_ENTRY_ID NUMBER;
    L_OBJECT_VERSION_NUMBER NUMBER;
    L_WARNING BOOLEAN;
    BEGIN
    APPS.PAY_ELEMENT_ENTRY_API.CREATE_ELEMENT_ENTRY(
    P_EFFECTIVE_DATE => TO_DATE('01-JUL-2008','DD-MON-YYYY'),
    P_BUSINESS_GROUP_ID => 1,
    P_ASSIGNMENT_ID => 122147
    P_ELEMENT_LINK_ID => 233,
    P_ENTRY_TYPE => 'E',
    P_INPUT_VALUE_ID1 => 313,
    P_ENTRY_VALUE1 => 'T',
    P_INPUT_VALUE_ID2 => 314,
    P_ENTRY_VALUE2 => '5',
    -- out params
    P_EFFECTIVE_START_DATE => L_EFFECTIVE_START_DATE,
    P_EFFECTIVE_END_DATE => L_EFFECTIVE_END_DATE,
    P_ELEMENT_ENTRY_ID => L_ELEMENT_ENTRY_ID,
    P_OBJECT_VERSION_NUMBER => L_OBJECT_VERSION_NUMBER,
    P_CREATE_WARNING => L_WARNING);
    END;
    François

  • I am looking  for a DW API hook

    Like _beforeSave, is there a DW API hook akin to
    _beforePreview (before
    previewing in a browser the page currently open in the Design
    Window)?
    btw, "_beforePreview" does not seem to work, but I am hoping
    there is
    some other term they chose for this.
    Anyone know?
    E. Michael Brandt
    www.divaHTML.com
    divaGPS | divaFAQ
    www.valleywebdesigns.com
    JustSo PictureWindow

    Awe, Michael .. now I'm blushing .. you're soo sweet! :)
    Nancy
    "E Michael Brandt" <[email protected]> wrote
    in message
    news:f7lj4p$fpl$[email protected]..
    > Just for all to know, Nancy has been really helpful, and
    I'd like to thank
    > her publicly here. Hoorah Nancy Gill.
    >
    > Just fyi, we found no reference anywhere to the API hook
    I am looking for.
    > So if anyone else has a source for this info?
    >
    > --
    >
    > E. Michael Brandt
    >
    > www.divaHTML.com
    > divaGPS | divaFAQ
    >
    > www.valleywebdesigns.com
    > JustSo PictureWindow
    >
    > --
    >
    >
    > Nancy - Adobe Comm. Expert wrote:
    >> hmm .. I found something that may help and wrote you
    offlist. :)
    >>
    >> Nancy
    >>
    >> "E Michael Brandt"
    <[email protected]> wrote in message
    >> news:f7jnoi$gb1$[email protected]..
    >>> Thanks. I've looked everywhere. There used to be
    a great online
    >>> article on "undocumented DW api" calls, by paul
    boon? but I can no
    >>> longer find anything like it by googling. It
    described _beforeSave etc
    >>> and might have revealed something like
    _beforePreview.
    >>>
    >>> emichael
    >>>
    >>>
    >>>
    >>> Nancy - Adobe Comm. Expert wrote:
    >>>> Hey Michael ..
    >>>>
    >>>> did you look here?
    >>>>
    >>>>
    http://livedocs.adobe.com/en_US/Dreamweaver/9.0_API/help.html?content=dwr_intro_api_in_05. html
    >>>>
    >>>> There was a humungo book for DW8 by MM Press
    .. I have no idea if Adobe
    >>>> did similar for CS3. Sorry.
    >>>>
    >>>>
    >>>
    >>> --
    >>>
    >>> E. Michael Brandt
    >>>
    >>> www.divaHTML.com
    >>> divaGPS | divaFAQ
    >>>
    >>> www.valleywebdesigns.com
    >>> JustSo PictureWindow
    >>>
    >>> --
    >>

  • W7 64 Home: Task Scheduler looking for remote computer, can't defrag.

    Needed to defragment HD, went to task scheduler, found that it is looking for a remote computer and options to schedule tasks are grayed out.
    The option in the right panel for the local computer was selected (there are no "apply" buttons or such).  Closed Task Scheduler, reopened, found that it is still looking for a remote computer, options to schedule tasks still grayed out.
    Logged in as Admin. Not on a network.
    Thank you

    In Windows 7, Disk Defragmenter runs at regular intervals when your computer is turned on, so you don't have to remember to run it. It's scheduled to run once a week at an early hour in the morning. However, you can change how often Disk Defragmenter runs,
    and at what time of the day.
    Open Disk Defragmenter by clicking the Start button .
    In the search box, type Disk Defragmenter, and then, in the list of results, click Disk
    Defragmenter.‌  If you're
    prompted for an administrator password or confirmation, type the password or provide confirmation.
    Click Configure schedule, and then do one of the following:
    To change how often Disk Defragmenter runs, click the menu next to Frequency, and then click Daily, Weekly,
    orMonthly.
    If you set the frequency to Weekly or Monthly,
    click the menu next to Day to choose the day of the week or month that you want Disk Defragmenter to run.
    To change the time of day when Disk Defragmenter runs, click the menu next to Time, and then choose a time.
    To change the volumes that are scheduled to be defragmented, click Select disks, and then follow the instructions.
    Click OK.
    Arnav Sharma | http://arnavsharma.net/ Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading
    the thread.

  • Looking for original Soucecode from JAAS - API (jaas.jar)

    Hello,
    have someone the original code PolicyFile.java and PolicyParser.java
    from the JAAS?
    The compiled class are in com.sun.security.auth , but I need the uncompiled
    class in java source.
    I would like to make my own MyPolicyFile-Class for the JAAS.
    I need a custom Policy Class for the JAAS.
    So, that I can set in java.security
    auth.policy.provider=com.myfile.security.auth.MyPolicyFile
    Where can I get the java PolicyFile Class for JAAS ?
    Can someone send me the source, please ?
    Can you help me ?
    Greetings, jens
    [email protected]

    I believe the original source code is available from the sun site (at least the 1.2.2 version was).....dont remember the URL - but start with Products & API link and look for JAAS

  • Looking for Unified Messaging API

    Hello everyone,
    In one of our projects, we are going to monitor a software system and send notifications to users. User can set their prefereences about which messages they like to receive into which outbound channels.
    We would like the notifications to be sent through a "unified messaging system" which has a cnetral control to many channels, e.g., email, sms, screen, instant massager..., etc.
    I wonder if there are some "unified messaging system" in java that could help us.
    Thanks a lot in advance!

              Look at the URL:
              http://www.servlets.com/cos/index.html
              Regards,
              Jacob Nikom
              "Vladan TUTUNOVIC" <[email protected]> wrote:
              >Hi all,
              >
              >I'm looking for an existing API or classes that would allow me to deal
              >with
              >any kind of uploaded files...
              >(multipart/form-data and so on...)
              >Can somebody help ?????
              >
              >Best regards
              >
              >VLADAN.
              >
              >
              

  • We are looking for VPN API for iOS, any help

    we are looking for VPN API for iOS, any help

    Greetings from another victim!  We are all suffered from HP's poor support of HD 7690M XT... I guess you are talking about Diablo3, right?  With original HP driver, my switchable card can't even function well, so I followed the suggestions from another thred on this forum, update the driver to CCC 12.2 preview.   I ran Diablo3beta on my laptop with CCC 12.2 preview; I could only reach FPS of around 30 on maximum display quality ( my scrren resolution is Full HD).   ( I believe this card is capable of hitting much better FPS if it got a decent driver.)
    Also because my FPS would drop to less than 10 suddenly in games for no reason, I decided  to switch to unofficial driver, Leshcat, together with MSI Afterburner.  Doing this improve the performance significantly, FPS hits around 45.   Nevertheless my graphic card still freezes out sometimes, and I would blame this problem to the driver.   If HP could come up with a new, working driver, I think all the mysterious problems will disappear.
    Unfortunately HP is just deaf to all the complaints from the owners of this graphic card.   
    We are now orphans forgotten by HP...
    PLEASE UPDATE THE DRIVER FOR HD 7690M XT GRAPHIC CARD !!!!!

  • Are you looking for the GP APIs for NW04s SP7? I've got them.

    For those who are looking for the GP APIs for local development of webdynpro and background callable object with GP interface, I've got them and will submit a how-to to SDN if needed.
    Just post your interest under this post and mention which SP (SP7 or below) you'd like them. Thanks, Andre

    Wish granted. Here is the SDN link to the how-to document which include reference to the downloadable APIs. Enjoy!
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f7be53bb-0b01-0010-1c96-be3cb6799c1b
    I've got a blog entry referencing that how-to link as well /people/andre.truong/blog/2006/06/26/working-with-the-apis-of-caf-guided-procedures-nwdi-or-local-development
    Post comments there if you got any. Thanks, Andre

  • Look for APIs or editor to update LDT files to avoid editing file directly

    I have used FNDLOAD to import/export ldt files, but I am looking for APIs or "editor" to avoid editing the LDT file directly. Mainly need to customize program name, request group name, etc. for multi clients. Any ideas? thanks!

    Harm,
    thanks for your comment.
    Your understanding  was absolutely right.
    Sorry my mistake its QNAP 639 PRO, populated with 5 1TB, one is empty.
    So for my understanding, in my configuration you suggest NOT to use RAID-0. Im not willing to have more drives in my workstation becouse if my projekts are finished, i archiv on QNAP or archiv on other external drive.
    My only intention is to have as much speed and as much performance as possible during developing a projekt 
    BTW QNAP i also use as media-center in combination with Sony PS3 to run the encoded files.
    For my final understanding:
    C:  i understand
    D: i understand
    E and F: does it mean, when i create a projekt on E, all my captured and project-used MPEG - files should be situated in F?  Or which media in F you mean?
    Following your suggestions in want to rebulid Harms-Best Vista64-Benchmark comp to reach maximum speed and performance. Can i use in general the those hardware components (exept so many HD drives and exept Areca raid controller ) in my drive configuration C to F. Or would you suggest some changings in my situation?

Maybe you are looking for

  • How to show script menu in numbers.

    I just bought from AppleStore the Numbers aplication and I am not able to get the script menu to show up in numbers. Script menu is already selected in Editor Applescript and in fact the menu shows up in ALL other applications like iCalc, Safari, Fin

  • Verity spider and custom fields

    Has anyone customized the verity spider so that it populates the custom fields (custom1 through 4) or been able to add other colums (especially a date) to the result set that is returned from cfsearch. I can populate the collections with the spider b

  • Oracle Database 10g Express Edition versus Standard/Enterprise Edition

    Hi I couldn't find in the documentation of the Oracle 10g express edition what are the technical limitation of the DB. Is the express edition has maximum capasity? other limitation? Thanks

  • Problems getting emails with WRT54GS2

    I just replaced my wireless-G router with the WRT54GS2.  I was having problems with connection with my previous router (after 3 years).  When I connected the new router, I have internet connection working again, but I cannot get Outlook and Outlook E

  • Programmatically refresh components inside a specific row of an af:table

    How to programmatically refresh components inside a specific row of an af:table without refreshing the whole table ?_ I have an af:table displaying a read-only view object. There is an edit button inside the table calling an af:popup, where the user