public class PersonIdent
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
PersonIdent(PersonIdent pi)
Copy a
PersonIdent . |
PersonIdent(PersonIdent pi,
java.util.Date aWhen)
Copy a
PersonIdent , but alter the clone's time stamp |
PersonIdent(PersonIdent pi,
java.util.Date when,
java.util.TimeZone tz)
Copy a PersonIdent, but alter the clone's time stamp
|
PersonIdent(PersonIdent pi,
long aWhen,
int aTZ)
Copy a PersonIdent, but alter the clone's time stamp
|
PersonIdent(Repository repo)
Creates new PersonIdent from config info in repository, with current time.
|
PersonIdent(java.lang.String aName,
java.lang.String aEmailAddress)
Construct a new
PersonIdent with current time. |
PersonIdent(java.lang.String aName,
java.lang.String aEmailAddress,
java.util.Date aWhen,
java.util.TimeZone aTZ)
Construct a PersonIdent from simple data
|
PersonIdent(java.lang.String aName,
java.lang.String aEmailAddress,
long aWhen,
int aTZ)
Construct a
PersonIdent |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.lang.String |
getEmailAddress() |
java.lang.String |
getName() |
java.util.TimeZone |
getTimeZone() |
int |
getTimeZoneOffset() |
java.util.Date |
getWhen() |
int |
hashCode() |
java.lang.String |
toExternalString()
Format for Git storage.
|
java.lang.String |
toString() |
public PersonIdent(Repository repo)
repo
- public PersonIdent(PersonIdent pi)
PersonIdent
.pi
- Original PersonIdent
public PersonIdent(java.lang.String aName, java.lang.String aEmailAddress)
PersonIdent
with current time.aName
- aEmailAddress
- public PersonIdent(PersonIdent pi, java.util.Date when, java.util.TimeZone tz)
pi
- original PersonIdent
when
- local timetz
- time zonepublic PersonIdent(PersonIdent pi, java.util.Date aWhen)
PersonIdent
, but alter the clone's time stamppi
- original PersonIdent
aWhen
- local timepublic PersonIdent(java.lang.String aName, java.lang.String aEmailAddress, java.util.Date aWhen, java.util.TimeZone aTZ)
aName
- aEmailAddress
- aWhen
- local time stampaTZ
- time zonepublic PersonIdent(java.lang.String aName, java.lang.String aEmailAddress, long aWhen, int aTZ)
PersonIdent
aName
- aEmailAddress
- aWhen
- local time stampaTZ
- time zonepublic PersonIdent(PersonIdent pi, long aWhen, int aTZ)
pi
- original PersonIdent
aWhen
- local time stampaTZ
- time zonepublic java.lang.String getName()
public java.lang.String getEmailAddress()
public java.util.Date getWhen()
public java.util.TimeZone getTimeZone()
public int getTimeZoneOffset()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public java.lang.String toExternalString()
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2012. All Rights Reserved.