Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for ParsePosition (0.25 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/http/DateFormatting.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.internal.http
    
    import java.text.DateFormat
    import java.text.ParsePosition
    import java.text.SimpleDateFormat
    import java.util.Date
    import java.util.Locale
    import okhttp3.internal.UTC
    
    /** The last four-digit year: "Fri, 31 Dec 9999 23:59:59 GMT". */
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/convert/TimeConversionUtil.java

         * @param format
         *            {@link DateFormat}
         * @return 変換された{@link Date}
         */
        protected static Date toDate(final String str, final DateFormat format) {
            final ParsePosition pos = new ParsePosition(0);
            final Date date = format.parse(str, pos);
            if (date == null) {
                return null;
            }
            final int index = pos.getIndex();
            if (index == 0) {
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 21.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/convert/DateConversionUtil.java

         * @param format
         *            {@link DateFormat}
         * @return 変換された{@link Date}
         */
        protected static Date toDate(final String str, final DateFormat format) {
            final ParsePosition pos = new ParsePosition(0);
            final Date date = format.parse(str, pos);
            if (date == null) {
                return null;
            }
            final int index = pos.getIndex();
            if (index == 0) {
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 21.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/convert/TimestampConversionUtil.java

         * @param format
         *            {@link DateFormat}
         * @return 変換された{@link Date}
         */
        protected static Date toDate(final String str, final DateFormat format) {
            final ParsePosition pos = new ParsePosition(0);
            final Date date = format.parse(str, pos);
            if (date == null) {
                return null;
            }
            final int index = pos.getIndex();
            if (index == 0) {
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 22.1K bytes
    - Viewed (0)
Back to top