OutSystems Forge 日本語データベース

BusinessHoursUtils

※Forge全件データの日本語検索サービスをご利用になりたい場合は、こちらまでお問合せください。

Forge英文サイト

2017-10-24 1.0.0 Luísa Lourenço All .NET Libraries
営業時間に関連するユーティリティー機能を持つアプリケーション。
これは勤務時間に関連する機能を備えたユーティリティ拡張です。 提供される機能は次のとおりです。 bool isHoliday(DateTime InputDateTime) DateTimeを指定すると、それが休日であるかどうかを返します。 void setCountryCode(string CountryCode) 休日の一覧を取得するために使用される国コードを設定します。 bool isWorkingday(DateTime InputDateTime) DateTimeを指定すると、それが稼働日かどうかを返します。 void setWorkingDays(ブールの日曜日、ブールの月曜日、ブールの火曜日、ブールの水曜日、ブールの木曜日、ブールの金曜日、ブールの土曜日) 拡張機能が使用する作業日を設定します。真は平日が作業日であることを意味します。 デフォルトの就業日は月曜日から金曜日までです。 void setWorkingHours(int BeginWorkingHour、int EndWorkingHour) 拡張機能が使用する勤務時間を設定します。デフォルト値はそれぞれ9と18です。 この拡張は昼食時間を考慮しないことに注意してください。 int MssDiffWorkingHours(DateTime ssDateTime1、DateTime ssDateTime2) 勤務時間内の2つの日付の差を取得します。与えられた日付の間に何の前提もなく、どんな順序であってもよい。 ただし、昼食時間は勤務時間とみなされます。 サポートされている国コードと休日: ヨーロッパ アンドラ オーランド オーストリア ベラルーシ ベルギー ブルガリア クロアチア キプロス チェコ共和国 デンマーク エストニア フィンランド フランス ドイツ ギリシャ ハンガリー アイスランド アイルランド マン島 イタリア ジャージー ラトビア リヒテンシュタイン リトアニア ルクセンブルク マルタ モナコ オランダ ノルウェー ポーランド ポルトガル ルーマニア ロシア スロバキア スロベニア スペイン スウェーデン スイス トルコ(ムスリムに基づく休暇なし) ウクライナ イギリス アジア 中国 カザフスタン モンゴル ロシア トルコ(ムスリムに基づく休暇なし) 北米 バハマ カナダ コスタリカ キューバ グアテマラ ハイチ メキシコ パナマ プエルトリコ アメリカ 南アメリカ アルゼンチン ボリビア ブラジル チリ コロンビア エクアドル ガイアナ ホンジュラス パラグアイ ペルー スリナム ウルグアイ ベネズエラ 大西洋 グリーンランド アフリカ ボツワナ マダガスカル ナミビア 南アフリカ オーストラリアと太平洋 オーストラリア ニュージーランド

[Overview]
An application with utility functions related to business hours.
[Detail]
This is an utility extension with functions related to working hours. The provided functions are as follows: bool isHoliday(DateTime InputDateTime) Given a DateTime, returns whether it is an holiday. void setCountryCode(string CountryCode) Sets country code (used to retrieve the list of holidays). bool isWorkingday(DateTime InputDateTime) Given a DateTime, returns whether it is a working day. void setWorkingDays(bool Sunday, bool Monday, bool Tuesday, bool Wednesday, bool Thursday, bool Friday, bool Saturday) Sets the working days to be used by the extension. True means the weekday is a working day. Default working days are from Monday to Friday. void setWorkingHours(int BeginWorkingHour, int EndWorkingHour) Sets the working hours to be used by the extension. Default values are 9 and 18, respectively. Note that this extension does not take into account lunch hour. int MssDiffWorkingHours(DateTime ssDateTime1, DateTime ssDateTime2) Gets the difference between two dates in working hours. No assumption is made over the given dates, they may be in any order. Note, however, that lunch hour is counted as a working hour Supported country codes and holidays: Europe Andorra Åland Austria Belarus Belgium Bulgaria Croatia Cyprus Czech Republic Denmark Estonia Finland France Germany Greece Hungary Iceland Ireland Isle of Man Italy Jersey Latvia Liechtenstein Lithuania Luxembourg Malta Monaco Netherlands Norway Poland Portugal Romania Russia Slovakia Slovenia Spain Sweden Switzerland Turkey (without muslim based holidays) Ukraine United Kingdom Asia China Kazakhstan Mongolia Russia Turkey (without muslim based holidays) North America Bahamas Canada Costa Rica Cuba Guatemala Haiti Mexico Panama Puerto Rico United States South America Argentina Bolivia Brazil Chile Colombia Ecuador Guyana Honduras Paraguay Peru Suriname Uruguay Venezuela Atlantic Greenland Africa Botswana Madagascar Namibia South Africa Australia & Pacific Australia New Zealand
戻る