Specifying an Interval

このページの内容

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

The interval type is used to specify a period of time. It consists of a value and a unit specifier, eg. "3 days". The interval type is very flexible about how it interprets the time unit. In general, the first letter is sufficient to indicate the interval unit. For example, the previous example could be written as "3 d". The time ranges supported are specified in the following table:

Unit specifier

略語

Example Values

second

s

3 seconds
20s

m

5 minute
7 min, 11m

時間

h

4 hours
2h

d

7 days
365d

W

4 weeks
10w

mo

5.6 months
24mo

y

100 years
5y

If no time unit is provided, the default unit of "days" is used. A numeric value must always be provided or an exception will be thrown. Numeric values may be fractional (e.g. 5.6).

注意

Due to the variable lengths of months and years, approximations are used for these values within Clover. A month is considered to be 30.346 days and a year is considered to be 365.232 days. All other units are exact.

最終更新日 2007 年 8 月 28 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.