パッケージ | 説明 |
---|---|
jp.co.intra_mart.foundation.calendar | |
jp.co.intra_mart.foundation.i18n.datetime |
タイムゾーンを考慮した日時・期間に関連するクラスを提供します。
|
jp.co.intra_mart.foundation.i18n.datetime.format |
日時表示形式に関連するクラスを提供します。
|
jp.co.intra_mart.foundation.logic.data.basic |
修飾子とタイプ | メソッドと説明 |
---|---|
List<DayInfoSummary> |
CalendarInfoManager.getDayInfoSummariesOnMonth(String calendarId,
DateTime dateTime)
1カ月分の日付情報を取得します。
|
List<DayInfoSummary> |
CalendarInfoManager.getDayInfoSummariesOnMonth(String calendarId,
DateTime dateTime,
boolean fill)
1カ月分の日付情報を取得します。
|
List<DayInfoSummary> |
CalendarInfoManager.getDayInfoSummariesOnTerm(String calendarId,
DateTime start,
DateTime end)
指定した期間の日付情報を取得します。
|
List<DayInfoSummary> |
CalendarInfoManager.getDayInfoSummariesOnTermByDayInfoSetIds(String baseCalendarId,
List<String> dayInfoSetIds,
DateTime start,
DateTime end)
指定した期間の日付情報を取得します。
|
List<DayInfoSummary> |
CalendarInfoManager.getDayInfoSummariesOnWeek(String calendarId,
DateTime dateTime)
1週間分の日付情報を取得します。
|
List<DayInfoSummary> |
CalendarInfoManager.getDayInfoSummariesOnWeek(String calendarId,
DateTime dateTime,
boolean shiftFirstDayOfWeek)
1週間分の日付情報を取得します。
|
DayInfoSummary |
CalendarInfoManager.getDayInfoSummary(String calendarId,
DateTime dateTime)
指定した日の日付情報を取得します。
|
boolean |
CalendarInfoManager.hasDayInfo(String calendarId,
DateTime dateTime,
DayInfo dayInfo)
指定した日が、指定した日付情報を持つかどうか判定します。
|
boolean |
CalendarInfoManager.isHoliday(String calendarId,
DateTime dateTime)
指定した日が休日かどうか判定します。
|
修飾子とタイプ | メソッドと説明 |
---|---|
DateTime |
DateTime.clone()
この DateTime のコピーを作成して、返します。
|
DateTime |
DateTime.minusDateDuration(int years,
int months,
int days)
指定された年数・月数・日数を減算した DateTime のコピーを返します。
|
DateTime |
DateTime.minusDays(int days)
指定された日数を減算した DateTime のコピーを返します。
|
DateTime |
DateTime.minusDuration(int years,
int months,
int days,
int hours,
int minutes,
int seconds)
指定された年数・月数・日数・時間数・分数・秒数を加えた DateTime のコピーを返します。
|
DateTime |
DateTime.minusHours(int hours)
指定された時間数を減算した DateTime のコピーを返します。
|
DateTime |
DateTime.minusMinutes(int minutes)
指定された分数を減算した DateTime のコピーを返します。
|
DateTime |
DateTime.minusMonths(int months)
指定された月数を減算した DateTime のコピーを返します。
|
DateTime |
DateTime.minusSeconds(int seconds)
指定された秒数を減算した DateTime のコピーを返します。
|
DateTime |
DateTime.minusTimeDuration(int hours,
int minutes,
int seconds)
指定された時間数・分数・秒数を減算した DateTime のコピーを返します。
|
DateTime |
DateTime.minusYears(int years)
指定された年数を減算した DateTime のコピーを返します。
|
static DateTime |
DateTime.now(TimeZone zone)
指定されたタイムゾーンに基づいて、システムの現在日時を持つ DateTime を返します。
|
static DateTime |
DateTime.parse(TimeZone zone,
String text,
String pattern)
指定されたタイムゾーンと日時フォーマットパターンに基づいて、文字列を解析して DateTime を生成します。
|
DateTime |
DateTime.plusDateDuration(int years,
int months,
int days)
指定された年数・月数・日数を加算した DateTime のコピーを返します。
|
DateTime |
DateTime.plusDays(int days)
指定された日数を加算した DateTime のコピーを返します。
|
DateTime |
DateTime.plusDuration(int years,
int months,
int days,
int hours,
int minutes,
int seconds)
指定された年数・月数・日数・時間数・分数・秒数を加えた DateTime のコピーを返します。
|
DateTime |
DateTime.plusHours(int hours)
指定された時間数を加算した DateTime のコピーを返します。
|
DateTime |
DateTime.plusMinutes(int minutes)
指定された分数を加算した DateTime のコピーを返します。
|
DateTime |
DateTime.plusMonths(int months)
指定された月数を加算した DateTime のコピーを返します。
|
DateTime |
DateTime.plusSeconds(int seconds)
指定された秒数を加算した DateTime のコピーを返します。
|
DateTime |
DateTime.plusTimeDuration(int hours,
int minutes,
int seconds)
指定された時間数・分数・秒数を加算した DateTime のコピーを返します。
|
DateTime |
DateTime.plusYears(int years)
指定された年数を加算した DateTime のコピーを返します。
|
DateTime |
DateTime.withDate(Date date)
指定の Date オブジェクトで表されるエポックミリ秒に変更された DateTime のコピーを返します。
|
DateTime |
DateTime.withDate(int year,
int monthOfYear,
int dayOfMonth)
指定の日付に変更された DateTime のコピーを返します。
|
DateTime |
DateTime.withDayOfMonth(int dayOfMonth)
日付の日のみを変更した DateTime のコピーを返します。
|
DateTime |
DateTime.withHourOfDay(int hourOfDay)
時刻の時間のみを変更した DateTime のコピーを返します。
|
DateTime |
DateTime.withMilliOfSecond(int milliOfSecond)
ミリ秒のみを変更した DateTime のコピーを返します。
|
DateTime |
DateTime.withMinuteOfHour(int minuteOfHour)
時刻の分のみを変更した DateTime のコピーを返します。
|
DateTime |
DateTime.withMonthOfYear(int monthOfYear)
日付の月のみを変更した DateTime のコピーを返します。
|
DateTime |
DateTime.withSecondOfMinute(int secondOfMinute)
時刻の秒のみを変更した DateTime のコピーを返します。
|
DateTime |
DateTime.withTime(int hourOfDay,
int minuteOfHour)
指定の時刻に変更された DateTime のコピーを返します。
|
DateTime |
DateTime.withTime(int hourOfDay,
int minuteOfHour,
int secondOfMinute)
指定の時刻に変更された DateTime のコピーを返します。
|
DateTime |
DateTime.withTimeZone(TimeZone zone)
指定のタイムゾーンに変換された DateTime のコピーを返します。
|
DateTime |
DateTime.withYear(int year)
日付の年のみを変更した DateTime のコピーを返します。
|
修飾子とタイプ | メソッドと説明 |
---|---|
static Duration |
Duration.between(Date startDate,
DateTime endDate)
指定された 2 時点間の期間を表す Duration インスタンスを返します。
|
static Duration |
Duration.between(DateTime startDate,
Date endDate)
指定された 2 時点間の期間を表す Duration インスタンスを返します。
|
static Duration |
Duration.between(DateTime startDate,
DateTime endDate)
指定された 2 時点間の期間を表す Duration インスタンスを返します。
|
int |
DateTime.compare(DateTime another)
2 つの DateTime オブジェクトで表されるエポックミリ秒を比較します。
|
修飾子とタイプ | メソッドと説明 |
---|---|
DateTime |
DateTimeFormatter.parse(String text)
指定された文字列を解析して、指定された型の日付/時刻オブジェクトを生成します。
|
修飾子とタイプ | メソッドと説明 |
---|---|
static String |
AccountDateTimeFormatter.format(DateTime dateTime,
String... formatIds)
ログインユーザが設定しているパターンを利用して、
DateTime を日付/時刻文字列に整形します。 |
修飾子とタイプ | メソッドと説明 |
---|---|
Class<DateTime> |
IMDateTimeTypeDefinition.getType() |
Copyright © 2012 NTT DATA INTRAMART CORPORATION