/libcore/luni/src/test/java/libcore/java/util/ |
H A D | OldTreeMapTest.java | 21 import java.text.CollationKey; 22 import java.text.Collator;
|
H A D | SimpleTimeZoneTest.java | 19 import java.text.SimpleDateFormat;
|
H A D | LocaleTest.java | 26 import java.text.BreakIterator; 27 import java.text.Collator; 28 import java.text.DateFormat; 29 import java.text.DateFormatSymbols; 30 import java.text.DecimalFormatSymbols; 31 import java.text.NumberFormat;
|
/libcore/ojluni/src/main/java/java/time/ |
H A D | Instant.java | 378 * Obtains an instance of {@code Instant} from a text string such as 384 * @param text the text to parse, not null 386 * @throws DateTimeParseException if the text cannot be parsed 388 public static Instant parse(final CharSequence text) { argument 389 return DateTimeFormatter.ISO_INSTANT.parse(text, Instant::from);
|
H A D | LocalDate.java | 369 * Obtains an instance of {@code LocalDate} from a text string such as {@code 2007-12-03}. 374 * @param text the text to parse such as "2007-12-03", not null 376 * @throws DateTimeParseException if the text cannot be parsed 378 public static LocalDate parse(CharSequence text) { argument 379 return parse(text, DateTimeFormatter.ISO_LOCAL_DATE); 383 * Obtains an instance of {@code LocalDate} from a text string using a specific formatter. 385 * The text is parsed using the formatter, returning a date. 387 * @param text the text t 392 parse(CharSequence text, DateTimeFormatter formatter) argument [all...] |
H A D | LocalDateTime.java | 461 * Obtains an instance of {@code LocalDateTime} from a text string such as {@code 2007-12-03T10:15:30}. 466 * @param text the text to parse such as "2007-12-03T10:15:30", not null 468 * @throws DateTimeParseException if the text cannot be parsed 470 public static LocalDateTime parse(CharSequence text) { argument 471 return parse(text, DateTimeFormatter.ISO_LOCAL_DATE_TIME); 475 * Obtains an instance of {@code LocalDateTime} from a text string using a specific formatter. 477 * The text is parsed using the formatter, returning a date-time. 479 * @param text the text t 484 parse(CharSequence text, DateTimeFormatter formatter) argument [all...] |
H A D | ZonedDateTime.java | 565 * Obtains an instance of {@code ZonedDateTime} from a text string such as 571 * @param text the text to parse such as "2007-12-03T10:15:30+01:00[Europe/Paris]", not null 573 * @throws DateTimeParseException if the text cannot be parsed 575 public static ZonedDateTime parse(CharSequence text) { argument 576 return parse(text, DateTimeFormatter.ISO_ZONED_DATE_TIME); 580 * Obtains an instance of {@code ZonedDateTime} from a text string using a specific formatter. 582 * The text is parsed using the formatter, returning a date-time. 584 * @param text the text t 589 parse(CharSequence text, DateTimeFormatter formatter) argument [all...] |
/libcore/libart/src/main/java/java/lang/ |
H A D | CaseMapper.java | 19 import android.icu.text.Transliterator;
|
/libcore/ojluni/src/main/java/java/text/ |
H A D | DateFormat.java | 40 package java.text; 56 * formatting (i.e., date → text), parsing (text → date), and 278 * @return the string buffer passed in as toAppendTo, with formatted text appended. 283 * example, given a time text "1996.07.10 AD at 15:08:56 PDT", 295 * @see java.text.Format 317 * example, given a time text "1996.07.10 AD at 15:08:56 PDT", 329 * @return the string buffer passed in as toAppendTo, with formatted text appended. 346 * Parses text from the beginning of the given string to produce a date. 347 * The method may not use the entire text o [all...] |
H A D | MergeCollation.java | 39 package java.text;
|
H A D | MessageFormat.java | 40 package java.text; 45 import java.text.DecimalFormat; 760 * The text substituted for the individual format elements is derived from 767 * <table border=1 summary="Examples of subformat,argument,and formatted text"> 813 * @param result where text is appended. 817 * text appended 832 * <code>(new {@link #MessageFormat(String) MessageFormat}(pattern)).{@link #format(java.lang.Object[], java.lang.StringBuffer, java.text.FieldPosition) format}(arguments, new StringBuffer(), null).toString()</code> 855 * <code>{@link #format(java.lang.Object[], java.lang.StringBuffer, java.text.FieldPosition) format}((Object[]) arguments, result, pos)</code> 859 * @param result where text is appended. 880 * The text o [all...] |
H A D | NumberFormat.java | 40 package java.text; 161 * (desiredPixelWidth - widthToAlignmentPoint) before drawing the text. 185 * @see java.text.FieldPosition 192 * @see java.text.FieldPosition 204 * Formats a number and appends the resulting text to the given string 215 * {@link #format(long,java.lang.StringBuffer,java.text.FieldPosition)} 216 * or {@link #format(double,java.lang.StringBuffer,java.text.FieldPosition)}. 221 * text is to be appended 231 * @see java.text.FieldPosition 251 * Parses text fro [all...] |
/libcore/ojluni/src/main/java/java/time/temporal/ |
H A D | ChronoField.java | 59 import android.icu.text.DateTimePatternGenerator;
|
/libcore/ojluni/src/main/java/sun/util/locale/provider/ |
H A D | CalendarDataUtility.java | 28 import android.icu.text.DateFormatSymbols; 232 // See android.icu.text.DateFormatSymbols.CALENDAR_CLASSES for reference.
|
/libcore/ |
H A D | openjdk_java_files.mk | 740 ojluni/src/main/java/java/text/Annotation.java \ 741 ojluni/src/main/java/java/text/AttributedCharacterIterator.java \ 742 ojluni/src/main/java/java/text/AttributedString.java \ 743 ojluni/src/main/java/java/text/Bidi.java \ 744 ojluni/src/main/java/java/text/BreakIterator.java \ 745 ojluni/src/main/java/java/text/CalendarBuilder.java \ 746 ojluni/src/main/java/java/text/CharacterIteratorFieldDelegate.java \ 747 ojluni/src/main/java/java/text/CharacterIterator.java \ 748 ojluni/src/main/java/java/text/ChoiceFormat.java \ 749 ojluni/src/main/java/java/text/CollationElementIterato [all...] |
/libcore/ojluni/src/test/java/time/tck/java/time/ |
H A D | TCKYear.java | 266 public void factory_parse_success(String text, Year expected) { argument 267 Year year = Year.parse(text); 293 public void factory_parse_fail(String text, int pos) { argument 295 Year.parse(text); 296 fail(String.format("Parse should have failed for %s at position %d", text, pos)); 298 assertEquals(ex.getParsedString(), text);
|
H A D | TCKYearMonth.java | 324 public void factory_parse_success(String text, YearMonth expected) { argument 325 YearMonth yearMonth = YearMonth.parse(text); 352 public void factory_parse_fail(String text, int pos) { argument 354 YearMonth.parse(text); 355 fail(String.format("Parse should have failed for %s at position %d", text, pos)); 357 assertEquals(ex.getParsedString(), text);
|
/libcore/ojluni/src/main/java/java/time/format/ |
H A D | DateTimeTextProvider.java | 119 * Gets the provider of text. 128 * Gets the text for the specified field, locale and style 131 * The text associated with the value is returned. 132 * The null return value should be used if there is no applicable text, or 133 * if the text would be a numeric representation of the value. 135 * @param field the field to get text for, not null 136 * @param value the field value to get text for, not null 137 * @param style the style to get text for, not null 138 * @param locale the locale to get text for, not null 139 * @return the text fo 467 createEntry(A text, B field) argument [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
H A D | DateTest.java | 20 import java.text.DateFormat;
|
/libcore/luni/src/main/native/ |
H A D | org_apache_harmony_xml_ExpatParser.cpp | 175 /** Buffer for text events. */ 451 * Buffers the given text and passes it to the given method. 456 * @param text to copy into the buffer 457 * @param length of text to copy (in bytes) 459 static void bufferAndInvoke(jmethodID method, void* data, const char* text, size_t length) { argument 467 size_t utf16length = fillBuffer(parsingContext, text, length); 670 * Called by Expat when it encounters text. Delegates to the same method 672 * of the same contiguous block of text. 675 * @param characters buffer containing encountered text 678 static void text(voi function [all...] |
/libcore/ojluni/src/main/java/sun/security/util/ |
H A D | DerOutputStream.java | 31 import java.text.SimpleDateFormat;
|
/libcore/xml/src/main/java/org/kxml2/io/ |
H A D | KXmlSerializer.java | 292 text(s); 563 public XmlSerializer text(String text) throws IOException { argument 566 writeEscaped(text, -1); 570 public XmlSerializer text(char[] text, int start, int len) argument 572 text(new String(text, start, len));
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
H A D | BidiTest.java | 18 package org.apache.harmony.tests.java.text; 20 import java.text.AttributedString; 21 import java.text.Bidi;
|
H A D | DecimalFormatTest.java | 18 package org.apache.harmony.tests.java.text; 24 import java.text.AttributedCharacterIterator; 25 import java.text.DecimalFormat; 26 import java.text.DecimalFormatSymbols; 27 import java.text.FieldPosition; 28 import java.text.NumberFormat; 29 import java.text.ParsePosition; 772 // Test for method java.text.DecimalFormat() 791 // Test for method java.text.DecimalFormat(java.lang.String) 1929 "/serialization/org/apache/harmony/tests/java/text/DecimalForma [all...] |
/libcore/ojluni/src/main/java/sun/net/ftp/impl/ |
H A D | FtpClient.java | 32 import java.text.DateFormat; 33 import java.text.ParseException; 34 import java.text.SimpleDateFormat; 2175 * SITE, and returns the text sent back by the server. 2179 * @return a <code>String</code> containing the text sent back by the
|