Udostępnij za pośrednictwem


Time.GetJulianMondayFromWeeksSinceEpoch(Int32) Method

Definition

Takes a number of weeks since the epoch and calculates the Julian day of the Monday for that week.

[Android.Runtime.Register("getJulianMondayFromWeeksSinceEpoch", "(I)I", "")]
public static int GetJulianMondayFromWeeksSinceEpoch (int week);
[<Android.Runtime.Register("getJulianMondayFromWeeksSinceEpoch", "(I)I", "")>]
static member GetJulianMondayFromWeeksSinceEpoch : int -> int

Parameters

week
Int32

Number of weeks since the epoch

Returns

The julian day for the Monday of the given week since the epoch

Attributes

Remarks

Takes a number of weeks since the epoch and calculates the Julian day of the Monday for that week. This assumes that the week containing the #EPOCH_JULIAN_DAY is considered week 0. It returns the Julian day for the Monday week weeks after the Monday of the week containing the epoch.

Java documentation for android.text.format.Time.getJulianMondayFromWeeksSinceEpoch(int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to