| パッケージ | 説明 | 
|---|---|
| java.time | 
 
 日付、時間、インスタント、デュレーションのメインAPI。 
 | 
| java.time.zone | 
 
 タイムゾーンおよびそのルールのサポート。 
 | 
| 修飾子と型 | メソッドと説明 | 
|---|---|
Month | 
Month.firstMonthOfQuarter()
この四半期の最初の月に相当する月を取得します。 
 | 
static Month | 
Month.from(TemporalAccessor temporal)
時間的オブジェクトから 
Monthのインスタンスを取得します。 | 
Month | 
MonthDay.getMonth()
列挙型 
Monthを使用して、月フィールドを取得します。 | 
Month | 
OffsetDateTime.getMonth()
列挙型 
Monthを使用して、月フィールドを取得します。 | 
Month | 
LocalDate.getMonth()
列挙型 
Monthを使用して、月フィールドを取得します。 | 
Month | 
YearMonth.getMonth()
列挙型 
Monthを使用して、月フィールドを取得します。 | 
Month | 
LocalDateTime.getMonth()
列挙型 
Monthを使用して、月フィールドを取得します。 | 
Month | 
ZonedDateTime.getMonth()
列挙型 
Monthを使用して、月フィールドを取得します。 | 
Month | 
Month.minus(long months)
この月から指定された月数だけ遡った月を返します。 
 | 
static Month | 
Month.of(int month)
int値からMonthのインスタンスを取得します。 | 
Month | 
Month.plus(long months)
この月から指定された数の四半期が経過した後の月を返します。 
 | 
static Month | 
Month.valueOf(String name)
指定された名前を持つ、この型の列挙型定数を返します。 
 | 
static Month[] | 
Month.values()
この列挙型の定数を含む配列を、宣言されている順序で返します。 
 | 
| 修飾子と型 | メソッドと説明 | 
|---|---|
YearMonth | 
Year.atMonth(Month month)
この年を月と組み合せて 
YearMonthを作成します。 | 
static YearMonth | 
YearMonth.of(int year, Month month)
年および月から 
YearMonthのインスタンスを取得します。 | 
static LocalDate | 
LocalDate.of(int year, Month month, int dayOfMonth)
年、月、および日から 
LocalDateのインスタンスを取得します。 | 
static LocalDateTime | 
LocalDateTime.of(int year, Month month, int dayOfMonth, int hour, int minute)
秒およびナノ秒をゼロに設定して、年、月、日、時、および分から 
LocalDateTimeのインスタンスを取得します。 | 
static LocalDateTime | 
LocalDateTime.of(int year, Month month, int dayOfMonth, int hour, int minute, int second)
ナノ秒をゼロに設定して、年、月、日、時、分、および秒から 
LocalDateTimeのインスタンスを取得します。 | 
static LocalDateTime | 
LocalDateTime.of(int year, Month month, int dayOfMonth, int hour, int minute, int second, int nanoOfSecond)
年、月、日、時、分、秒、およびナノ秒から 
LocalDateTimeのインスタンスを取得します。 | 
static MonthDay | 
MonthDay.of(Month month, int dayOfMonth)
MonthDayのインスタンスを取得します。 | 
MonthDay | 
MonthDay.with(Month month)
月を変更して、この 
MonthDayのコピーを返します。 | 
| 修飾子と型 | メソッドと説明 | 
|---|---|
Month | 
ZoneOffsetTransitionRule.getMonth()
遷移の月を取得します。 
 | 
| 修飾子と型 | メソッドと説明 | 
|---|---|
static ZoneOffsetTransitionRule | 
ZoneOffsetTransitionRule.of(Month month, int dayOfMonthIndicator, DayOfWeek dayOfWeek, LocalTime time, boolean timeEndOfDay, ZoneOffsetTransitionRule.TimeDefinition timeDefnition, ZoneOffset standardOffset, ZoneOffset offsetBefore, ZoneOffset offsetAfter)
2つのオフセット間の遷移を作成するための年間ルールを定義するインスタンスを取得します。 
 | 
 バグまたは機能を送信 
詳細なAPIリファレンスおよび開発者ドキュメントについては、Java SEのドキュメントを参照してください。そのドキュメントには、概念的な概要、用語の定義、回避方法、有効なコード例などの、開発者を対象にしたより詳細な説明が含まれています。
 Copyright© 1993, 2014, Oracle and/or its affiliates. All rights reserved.