Searched refs:strftime (Results 26 - 50 of 136) sorted by relevance

123456

/external/chromium_org/third_party/flot/
H A Djquery.flot.time.min.js9 */(function(e){function n(e,t){return t*Math.floor(e/t)}function r(e,t,n,r){if(typeof e.strftime=="function")return e.strftime(t);var i=function(e,t){return e=""+e,t=""+(t==null?"0":t),e.length==1?t+e:e},s=[],o=!1,u=e.getHours(),a=u<12;n==null&&(n=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]),r==null&&(r=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]);var f;u>12?f=u-12:u==0?f=12:f=u;for(var l=0;l<t.length;++l){var c=t.charAt(l);if(o){switch(c){case"a":c=""+r[e.getDay()];break;case"b":c=""+n[e.getMonth()];break;case"d":c=i(e.getDate());break;case"e":c=i(e.getDate()," ");break;case"h":case"H":c=i(u);break;case"I":c=i(f);break;case"l":c=i(f," ");break;case"m":c=i(e.getMonth()+1);break;case"M":c=i(e.getMinutes());break;case"q":c=""+(Math.floor(e.getMonth()/3)+1);break;case"S":c=i(e.getSeconds());break;case"y":c=i(e.getFullYear()%100);break;case"Y":c=""+e.getFullYear();break;case"p":c=a?"am":"pm";break;case"P":c=a?"AM":"PM";break;case"w":c=""+e.getDay()}s.push(c),o=!1}else c=="%"?o=!0:s.push(c)}return s.join("")}function i(e){function t(e,t,n,r){e[t]=function(){return n[r].apply(n,arguments)}}var n={date:e};e.strftime!=undefined&&t(n,"strftime",e,"strftime"),t(n,"getTime",e,"getTime"),t(n,"setTime",e,"setTime");var r=["Date","Day","FullYear","Hours","Mi (…)
/external/chromium_org/media/tools/layout_tests/
H A Dtest_expectations_history.py126 logs[i + 1].date).strftime('%Y-%m-%d %H:%M:%S'),
/external/chromium_org/third_party/icu/source/test/compat/
H A Dtzdate.c130 strftime(systime, sizeof(char) * 80, "%Y%m%d %I:%M %p", &ts);
/external/chromium_org/third_party/npapi/npspy/extern/nspr/
H A Dprwin16.h104 size_t (PR_CALLBACK *strftime)(char *s, size_t len, const char *fmt, const struct tm *p); member in struct:PRMethodCallbackStr
/external/icu/icu4c/source/test/compat/
H A Dtzdate.c130 strftime(systime, sizeof(char) * 80, "%Y%m%d %I:%M %p", &ts);
/external/ppp/pppd/plugins/rp-pppoe/
H A Ddebug.c103 strftime(timebuf, 256, "%H:%M:%S", lt);
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/
H A Dsunspider32 use POSIX qw(strftime);
123 my $timeString = strftime "%Y-%m-%d-%H.%M.%S", localtime $^T;
/external/chromium_org/third_party/icu/source/tools/toolutil/
H A Dwritesrc.c57 strftime(year, sizeof(year), "%Y", lt);
59 strftime(buffer, sizeof(buffer), "%Y-%m-%d", lt);
/external/icu/icu4c/source/tools/toolutil/
H A Dwritesrc.c57 strftime(year, sizeof(year), "%Y", lt);
59 strftime(buffer, sizeof(buffer), "%Y-%m-%d", lt);
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowTime.java216 Strftime strftime = new Strftime(format, Locale.getDefault());
217 strftime.setTimeZone(TimeZone.getTimeZone(time.timezone));
218 return strftime.format(new Date(toMillis(false)));
361 * @param origFormat the strftime-style formatting string
370 * Format the date according to the strftime-style string given in the constructor.
/external/chromium_org/third_party/libjingle/source/talk/xmpp/
H A Dpresenceouttask.cc148 strftime(output, ARRAY_SIZE(output), "%Y%m%dT%H:%M:%S", current_time);
/external/chromium_org/third_party/skia/src/xml/
H A DSkJS.cpp67 size_t strftime(char *strDest, size_t maxsize, const char *format, function
/external/chromium_org/tools/memory_inspector/memory_inspector/frontends/
H A Dbackground_tasks.py78 datetime_str = datetime.datetime.now().strftime('%Y-%m-%d_%H-%M')
/external/ipsec-tools/src/racoon/
H A Dplog.c114 len = strftime(p, reslen, "%Y-%m-%d %T: ", tm);
/external/libcxx/include/support/android/
H A Dlocale_bionic.h146 return strftime(s, max, format, tm);
/external/libpcap/lbl/
H A Dos-sunos4.h175 int strftime(char *, int, char *, struct tm *);
/external/lldb/test/
H A Dredo.py157 name = datetime.datetime.now().strftime("%Y-%m-%d-")
/external/skia/src/xml/
H A DSkJS.cpp67 size_t strftime(char *strDest, size_t maxsize, const char *format, function
/external/srec/portable/include/
H A Dptypes.h255 * LCHAR version of strftime()
257 #define LSTRFTIME strftime
/external/tcpdump/lbl/
H A Dos-sunos4.h175 int strftime(char *, int, char *, struct tm *);
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/controllers/
H A Dmanager_unittest.py139 timestamp = time.strftime("%Y-%m-%d-%H-%M-%S", time.localtime(port.host.filesystem.mtime('/tmp/layout-test-results/results.html')))
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/tool/bot/
H A Dcommitannouncer.py134 return time.strftime('[%x %X %Z]', time.localtime())
/external/chromium_org/third_party/google_appengine_cloudstorage/cloudstorage/
H A Dcommon.py363 dt_str = dt.strftime(_DT_FORMAT)
/external/chromium_org/third_party/skia/third_party/lua/src/
H A Dloslib.c24 ** list of valid conversion specifiers for the 'strftime' function
231 reslen = strftime(buff, sizeof(buff), cc, stm);
/external/chromium_org/tools/deep_memory_profiler/
H A Daccumulate.py181 data['snapshots'][index]['time']).strftime('%Y-%m-%d %H:%M:%S')

Completed in 716 milliseconds

123456