Searched refs:from (Results 126 - 131 of 131) sorted by relevance

123456

/libcore/ojluni/src/test/java/time/tck/java/time/
H A DTCKLocalDateTime.java45 * may be used to endorse or promote products derived from this software
846 // from()
851 assertEquals(LocalDateTime.from(base), base);
852 assertEquals(LocalDateTime.from(ZonedDateTime.of(base, ZoneOffset.ofHours(2))), base);
857 LocalDateTime.from(LocalTime.of(12, 30));
862 LocalDateTime.from((TemporalAccessor) null);
/libcore/ojluni/src/test/java/time/test/java/time/format/
H A DTestDateTimeFormatterBuilder.java45 * may be used to endorse or promote products derived from this software
473 ZoneOffset parsed = f.parse(expected, ZoneOffset::from);
/libcore/xml/src/main/java/org/kxml2/io/
H A DKXmlParser.java1183 * Reads an entity reference from the buffer, resolves it, and writes the
1313 * This method returns all of the characters from the current position
1346 * Make sure we have at least a single character to read from the
1383 * We've encountered an unlucky character! Convert from fast
1554 * Make sure we have at least a single character to read from the
2134 * <p>The parser will return the characters {@code "def "} from the bar
/libcore/ojluni/src/main/java/java/util/
H A DGregorianCalendar.java84 * <code>GregorianCalendar</code> are historically accurate only from March 1, 4
98 * WEEK_OF_YEAR} field range from 1 to 53. The first week of a
102 * getMinimalDaysInFirstWeek()} days from that year. It thus depends
106 * (exclusive) are numbered sequentially from 2 to 52 or 53 (except
139 * <p>Values calculated for the <code>WEEK_OF_MONTH</code> field range from 0
335 * The epoch is the number of days or milliseconds from some defined
337 * milliseconds from January 1, 1970 (Gregorian), midnight UTC. Other
351 * leap years is irregular, being every 3 years from 45 BCE
352 * through 9 BCE, then every 4 years from 8 CE onwards, with no
365 * The sequence of years at the transition from <cod
3455 public static GregorianCalendar from(ZonedDateTime zdt) { method in class:GregorianCalendar
[all...]
H A DFormatter.java421 * style numeric time zone offset from GMT, e.g. {@code -0800}. This
864 * inserted by scanning the integer part of the string from least significant
1585 * that {@code 'p'} produces lower-case output. This is different from
1592 * style numeric time zone offset from GMT, e.g. {@code -0800}. This
4262 Instant instant = Instant.from(t);
4504 // duplicate declarations from Formattable.java
/libcore/luni/src/main/native/
H A Dlibcore_io_Linux.cpp98 * Perform a socket operation that specifies an IP address, possibly falling back from specifying
336 * Returns a jbyteArray containing the sockaddr_un.sun_path from ss. As per unix(7) sa_len should be
1944 sockaddr* from = (javaInetSocketAddress != NULL) ? reinterpret_cast<sockaddr*>(&ss) : NULL; local
1946 jint recvCount = NET_FAILURE_RETRY(env, ssize_t, recvfrom, javaFd, bytes.get() + byteOffset, byteCount, flags, from, fromLength);
2299 // Since -1 is a valid result from sysconf(3), detecting failure is a little more awkward.

Completed in 233 milliseconds

123456