.NET组件开发人员 - 建议 [英] .NET component developers - Suggestion

查看:64
本文介绍了.NET组件开发人员 - 建议的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是一个可以构建的模块/类的建议,并且可能会出售
。我找到了几家建造和销售.NET

控制器的公司..这里有一个想法给你们的人......


我''我注意到多个与时区转换相关的帖子。即在时区A中给出

,将时间转换为时区B,计算为
DST。似乎没有一个干净的解决方案。


我知道有些类允许你转换为UTC和

服务器时区。允许与任意

时区进行转换的类将是一件好事。


为了简化它,只选择主要时区并限制日期范围 -

说未来10年。


Bijoy

Here''s a suggestion for a module/class that can be built and
potentially sold. I''ve found several companies that build and sell .NET
controls.. Here''s an idea for you folks..

I''ve noticed multiple posting related to timezone conversion. i.e given
a time in timezone A, convert the time to timezone B, by accounting for
DST. There doesn''t seem to be a clean solution for this.

I know there are classes that allow you to convert to and from UTC to
Server timezone. A class that allows conversions to and from arbitrary
timezones would be a nice to have.

To simplify it, pick only major timezones and restrict the date range -
say the next 10 years.

Bijoy

推荐答案

给你两个问题:


1.

你能解释一下

主要时区和次要时区之间的区别吗?


2.
Two questions for you :

1.
Could you explain the difference between
major timezones and minor timezones ?

2.
限制日期范围说明未来10年。


请解释今天的日期之间的区别

和一年后的一个日期,就时区而言。

< br $>
Juan T. Llibre

ASP.NET MVP
http://asp.net.do/foros/

Foros de ASP.NET en Espa?ol

Ven,y hablemos de ASP.NET ...

======================


" bijoy" < b _ ***** @ yahoo.ca>在消息中写道

news:11 ********************** @ l41g2000cwc.googlegr oups.com ... Here''sa建议可以建造和/或可能出售的模块/类。我找到了几家建立和销售.NET
控件的公司。这里有一个想法给大家...

我注意到多个与时区转换相关的帖子。即在时区A中给出一个时间,通过计算DST来将时间转换为时区B.似乎没有一个干净的解决方案。

我知道有些类允许您转换为UTC和/或服务器时区。允许与任意时区进行转换的类将是一件好事。

为了简化它,只选择主要时区并限制日期范围 -
说下一个10年。

Bijoy
restrict the date range say the next 10 years.
Please explain the difference between a date today
and a date a year from now, in terms of timezones.


Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Espa?ol
Ven, y hablemos de ASP.NET...
======================

"bijoy" <b_*****@yahoo.ca> wrote in message
news:11**********************@l41g2000cwc.googlegr oups.com... Here''s a suggestion for a module/class that can be built and
potentially sold. I''ve found several companies that build and sell .NET
controls.. Here''s an idea for you folks..

I''ve noticed multiple posting related to timezone conversion. i.e given
a time in timezone A, convert the time to timezone B, by accounting for
DST. There doesn''t seem to be a clean solution for this.

I know there are classes that allow you to convert to and from UTC to
Server timezone. A class that allows conversions to and from arbitrary
timezones would be a nice to have.

To simplify it, pick only major timezones and restrict the date range -
say the next 10 years.

Bijoy



我是否感觉到讽刺?


无论如何,


收集所有时区的数据可能很困难。有些地区确实没有DST,其他地区也有。所以我建议班级处理所有时区的子集




DST的变化不会发生在每年的同一天。同样,可能很难收集这些更改日期。无限数量

年。

Do i sense sarcasm?

anyways,

It may be difficult to gather data for ALL timezones.. Some areas do
not have DST, others do. So I am suggesting the class handle a subset
of all timezones.

DST changes dont happen on the same day every year. Again, it may be
difficult to collect these "change dates" for an infinite number of
years.


这是一个相对简单的任务..你需要关于时区的所有信息

存储在Windows注册表中。


" bijoy" < b _ ***** @ yahoo.ca>在消息中写道

news:11 ********************** @ f14g2000cwb.googlegr oups.com ...
It''s a relatively simple task.. all the info you need about timezones is
stored in the windows registry.

"bijoy" <b_*****@yahoo.ca> wrote in message
news:11**********************@f14g2000cwb.googlegr oups.com...
我是否感觉讽刺?

无论如何,

收集所有时区的数据可能很困难。某些地区确实没有DST,别人这样做。所以我建议班级处理所有时区的子集。

DST的变化不会发生在每年的同一天。同样,收集这些更改日期可能很困难。为无数年的
年。
Do i sense sarcasm?

anyways,

It may be difficult to gather data for ALL timezones.. Some areas do
not have DST, others do. So I am suggesting the class handle a subset
of all timezones.

DST changes dont happen on the same day every year. Again, it may be
difficult to collect these "change dates" for an infinite number of
years.



这篇关于.NET组件开发人员 - 建议的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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