草庐IT

亚里士多德

全部标签

c# - 在 .net/sql 服务器中处理 bc 日期的最佳方法是什么?

我打算创建一个时间轴应用程序来存储和显示特定日期的信息。例如:亚里士多德公元前384年-公元前322年;但也有广告日期,如ImmanuelKant22.04.1724-12.02.1804)。我想使用sql精简版数据库。日期时间格式允许从1/1/175312:00:00:00AM到12/31/999911:59:59PM的日期。所以我不能使用native日期时间格式。.Net也不允许使用nativeDateTime类的bc日期(0001.01.01是第一天)。我是否必须使用varchar列定义自己的格式并在.Net中解析这些值? 最佳答案

java的地理空间领域的2DDSPHERE索引的春季蒙古多德注释...?

@JsonSerialize@Document(collection="fence")@CompoundIndexes({@CompoundIndex(name="loc_groupId_idx",def="{'loc':2dsphere,'groups.groupId':1}",unique=false)})publicclassGeofenceMongoVO{publicGeofenceMongoVO(){}@IdprivateStringfenceId;@FieldprivateLongcustomerId;@FieldprivateStringfenceName;@Fieldpriva