OLEDate java实现 [英] OLEDate java implementation

查看:252
本文介绍了OLEDate java实现的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要一个很好的OLEDate java实现,而这一个< a>似乎没有工作。有没有任何已知的良好的开源实现(如apache commons)?如果没有,我在哪里阅读,以便我写我自己的实现?

这个旧新事物博客条目似乎是一个关于这个话题的正式论文: / p>

OLE自动化日期格式是浮点值,计数自1899年12月30日以来的天数。小时和分钟表示为分数天。



如果您可以访问Visual Studio和MFC COleDateTime源,可以在Java中重新实现。


I need a good OLEDate java implementation, and this one does not seem to be working. Is there any known good opensource implementations (like in apache commons)? If not, where do I read about it, so that I write my own implementation?

解决方案

This Old New Thing blog entry seems to be a decent treatise on the topic:

The OLE automation date format is a floating point value, counting days since midnight 30 December 1899. Hours and minutes are represented as fractional days.

If you have access to Visual Studio and the MFC COleDateTime source, you can reimplement that in Java.

这篇关于OLEDate java实现的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆