- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 44 for SimpleDateFormat (0.15 sec)
-
src/test/java/org/codelibs/core/convert/TimeConversionUtilTest.java
final SimpleDateFormat df = new SimpleDateFormat("HH:mm:ss"); df.setTimeZone(TimeZone.getTimeZone("JST")); assertThat(df.format(date), is("11:49:10")); } /** * @throws Exception */ @Test public void testToDate_PlainFormat() throws Exception { final Date date = toDate("114910");
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 9.5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/convert/TimestampConversionUtilTest.java
assertThat(new SimpleDateFormat("yyyy/MM/dd HH:mm:ss").format(date), is("2010/09/07 11:49:00")); } /** * @throws Exception */ @Test public void testToDate_MediumStyle() throws Exception { final Date date = toDate("2010/9/7 11:49:10", Locale.JAPAN); assertThat(new SimpleDateFormat("yyyy/MM/dd HH:mm:ss").format(date), is("2010/09/07 11:49:10")); }
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 11.4K bytes - Viewed (0) -
src/test/java/org/codelibs/core/convert/DateConversionUtilTest.java
* @throws Exception */ @Test public void testToDate_ShortStyle() throws Exception { System.out.println(((SimpleDateFormat) DateFormat.getDateTimeInstance(DateFormat.FULL, DateFormat.FULL)).toPattern()); final Date date = toDate("10/9/7"); assertThat(new SimpleDateFormat("yyyy/MM/dd").format(date), is("2010/09/07")); } /** * @throws Exception */ @Test
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 9.4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/convert/DateConversionUtil.java
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 21.5K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/MavenBuildTimestamp.java
if (timestampFormat == null) { timestampFormat = DEFAULT_BUILD_TIMESTAMP_FORMAT; } if (time == null) { time = new Date(); } SimpleDateFormat dateFormat = new SimpleDateFormat(timestampFormat); dateFormat.setCalendar(new GregorianCalendar()); dateFormat.setTimeZone(DEFAULT_BUILD_TIME_ZONE); formattedTimestamp = dateFormat.format(time); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.8K bytes - Viewed (0) -
src/main/java/org/codelibs/core/convert/LongConversionUtil.java
* either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package org.codelibs.core.convert; import java.text.SimpleDateFormat; import org.codelibs.core.lang.StringUtil; import org.codelibs.core.text.DecimalFormatUtil; /** * {@link Long}用の変換ユーティリティです。 * * @author higa */ public abstract class LongConversionUtil {
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 3.7K bytes - Viewed (0) -
compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/RemoteSnapshotMetadataTest.java
Locale.setDefault(new Locale("th", "TH")); } @AfterEach void restoreLocale() { Locale.setDefault(defaultLocale); } static String gregorianDate() { SimpleDateFormat df = new SimpleDateFormat("yyyyMMdd"); df.setCalendar(new GregorianCalendar()); df.setTimeZone(RemoteSnapshotMetadata.DEFAULT_SNAPSHOT_TIME_ZONE); return df.format(new Date()); } @Test
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.5K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/BuildTimestampValueSource.java
* KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. */ package org.apache.maven.project.interpolation; import java.text.SimpleDateFormat; import java.util.Date; import org.codehaus.plexus.interpolation.AbstractValueSource; /** * */ @Deprecated public class BuildTimestampValueSource extends AbstractValueSource {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.7K bytes - Viewed (0) -
src/main/java/org/codelibs/core/convert/FloatConversionUtil.java
* either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package org.codelibs.core.convert; import java.text.SimpleDateFormat; import org.codelibs.core.lang.StringUtil; import org.codelibs.core.text.DecimalFormatUtil; /** * {@link Float}用の変換ユーティリティです。 * * @author higa */ public abstract class FloatConversionUtil {
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 3.6K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/Crawler.java
protected Thread parentThread; protected ThreadGroup crawlerThreadGroup; public Crawler() { crawlerContext = new CrawlerContext(); final SimpleDateFormat sdf = new SimpleDateFormat("yyyyMMddHHmmssSSS", Locale.ENGLISH); crawlerContext.sessionId = sdf.format(new Date()); } public void addUrl(final String url) { try {
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:47:32 UTC 2024 - 7.9K bytes - Viewed (0)