예제 #1
0
		/// <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()
			)
		{
		}
예제 #2
0
		/// <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;
		}
예제 #3
0
		/// <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;
		}
예제 #4
0
		/// <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)
		{
		}
예제 #5
0
		/// <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)
		{
		}
예제 #6
0
		/// <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)
		{
		}