mirror of
https://github.com/moparisthebest/keepass2android
synced 2024-11-12 04:25:09 -05:00
Merge branch 'AlexVallat/Keepass2AndroidPerfOpt'
This commit is contained in:
commit
17c4007f32
@ -146,8 +146,8 @@ namespace KeePassLib.Serialization
|
|||||||
[ProtoMember(4)]
|
[ProtoMember(4)]
|
||||||
public DateTime NameChanged
|
public DateTime NameChanged
|
||||||
{
|
{
|
||||||
get { return mDatabase.NameChanged; }
|
get { return mDatabase.NameChanged.ToUniversalTime(); }
|
||||||
set { mDatabase.NameChanged = value; }
|
set { mDatabase.NameChanged = value.ToLocalTime(); }
|
||||||
}
|
}
|
||||||
|
|
||||||
[ProtoMember(5)]
|
[ProtoMember(5)]
|
||||||
@ -160,8 +160,8 @@ namespace KeePassLib.Serialization
|
|||||||
[ProtoMember(6)]
|
[ProtoMember(6)]
|
||||||
public DateTime DescriptionChanged
|
public DateTime DescriptionChanged
|
||||||
{
|
{
|
||||||
get { return mDatabase.DescriptionChanged; }
|
get { return mDatabase.DescriptionChanged.ToUniversalTime(); }
|
||||||
set { mDatabase.DescriptionChanged = value; }
|
set { mDatabase.DescriptionChanged = value.ToLocalTime(); }
|
||||||
}
|
}
|
||||||
|
|
||||||
[ProtoMember(7)]
|
[ProtoMember(7)]
|
||||||
@ -174,8 +174,8 @@ namespace KeePassLib.Serialization
|
|||||||
[ProtoMember(8)]
|
[ProtoMember(8)]
|
||||||
public DateTime DefaultUserNameChanged
|
public DateTime DefaultUserNameChanged
|
||||||
{
|
{
|
||||||
get { return mDatabase.DefaultUserNameChanged; }
|
get { return mDatabase.DefaultUserNameChanged.ToUniversalTime(); }
|
||||||
set { mDatabase.DefaultUserNameChanged = value; }
|
set { mDatabase.DefaultUserNameChanged = value.ToLocalTime(); }
|
||||||
}
|
}
|
||||||
|
|
||||||
[ProtoMember(9)]
|
[ProtoMember(9)]
|
||||||
@ -195,8 +195,8 @@ namespace KeePassLib.Serialization
|
|||||||
[ProtoMember(11)]
|
[ProtoMember(11)]
|
||||||
public DateTime MasterKeyChanged
|
public DateTime MasterKeyChanged
|
||||||
{
|
{
|
||||||
get { return mDatabase.MasterKeyChanged; }
|
get { return mDatabase.MasterKeyChanged.ToUniversalTime(); }
|
||||||
set { mDatabase.MasterKeyChanged = value; }
|
set { mDatabase.MasterKeyChanged = value.ToLocalTime(); }
|
||||||
}
|
}
|
||||||
|
|
||||||
[ProtoMember(12)]
|
[ProtoMember(12)]
|
||||||
@ -243,8 +243,8 @@ namespace KeePassLib.Serialization
|
|||||||
[ProtoMember(18)]
|
[ProtoMember(18)]
|
||||||
public DateTime RecycleBinChanged
|
public DateTime RecycleBinChanged
|
||||||
{
|
{
|
||||||
get { return mDatabase.RecycleBinChanged; }
|
get { return mDatabase.RecycleBinChanged.ToUniversalTime(); }
|
||||||
set { mDatabase.RecycleBinChanged = value; }
|
set { mDatabase.RecycleBinChanged = value.ToLocalTime(); }
|
||||||
}
|
}
|
||||||
|
|
||||||
[ProtoMember(19, OverwriteList = true)]
|
[ProtoMember(19, OverwriteList = true)]
|
||||||
@ -257,8 +257,8 @@ namespace KeePassLib.Serialization
|
|||||||
[ProtoMember(20)]
|
[ProtoMember(20)]
|
||||||
public DateTime EntryTemplatesGroupChanged
|
public DateTime EntryTemplatesGroupChanged
|
||||||
{
|
{
|
||||||
get { return mDatabase.EntryTemplatesGroupChanged; }
|
get { return mDatabase.EntryTemplatesGroupChanged.ToUniversalTime(); }
|
||||||
set { mDatabase.EntryTemplatesGroupChanged = value; }
|
set { mDatabase.EntryTemplatesGroupChanged = value.ToLocalTime(); }
|
||||||
}
|
}
|
||||||
|
|
||||||
[ProtoMember(21)]
|
[ProtoMember(21)]
|
||||||
@ -529,8 +529,8 @@ namespace KeePassLib.Serialization
|
|||||||
[ProtoMember(2)]
|
[ProtoMember(2)]
|
||||||
public DateTime DeletionTime
|
public DateTime DeletionTime
|
||||||
{
|
{
|
||||||
get { return mDeletedObject.DeletionTime; }
|
get { return mDeletedObject.DeletionTime.ToUniversalTime(); }
|
||||||
set { mDeletedObject.DeletionTime = value; }
|
set { mDeletedObject.DeletionTime = value.ToLocalTime(); }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -613,29 +613,29 @@ namespace KeePassLib.Serialization
|
|||||||
[ProtoMember(8)]
|
[ProtoMember(8)]
|
||||||
public DateTime LastModificationTime
|
public DateTime LastModificationTime
|
||||||
{
|
{
|
||||||
get { return mGroup.LastModificationTime; }
|
get { return mGroup.LastModificationTime.ToUniversalTime(); }
|
||||||
set { mGroup.LastModificationTime = value; }
|
set { mGroup.LastModificationTime = value.ToLocalTime(); }
|
||||||
}
|
}
|
||||||
|
|
||||||
[ProtoMember(9)]
|
[ProtoMember(9)]
|
||||||
public DateTime CreationTime
|
public DateTime CreationTime
|
||||||
{
|
{
|
||||||
get { return mGroup.CreationTime; }
|
get { return mGroup.CreationTime.ToUniversalTime(); }
|
||||||
set { mGroup.CreationTime = value; }
|
set { mGroup.CreationTime = value.ToLocalTime(); }
|
||||||
}
|
}
|
||||||
|
|
||||||
[ProtoMember(10)]
|
[ProtoMember(10)]
|
||||||
public DateTime LastAccessTime
|
public DateTime LastAccessTime
|
||||||
{
|
{
|
||||||
get { return mGroup.LastAccessTime; }
|
get { return mGroup.LastAccessTime.ToUniversalTime(); }
|
||||||
set { mGroup.LastAccessTime = value; }
|
set { mGroup.LastAccessTime = value.ToLocalTime(); }
|
||||||
}
|
}
|
||||||
|
|
||||||
[ProtoMember(11)]
|
[ProtoMember(11)]
|
||||||
public DateTime ExpiryTime
|
public DateTime ExpiryTime
|
||||||
{
|
{
|
||||||
get { return mGroup.ExpiryTime; }
|
get { return mGroup.ExpiryTime.ToUniversalTime(); }
|
||||||
set { mGroup.ExpiryTime = value; }
|
set { mGroup.ExpiryTime = value.ToLocalTime(); }
|
||||||
}
|
}
|
||||||
|
|
||||||
[ProtoMember(12)]
|
[ProtoMember(12)]
|
||||||
@ -655,8 +655,8 @@ namespace KeePassLib.Serialization
|
|||||||
[ProtoMember(14)]
|
[ProtoMember(14)]
|
||||||
public DateTime LocationChanged
|
public DateTime LocationChanged
|
||||||
{
|
{
|
||||||
get { return mGroup.LocationChanged; }
|
get { return mGroup.LocationChanged.ToUniversalTime(); }
|
||||||
set { mGroup.LocationChanged = value; }
|
set { mGroup.LocationChanged = value.ToLocalTime(); }
|
||||||
}
|
}
|
||||||
|
|
||||||
[ProtoMember(15)]
|
[ProtoMember(15)]
|
||||||
@ -900,29 +900,29 @@ namespace KeePassLib.Serialization
|
|||||||
[ProtoMember(8)]
|
[ProtoMember(8)]
|
||||||
public DateTime LastModificationTime
|
public DateTime LastModificationTime
|
||||||
{
|
{
|
||||||
get { return mEntry.LastModificationTime; }
|
get { return mEntry.LastModificationTime.ToUniversalTime(); }
|
||||||
set { mEntry.LastModificationTime = value; }
|
set { mEntry.LastModificationTime = value.ToLocalTime(); }
|
||||||
}
|
}
|
||||||
|
|
||||||
[ProtoMember(9)]
|
[ProtoMember(9)]
|
||||||
public DateTime CreationTime
|
public DateTime CreationTime
|
||||||
{
|
{
|
||||||
get { return mEntry.CreationTime; }
|
get { return mEntry.CreationTime.ToUniversalTime(); }
|
||||||
set { mEntry.CreationTime = value; }
|
set { mEntry.CreationTime = value.ToLocalTime(); }
|
||||||
}
|
}
|
||||||
|
|
||||||
[ProtoMember(10)]
|
[ProtoMember(10)]
|
||||||
public DateTime LastAccessTime
|
public DateTime LastAccessTime
|
||||||
{
|
{
|
||||||
get { return mEntry.LastAccessTime; }
|
get { return mEntry.LastAccessTime.ToUniversalTime(); }
|
||||||
set { mEntry.LastAccessTime = value; }
|
set { mEntry.LastAccessTime = value.ToLocalTime(); }
|
||||||
}
|
}
|
||||||
|
|
||||||
[ProtoMember(11)]
|
[ProtoMember(11)]
|
||||||
public DateTime ExpiryTime
|
public DateTime ExpiryTime
|
||||||
{
|
{
|
||||||
get { return mEntry.ExpiryTime; }
|
get { return mEntry.ExpiryTime.ToUniversalTime(); }
|
||||||
set { mEntry.ExpiryTime = value; }
|
set { mEntry.ExpiryTime = value.ToLocalTime(); }
|
||||||
}
|
}
|
||||||
|
|
||||||
[ProtoMember(12)]
|
[ProtoMember(12)]
|
||||||
@ -942,8 +942,8 @@ namespace KeePassLib.Serialization
|
|||||||
[ProtoMember(14)]
|
[ProtoMember(14)]
|
||||||
public DateTime LocationChanged
|
public DateTime LocationChanged
|
||||||
{
|
{
|
||||||
get { return mEntry.LocationChanged; }
|
get { return mEntry.LocationChanged.ToUniversalTime(); }
|
||||||
set { mEntry.LocationChanged = value; }
|
set { mEntry.LocationChanged = value.ToLocalTime(); }
|
||||||
}
|
}
|
||||||
|
|
||||||
[ProtoMember(15)]
|
[ProtoMember(15)]
|
||||||
|
Loading…
Reference in New Issue
Block a user