Close
Close window
IsEndOfMonth - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.
Maplesoft logo
Maplesoft logo

Online Help

All Products Maple MapleSim


[フレーム] [フレーム]

Finance

IsEndOfMonth

check if given date is an end of the month

Calling Sequence

IsEndOfMonth(date, calendar)

Parameters

date

-

a string containing a date specification in a format recognized by ParseDate or a Date data structure

calendar

-

a name representing a supported calendar (e.g. Toronto, NewYork) or a calendar data structure created using the Calendar constructor

Description

The IsEndOfMonth command returns true if the given date is an end of month in the given calendar.

The parameter date must be a date specified in any of the formats recognized by the ParseDate command.

The second (optional) parameter calendar must be either a name representing a supported calendar (e.g. Toronto, NewYork) or a calendar data structure created using the Calendar constructor.

Examples

>

withFinance:

>

IsEndOfMonthJanuary 31, 2006,Toronto

true

(1)
>

IsEndOfMonthJanuary 3, 2006,Null

false

(2)

Compatibility

The Finance[IsEndOfMonth] command was introduced in Maple 15.

For more information on Maple 15 changes, see Updates in Maple 15 .


Download Help Document

AltStyle によって変換されたページ (->オリジナル) /