- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 25 for format (0.42 sec)
-
src/test/java/org/codelibs/core/convert/TimeConversionUtilTest.java
final Date date = toDate("11:49"); assertThat(new SimpleDateFormat("HH:mm:ss").format(date), is("11:49:00")); } /** * @throws Exception */ @Test public void testToDate_MediumStyle() throws Exception { final Date date = toDate("11:49:10"); assertThat(new SimpleDateFormat("HH:mm:ss").format(date), is("11:49:10")); } /** * @throws Exception */
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 9.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/zip/ZipInputStreamUtil.java
* either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package org.codelibs.core.zip; import static org.codelibs.core.log.Logger.format; import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotNull; import java.io.IOException; import java.util.zip.ZipEntry; import java.util.zip.ZipInputStream;
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 2.9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/convert/DoubleConversionUtil.java
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 3.6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/convert/StringConversionUtil.java
*/ public static String toString(final Number value, final String pattern) { if (value != null) { if (pattern != null) { return new DecimalFormat(pattern).format(value); } return value.toString(); } return null; } /** * 文字列に変換します。 * * @param value * 変換元のオブジェクト
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 6.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/convert/DateConversionUtil.java
protected static Date toDate(final String str, final Locale locale) { for (final DateFormat format : iterable(new DateFormatIterator(locale), new PlainDateFormatIterator(str, locale))) { if (format == null) { continue; } final Date date = toDate(str, format); if (date != null) { return date; } }
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 21.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/CoreLibConstants.java
public static final String DATE_FORMAT_ISO_8601_BASIC = "yyyyMMdd'T'HHmmss.SSSZ"; public static final String DATE_FORMAT_ISO_8601_EXTEND = "yyyy-MM-dd'T'HH:mm:ss.SSSZ"; public static final String DATE_FORMAT_ISO_8601_EXTEND_UTC = "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'"; public static final String DATE_FORMAT_DIGIT_ONLY = "yyyyMMddHHmmss"; protected CoreLibConstants() { }
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 1.3K bytes - Viewed (0) -
src/test/java/org/codelibs/core/log/LoggerTest.java
*/ @Test public void testLogWithException() throws Exception { logger.log(format("ILOGTEST0001"), new Exception()); } /** * @throws Exception */ @Test public void testLogWithArgsAndException() throws Exception { logger.log(format("ILOGTEST0002", "1", "2"), new Exception()); } /** * @throws Exception */ @Test
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 3.8K bytes - Viewed (0) -
src/main/java/org/codelibs/core/convert/ByteConversionUtil.java
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 3.7K bytes - Viewed (0) -
src/main/java/org/codelibs/core/log/Logger.java
log(format(messageCode, args)); } /** * ログを出力します。 * <p> * ログメッセージは{@link #format(String, Object...)}メソッドで作成します。 * {@link #format(String, Object...)}を{@literal static import}しておくと便利です。 * </p> * * <pre> * import static org.codelibs.core.log.Logger.format; * * Logger logger = Logger.getLogger(Xxx.class);
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 13.2K bytes - Viewed (0) -
src/main/java/org/codelibs/core/convert/TimeConversionUtil.java
protected static Date toDate(final String str, final Locale locale) { for (final DateFormat format : MultiIterator.iterable(new DateFormatIterator(locale), new PlainDateFormatIterator(str, locale))) { if (format == null) { continue; } final Date date = toDate(str, format); if (date != null) { return date; } }
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 21.2K bytes - Viewed (0)