/external/snakeyaml/src/test/java/examples/jodatime/ |
MyBean.java | 18 import org.joda.time.DateTime; 22 private DateTime date; 32 public DateTime getDate() { 36 public void setDate(DateTime date) {
|
JodaTimeRepresenter.java | 20 import org.joda.time.DateTime; 26 multiRepresenters.put(DateTime.class, new RepresentJodaDateTime()); 32 DateTime date = (DateTime) data;
|
JodaTimeExampleTest.java | 23 import org.joda.time.DateTime; 37 DateTime time = new DateTime(timestamp, DateTimeZone.UTC); 47 DateTime time = (DateTime) yaml.load("2001-09-09T01:46:40Z"); 48 assertEquals(new DateTime(timestamp, DateTimeZone.UTC), time); 75 return new DateTime(date, DateTimeZone.UTC); 105 return new DateTime(date, DateTimeZone.UTC);
|
JodaTimeImplicitContructor.java | 20 import org.joda.time.DateTime; 37 return new DateTime(date, DateTimeZone.UTC);
|
JodaTimeFlowStylesTest.java | 23 import org.joda.time.DateTime; 45 DateTime etalon = new DateTime(timestamp, DateTimeZone.UTC); 96 "No String constructor found. Exception=org.joda.time.DateTime.<init>(java.lang.String)")); 120 DateTime etalon = new DateTime(timestamp, DateTimeZone.UTC); 146 return new DateTime(date, DateTimeZone.UTC);
|
/external/protobuf/src/google/protobuf/stubs/ |
time.h | 39 struct DateTime { 49 // negative to represent time before 1970-01-01) to DateTime. Returns false 52 bool LIBPROTOBUF_EXPORT SecondsToDateTime(int64 seconds, DateTime* time); 53 // Converts DateTime to a timestamp (seconds since 1970-01-01T00:00:00). 54 // Returns false if the DateTime is not valid or is not in the valid range. 55 bool LIBPROTOBUF_EXPORT DateTimeToSeconds(const DateTime& time, int64* seconds);
|
time.cc | 73 bool ValidateDateTime(const DateTime& time) { 91 int64 SecondsSinceCommonEra(const DateTime& time) { 211 bool SecondsToDateTime(int64 seconds, DateTime* time) { 215 // It's easier to calcuate the DateTime starting from 0001-01-01T00:00:00 256 bool DateTimeToSeconds(const DateTime& time, int64* seconds) { 272 DateTime time; 286 DateTime time;
|
time_test.cc | 41 // For DateTime, tests will mostly focuse on the date part because that's 44 DateTime time; 60 DateTime time; 82 DateTime start, end; 153 DateTime start, end;
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Test/ |
TestFastLexer.cs | 67 DateTime start = DateTime.Now; 76 return DateTime.Now - start; 81 DateTime start = DateTime.Now; 91 return DateTime.Now - start;
|
/external/skia/include/core/ |
SkTime.h | 22 struct DateTime { 35 static void GetDateTime(DateTime*);
|
SkDocument.h | 43 SkTime::DateTime fDateTime;
|
/libcore/ojluni/src/main/java/java/util/ |
Formatter.java | 523 * <td> <a href="http://www.w3.org/TR/NOTE-datetime">ISO 8601</a> [all...] |
/external/skia/src/core/ |
SkTime.cpp | 14 void SkTime::DateTime::toISO8601(SkString* dst) const { 31 void SkTime::GetDateTime(DateTime* dt) { 49 void SkTime::GetDateTime(DateTime* dt) {
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/ |
DateTimeField.java | 29 import org.apache.james.mime4j.field.datetime.DateTime; 30 import org.apache.james.mime4j.field.datetime.parser.ParseException; 62 date = DateTime.parse(body).getDate();
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/datetime/ |
DateTime.java | 20 package org.apache.james.mime4j.field.datetime; 22 import org.apache.james.mime4j.field.datetime.parser.DateTimeParser; 23 import org.apache.james.mime4j.field.datetime.parser.ParseException; 24 import org.apache.james.mime4j.field.datetime.parser.TokenMgrError; 32 public class DateTime { 42 public DateTime(String yearString, int month, int day, int hour, int minute, int second, int timeZone) { 119 public static DateTime parse(String dateString) throws ParseException {
|
/external/skia/tests/ |
Time.cpp | 13 SkTime::DateTime dateTime; 14 SkTime::GetDateTime(&dateTime); 20 if (dateTime.fYear < kMinimumSaneYear) { 23 static_cast<unsigned>(dateTime.fYear), 26 if (dateTime.fYear > kMaximumSaneYear) { 29 static_cast<unsigned>(dateTime.fYear), 33 REPORTER_ASSERT(r, dateTime.fMonth >= 1); 34 REPORTER_ASSERT(r, dateTime.fMonth <= 12); 36 REPORTER_ASSERT(r, dateTime.fDay >= 1) [all...] |
PDFMetadataAttributeTest.cpp | 14 SkTime::DateTime now;
|
/external/skia/samplecode/ |
SampleIdentityScale.cpp | 55 SkTime::DateTime time;
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/datetime/parser/ |
DateTimeParser.java | 17 package org.apache.james.mime4j.field.datetime.parser; 19 import org.apache.james.mime4j.field.datetime.DateTime; 115 final public DateTime parseLine() throws ParseException { 116 DateTime dt; 131 final public DateTime parseAll() throws ParseException { 132 DateTime dt; 139 final public DateTime date_time() throws ParseException { 158 {if (true) return new DateTime(
|
/external/lzma/CS/7zip/Compress/LzmaAlone/ |
LzmaBench.cs | 150 public System.DateTime Time;
156 Time = DateTime.UtcNow;
298 TimeSpan sp2 = DateTime.UtcNow - progressInfo.Time;
313 System.DateTime startTime = DateTime.UtcNow;
315 TimeSpan sp = (DateTime.UtcNow - startTime);
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_xmlrpc.py | 2 import datetime
37 'datetime1': xmlrpclib.DateTime('20050210T11:41:23'),
38 'datetime2': xmlrpclib.DateTime(
40 'datetime3': xmlrpclib.DateTime(
41 datetime.datetime(2005, 02, 10, 11, 41, 23)),
51 # This checks that an unwrapped datetime.date object can be handled
54 # datetime objects for the 'datetime[123]' keys as well
55 dt = datetime.datetime(2005, 02, 10, 11, 41, 23) [all...] |
/external/python/cpython2/Lib/test/ |
test_xmlrpc.py | 2 import datetime 33 'datetime1': xmlrpclib.DateTime('20050210T11:41:23'), 34 'datetime2': xmlrpclib.DateTime( 36 'datetime3': xmlrpclib.DateTime( 37 datetime.datetime(2005, 02, 10, 11, 41, 23)), 53 # This checks that an unwrapped datetime.date object can be handled 56 # datetime objects for the 'datetime[123]' keys as well 57 dt = datetime.datetime(2005, 02, 10, 11, 41, 23 [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_xmlrpc.py | 2 import datetime 37 'datetime1': xmlrpclib.DateTime('20050210T11:41:23'), 38 'datetime2': xmlrpclib.DateTime( 40 'datetime3': xmlrpclib.DateTime( 41 datetime.datetime(2005, 02, 10, 11, 41, 23)), 51 # This checks that an unwrapped datetime.date object can be handled 54 # datetime objects for the 'datetime[123]' keys as well 55 dt = datetime.datetime(2005, 02, 10, 11, 41, 23 [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_xmlrpc.py | 2 import datetime 37 'datetime1': xmlrpclib.DateTime('20050210T11:41:23'), 38 'datetime2': xmlrpclib.DateTime( 40 'datetime3': xmlrpclib.DateTime( 41 datetime.datetime(2005, 02, 10, 11, 41, 23)), 51 # This checks that an unwrapped datetime.date object can be handled 54 # datetime objects for the 'datetime[123]' keys as well 55 dt = datetime.datetime(2005, 02, 10, 11, 41, 23 [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_xmlrpc.py | 2 import datetime 37 'datetime1': xmlrpclib.DateTime('20050210T11:41:23'), 38 'datetime2': xmlrpclib.DateTime( 40 'datetime3': xmlrpclib.DateTime( 41 datetime.datetime(2005, 02, 10, 11, 41, 23)), 51 # This checks that an unwrapped datetime.date object can be handled 54 # datetime objects for the 'datetime[123]' keys as well 55 dt = datetime.datetime(2005, 02, 10, 11, 41, 23 [all...] |