GregorianCalendar.AddWeeks(DateTime, Int32) Methode
Definition
public:
override DateTime AddWeeks(DateTime time, int weeks);
public override DateTime AddWeeks (DateTime time, int weeks);
override this.AddWeeks : DateTime * int -> DateTime
Public Overrides Function AddWeeks (time As DateTime, weeks As Integer) As DateTime
Parameter
- time
- DateTime
Die DateTime, der Wochen hinzugefügt werden sollen.The DateTime to which to add weeks.
- weeks
- Int32
Die Anzahl der hinzuzufügenden Wochen.The number of weeks to add.
Gibt zurück
Die resultierende DateTime, wenn der angegebenen DateTime
die angegebene Anzahl von Wochen hinzugefügt wird.The DateTime that results from adding the specified number of weeks to the specified DateTime
.