- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 62 for toByte (0.04 sec)
-
compat/maven-embedder/src/main/java/org/eclipse/sisu/plexus/PlexusXmlBeanConverter.java
* * @param parser The XML parser * @param toType The target type * @return Converted instance of the target type */ private Object parse(final MXParser parser, final TypeLiteral<?> toType) throws Exception { parser.require(XmlPullParser.START_TAG, null, null); final Class<?> rawType = toType.getRawType(); if (XmlNode.class.isAssignableFrom(rawType)) {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Jul 23 17:27:08 UTC 2025 - 15.3K bytes - Viewed (0) -
src/test/java/org/codelibs/core/convert/TimeConversionUtilTest.java
/** * @throws Exception */ @Test public void testToDate_Null() throws Exception { assertThat(toDate(null), is(nullValue())); } /** * @throws Exception */ @Test public void testToDate_EmptyString() throws Exception { assertThat(toDate(""), is(nullValue())); } /** * @throws Exception */ @TestRegistered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Fri Jun 20 13:40:57 UTC 2025 - 9.5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/convert/TimestampConversionUtilTest.java
*/ // @Test // public void testToDate_Null() throws Exception { // assertThat(toDate(null, Locale.JAPAN), is(nullValue())); // } /** * @throws Exception */ @Test public void testToDate_EmptyString() throws Exception { assertThat(toDate("", Locale.JAPAN), is(nullValue())); } /** * @throws Exception */ @TestRegistered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 11.4K bytes - Viewed (0) -
src/test/java/org/codelibs/core/convert/DateConversionUtilTest.java
/** * @throws Exception */ @Test public void testToDate_Null() throws Exception { assertThat(toDate(null), is(nullValue())); } /** * @throws Exception */ @Test public void testToDate_EmptyString() throws Exception { assertThat(toDate(""), is(nullValue())); } /** * @throws Exception */ @TestRegistered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 9.4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/convert/TimeConversionUtil.java
* * @param src * The source object to convert. * @return The converted {@link Date}. */ public static Date toDate(final Object src) { return toDate(src, null, LocaleUtil.getDefault()); } /** * Converts the given object to a {@link Date}. * * @param src * The source object to convert.Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 20.3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/convert/TimestampConversionUtil.java
* * @param src * The source object to convert. * @return The converted {@link Date}. */ public static Date toDate(final Object src) { return toDate(src, null, LocaleUtil.getDefault()); } /** * Converts the given object to a {@link Date}. * * @param src * The source object to convert.Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 20.6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/convert/DateConversionUtil.java
*/ public static Date toDate(final Object src) { return toDate(src, null, LocaleUtil.getDefault()); } /** * Converts an object to {@link Date}. * * @param src the source object * @param pattern the pattern string * @return the converted {@link Date} */ public static Date toDate(final Object src, final String pattern) {Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 19.6K bytes - Viewed (0) -
src/test/java/jcifs/tests/persistent/HandleGuidTest.java
assertNotEquals(guid1, guid2); assertEquals(16, guid1.toBytes().length); assertEquals(16, guid2.toBytes().length); } @Test public void testHandleGuidRoundTrip() { HandleGuid original = new HandleGuid(); byte[] bytes = original.toBytes(); HandleGuid reconstructed = new HandleGuid(bytes); assertEquals(original, reconstructed);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 2.4K bytes - Viewed (0) -
internal/s3select/sql/value.go
} // ToTimestamp returns the timestamp value if present. func (v Value) ToTimestamp() (t time.Time, ok bool) { t, ok = v.value.(time.Time) return t, ok } // ToBytes returns the value if byte-slice. func (v Value) ToBytes() (val []byte, ok bool) { val, ok = v.value.([]byte) return val, ok } // ToArray returns the value if it is a slice of values. func (v Value) ToArray() (val []Value, ok bool) {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 20.4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/impl/PropertyDescImpl.java
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 24 01:52:43 UTC 2025 - 15.1K bytes - Viewed (0)