tracker issue : CF-3491695

select a category, or use search below
(searches all categories and all time range)
Title:

[ANeff] ER for: time support in cfschedule's exclude attribute

| View in Tracker

Status/Resolution/Reason: Closed/Deferred/EnhancementRequired

Reporter/Name(from Bugbase): Aaron Neff / Aaron Neff (Aaron Neff)

Created: 01/29/2013

Components: Scheduler

Versions: 10.0

Failure Type: Enhancement Request

Found In Build/Fixed In Build: Final /

Priority/Frequency: Trivial / Unknown

Locale/System: English / Platforms All

Vote Count: 0

Related Bugs:
CF-3336193 - Similar to


Currently cfschedule's exclude attribute doesn't support time. This causes unexpected problems: #3336193 and #3336197.

This ER is to request time support in cfschedule's exclude attribute.  Suggested formats:

1) <cfschedule exclude="#createDateTime(yyyy, m, d, h, m, s)#"
2) <cfschedule exclude="mm/dd/yyyy hh:mm:ss tt"

The exclude attribute also allows a list or array, so a list or array in these formats should also be allowed.

Implementing this ER will resolve #3336193 and #3336197.

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	3491695

External Customer Info:
External Company:  
External Customer Name: itisdesign
External Customer Email:

Attachments:

Comments:

Related Bug : CF-3336193 Please check before closing this bug (Comment added from ex-user id:vnigam)
Comment by Adobe D.
16478 | May 30, 2013 10:42:01 PM GMT
Uday, does quartz support excluding time? If it does, we should take it up.
Comment by Rupesh K.
16479 | August 21, 2013 11:59:59 PM GMT
If it's gonna take a formatted string as a value (it shouldn't, because that's just a suck practice to get involved in), it should take an *ISO* format string. Most people around the world DO NOT use mm/dd/yyyy. That is just a vagary of the States. And ISO dates are very specifically intended to be locale-agnostic. It should take an ARRAY of date objects. -- Adam
Comment by External U.
16480 | August 22, 2013 09:51:38 AM GMT
Quartz right now supports excluding dates and not time. Once they implement it, we will also
Comment by Uday O.
16481 | December 17, 2013 06:54:11 AM GMT
Have you raised a ticket with Quartz to get this implemented? Or was there an existing ticket and have you voted for it? And either way, what's the ticket number so we can track it / comment on it? Cheers. -- Adam
Comment by External U.
16482 | December 17, 2013 07:05:10 AM GMT
Um... hang on... From the Quartz docs @ http://quartz-scheduler.org/documentation/quartz-2.x/tutorials/tutorial-lesson-04 {quote} Notice that the parameters to these methods are of the long type. As you may guess, they are timestamps in millisecond format. This means that ***calendars can 'block out' sections of time as narrow as a millisecond*** {quote} My ***emphasis*** And here's someone asking how to do it, and an answer: http://stackoverflow.com/questions/6057808/exclude-time-blocks-on-particular-day-quartz-schedular Can you pls clarify, Uday? -- Adam
Comment by External U.
16483 | December 20, 2013 04:59:03 AM GMT
I have asked quartz people regarding this enhancement. I am waiting for reply from their side. They had suggested us to write a custom Calendar. From the forum pointed by Adam, it is clear that there is no direct way to implement this functionality. Anyways I will work on it and write a custom calendar if quartz does not provide it
Comment by Uday O.
16484 | January 06, 2014 12:51:04 AM GMT
So it's not a "third party limitation", it's a "lack of you guys being prepared to do the work 'limitation'". Don't blaem Quartz for you guys deciding not to implement this. It's just that you chose not to do anything about it. Which is "fine", but don't misrepresent the situation. -- Adam
Comment by External U.
16485 | February 27, 2014 10:11:07 PM GMT
Hi Uday, This issue bit me again. Has Quartz replied? Or is a custom calendar being created? I see it's been a couple months, so just wondered what the plan is. Adam, awesome research there! Thanks!, -Aaron
Comment by External U.
16486 | February 28, 2014 04:57:12 AM GMT
Adobe, A year has past since you asked Quartz for help. Has Quartz responded or is the custom calendar being created? Deferred until when? Until CF12? Thanks!, -Aaron
Comment by External U.
16487 | February 07, 2015 03:42:52 PM GMT
Hi Uday, It's been 4yrs (well, 4.5yr since I filed this). Are you still waiting on a response from Quartz?? Can someone please re-target this for Aether? Still waiting on cfschedule to support exclusion of time like Quartz does. Thanks!, -Aaron
Comment by Aaron N.
16488 | July 23, 2017 01:01:43 AM GMT