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