/external/chromium_org/third_party/flot/ |
H A D | jquery.flot.time.min.js | 9 */(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 D | test_expectations_history.py | 126 logs[i + 1].date).strftime('%Y-%m-%d %H:%M:%S'),
|
/external/chromium_org/third_party/icu/source/test/compat/ |
H A D | tzdate.c | 130 strftime(systime, sizeof(char) * 80, "%Y%m%d %I:%M %p", &ts);
|
/external/chromium_org/third_party/npapi/npspy/extern/nspr/ |
H A D | prwin16.h | 104 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 D | tzdate.c | 130 strftime(systime, sizeof(char) * 80, "%Y%m%d %I:%M %p", &ts);
|
/external/ppp/pppd/plugins/rp-pppoe/ |
H A D | debug.c | 103 strftime(timebuf, 256, "%H:%M:%S", lt);
|
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/ |
H A D | sunspider | 32 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 D | writesrc.c | 57 strftime(year, sizeof(year), "%Y", lt); 59 strftime(buffer, sizeof(buffer), "%Y-%m-%d", lt);
|
/external/icu/icu4c/source/tools/toolutil/ |
H A D | writesrc.c | 57 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 D | ShadowTime.java | 216 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 D | presenceouttask.cc | 148 strftime(output, ARRAY_SIZE(output), "%Y%m%dT%H:%M:%S", current_time);
|
/external/chromium_org/third_party/skia/src/xml/ |
H A D | SkJS.cpp | 67 size_t strftime(char *strDest, size_t maxsize, const char *format, function
|
/external/chromium_org/tools/memory_inspector/memory_inspector/frontends/ |
H A D | background_tasks.py | 78 datetime_str = datetime.datetime.now().strftime('%Y-%m-%d_%H-%M')
|
/external/ipsec-tools/src/racoon/ |
H A D | plog.c | 114 len = strftime(p, reslen, "%Y-%m-%d %T: ", tm);
|
/external/libcxx/include/support/android/ |
H A D | locale_bionic.h | 146 return strftime(s, max, format, tm);
|
/external/libpcap/lbl/ |
H A D | os-sunos4.h | 175 int strftime(char *, int, char *, struct tm *);
|
/external/lldb/test/ |
H A D | redo.py | 157 name = datetime.datetime.now().strftime("%Y-%m-%d-")
|
/external/skia/src/xml/ |
H A D | SkJS.cpp | 67 size_t strftime(char *strDest, size_t maxsize, const char *format, function
|
/external/srec/portable/include/ |
H A D | ptypes.h | 255 * LCHAR version of strftime() 257 #define LSTRFTIME strftime
|
/external/tcpdump/lbl/ |
H A D | os-sunos4.h | 175 int strftime(char *, int, char *, struct tm *);
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/controllers/ |
H A D | manager_unittest.py | 139 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 D | commitannouncer.py | 134 return time.strftime('[%x %X %Z]', time.localtime())
|
/external/chromium_org/third_party/google_appengine_cloudstorage/cloudstorage/ |
H A D | common.py | 363 dt_str = dt.strftime(_DT_FORMAT)
|
/external/chromium_org/third_party/skia/third_party/lua/src/ |
H A D | loslib.c | 24 ** 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 D | accumulate.py | 181 data['snapshots'][index]['time']).strftime('%Y-%m-%d %H:%M:%S')
|