/// <summary> /// Copy a /// <see cref="PersonIdent">PersonIdent</see> /// . /// </summary> /// <param name="pi"> /// Original /// <see cref="PersonIdent">PersonIdent</see> /// </param> public PersonIdent(NGit.PersonIdent pi) : this(pi.GetName(), pi.GetEmailAddress() ) { }
/// <summary>Copy a PersonIdent, but alter the clone's time stamp</summary> /// <param name="pi"> /// original /// <see cref="PersonIdent">PersonIdent</see> /// </param> /// <param name="aWhen">local time stamp</param> /// <param name="aTZ">time zone</param> public PersonIdent(NGit.PersonIdent pi, long aWhen, int aTZ) { name = pi.GetName(); emailAddress = pi.GetEmailAddress(); when = aWhen; tzOffset = aTZ; }
/// <summary> /// Copy a /// <see cref="PersonIdent">PersonIdent</see> /// , but alter the clone's time stamp /// </summary> /// <param name="pi"> /// original /// <see cref="PersonIdent">PersonIdent</see> /// </param> /// <param name="aWhen">local time</param> public PersonIdent(NGit.PersonIdent pi, DateTime aWhen) { name = pi.GetName(); emailAddress = pi.GetEmailAddress(); when = aWhen.GetTime(); tzOffset = pi.tzOffset; }
/// <summary>Copy a PersonIdent, but alter the clone's time stamp</summary> /// <param name="pi"> /// original /// <see cref="PersonIdent">PersonIdent</see> /// </param> /// <param name="when">local time</param> /// <param name="tz">time zone</param> public PersonIdent(NGit.PersonIdent pi, DateTime when, TimeZoneInfo tz) : this(pi .GetName(), pi.GetEmailAddress(), when, tz) { }
/// <summary>Copy a PersonIdent, but alter the clone's time stamp</summary> /// <param name="pi"> /// original /// <see cref="PersonIdent">PersonIdent</see> /// </param> /// <param name="aWhen">local time stamp</param> /// <param name="aTZ">time zone</param> public PersonIdent(NGit.PersonIdent pi, long aWhen, int aTZ) : this(pi.GetName(), pi.GetEmailAddress(), aWhen, aTZ) { }
/// <summary> /// Copy a /// <see cref="PersonIdent">PersonIdent</see> /// , but alter the clone's time stamp /// </summary> /// <param name="pi"> /// original /// <see cref="PersonIdent">PersonIdent</see> /// </param> /// <param name="aWhen">local time</param> public PersonIdent(NGit.PersonIdent pi, DateTime aWhen) : this(pi.GetName(), pi.GetEmailAddress (), aWhen.GetTime(), pi.tzOffset) { }