Android.Text.Format.Time.GetWeeksSinceEpochFromJulianDay Method
Returns the week since Time.EpochJulianDay (Jan 1, 1970) adjusted for first day of week.

Syntax

[Android.Runtime.Register("getWeeksSinceEpochFromJulianDay", "(II)I", "")]
public static int GetWeeksSinceEpochFromJulianDay (int julianDay, int firstDayOfWeek)

Parameters

julianDay
The julian day to calculate the week number for
firstDayOfWeek
Which week day is the first day of the week, see Time.SUNDAY

Returns

Documentation for this section has not yet been entered.

Remarks

Returns the week since Time.EpochJulianDay (Jan 1, 1970) adjusted for first day of week. This takes a julian day and the week start day and calculates which week since Time.EpochJulianDay that day occurs in, starting at 0. *Do not* use this to compute the ISO week number for the year.

[Android Documentation]

Requirements

Namespace: Android.Text.Format
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 11