Framework_4_0 preprocessor is necessary for legacy compatibility.

This commit is contained in:
mark 2012-01-03 00:36:52 +00:00
parent 12fe97babd
commit 558fcf495a
15 changed files with 755 additions and 46 deletions

View file

@ -554,7 +554,7 @@ namespace Server
return defaultValue;
}
}
#if Framework_4_0
public static DateTimeOffset GetXMLDateTimeOffset( string dateTimeOffsetString, DateTimeOffset defaultValue )
{
try
@ -571,7 +571,7 @@ namespace Server
return defaultValue;
}
}
#endif
public static TimeSpan GetXMLTimeSpan( string timeSpanString, TimeSpan defaultValue )
{
try