Search completed in 1.28 seconds.
11 results for "startDate":
calICalendarView - Archive of obsolete content
ArchiveMozillacallCalendarView
interface code [scriptable, uuid(3e567ccb-2ecf-4f59-b7ca-bf42b0fbf24a)] interface calicalendarview : nsisupports { attribute calicalendar displaycalender; attribute calicalendarviewcontroller controller; void showdate(in calidatetime adate); void setdaterange(in calidatetime astartdate, in calidatetime aenddate); readonly attribute calidatetime startdate; readonly attribute calidatetime enddate; readonly attribute boolean supportsdisjointdates; readonly attribute boolean hasdisjointdates; void setdatelist(in unsigned long acount, [array,size_is(acount)] in calidatetime adates); void getdatelist(out unsigned long acount, [array,size_is(acount),retval] out calidatet...
... startdate returns a calidatetime corresponding to the first date shown by the view enddate returns a calidatetime corresponding to the last date shown by the view.
... hasdisjointdates returns false if the dates being displayed represent a continuous list, and true if certain dates in between startdate and enddate may not be displayed.
...And 2 more matches
calICalendarViewController - Archive of obsolete content
ArchiveMozillacallCalendarViewController
equals(components.interfaces.nsisupports)) { throw components.results.ns_error_no_interface; } return this; }, createnewevent: function (acalendar, astarttime, aendtime) { // if we're given both times, skip the dialog if (astarttime && aendtime && !astarttime.isdate && !aendtime.isdate) { var event = createevent(); event.startdate = astarttime; event.enddate = aendtime; event.title = "new event"; acalendar.additem(event, null); } else if (astarttime && astarttime.isdate) { var event = createevent(); event.startdate = astarttime; acalendar.additem(event, null); } else { createeventwithdialog(acalendar, astarttime, aendtime); ...
...just the time changed), // then do so; otherwise pop up the dialog if (anewstarttime && anewendtime && !anewstarttime.isdate && !anewendtime.isdate) { var instance = aoccurrence.clone(); instance.startdate = anewstarttime; instance.enddate = anewendtime; instance.calendar.modifyitem(instance, aoccurrence, null); } else { modifyeventwithdialog(aoccurrence); } }, deleteoccurrence: function (aoccurrence) { if (aoccurrence.parentitem != aoccurrence) { var event = aoccurrence.parentitem.clone(); event.recurrenceinfo.removeoccurr...
Third-party APIs - Learn web development
LearnJavaScriptClient-side web APIsThird party APIs
ch() and fetchresults() function definitions, below the previous line: function submitsearch(e) { pagenumber = 0; fetchresults(e); } function fetchresults(e) { // use preventdefault() to stop the form submitting e.preventdefault(); // assemble the full url url = baseurl + '?api-key=' + key + '&page=' + pagenumber + '&q=' + searchterm.value + '&fq=document_type:("article")'; if(startdate.value !== '') { url += '&begin_date=' + startdate.value; }; if(enddate.value !== '') { url += '&end_date=' + enddate.value; }; } submitsearch() sets the page number back to 0 to begin with, then calls fetchresults().
... next, we use a couple of if() statements to check whether the startdate and enddate <input>s have had values filled in on them.
nsIMsgDatabase
MozillaTechXPCOMReferenceInterfacensIMsgDatabase
void markreadbydate(in prtime startdate, in prtime enddate, in nsmsgkeyarrayptr markedids); native code only!
... in nsidbchangelistener instigator); isread() boolean isread(in nsmsgkey key); isignored() boolean isignored(in nsmsgkey key); ismarked() boolean ismarked(in nsmsgkey key); hasattachments() boolean hasattachments(in nsmsgkey key); markallread() [noscript] void markallread(in nsmsgkeyarrayptr thosemarked); markreadbydate() [noscript] void markreadbydate (in prtime startdate, in prtime enddate, in nsmsgkeyarrayptr markedids); deletemessages() [noscript] void deletemessages(in nsmsgkeyarrayptr nsmsgkeys, in nsidbchangelistener instigator); deletemessage() void deletemessage(in nsmsgkey key, in nsidbchangelistener instigator, in ...
itemtype - HTML: Hypertext Markup Language
WebHTMLGlobal attributesitemtype
for example, musicevent indicates a concert performance, with startdate and location properties specifying the concert's key details.
... in this case, musicevent would be the url used by itemtype, with startdate and location as itemprop's which musicevent defines.
Microdata - HTML: Hypertext Markup Language
WebHTMLMicrodata
this vocabulary defines a standard set of type names and property names, for example, schema.org music event indicates a concert performance, with startdate and location properties to specify the concert's key details.
... in this case, schema.org music event would be the url used by itemtype and startdate and location would be itemprop's that schema.org music event defines.
Places Developer Guide
MozillaTechPlacesPlaces Developer Guide
istory browserhistory.removepage(oururi); // remove all visits for multiple urls from history var uristodelete = [oururi]; // will call nsinavhistoryobserver.onbeginupdatebatch/onendupdatebatch var donotify = false; browserhistory.removepages(uristodelete, uristodelete.length, donotify); // remove all visits within a given time period var enddate = date.now() * 1000; // now, in microseconds var startdate = enddate - (7 * 86400 * 1000 * 1000); // one week ago, in microseconds browserhistory.removepagesbytimeframe(startdate, enddate); // remove all pages for a given host var entiredomain = true; // will delete from all hosts from the given domain browserhistory.removepagesfromhost("mozilla.com", true); // remove all history visits browserhistory.removeallpages(); querying history the code sample b...
<audio>: The Embed Audio element - HTML: Hypertext Markup Language
WebHTMLElementaudio
the getstartdate() method can be used to determine the beginning point of the media timeline's reference frame.
<video>: The Video Embed element - HTML: Hypertext Markup Language
WebHTMLElementvideo
the getstartdate() method can be used to determine the beginning point of the media timeline's reference frame.
Intl.DateTimeFormat.prototype.formatRange() - JavaScript
WebJavaScriptReferenceGlobal ObjectsIntlDateTimeFormatformatRange
syntax intl.datetimeformat.prototype.formatrange(startdate, enddate) examples basic formatrange usage this method receives two dates and formats the date range in the most concise way based on the locale and options provided when instantiating intl.datetimeformat.
Intl.DateTimeFormat.prototype.formatRangeToParts() - JavaScript
WebJavaScriptReferenceGlobal ObjectsIntlDateTimeFormatformatRangeToParts
syntax intl.datetimeformat.prototype.formatrangetoparts(startdate, enddate) examples basic formatrangetoparts usage this method receives two dates and returns an array of objects containing the locale-specific tokens representing each part of the formatted date range.